CISCO Configurations

Just a few commandos to remind:

Command Description
sh run
Show running Config
sh switch
Shows availability of cluster nodes
sh conf
Shows config (which is loaded when booting)
sh mac address-table inter gi 1/0/20
Find out Mac Adress
sh interfaces status
Shows ports stats
sh arp
Address Routing Table (MAC/IP/VLAN/Age)
wr
writes running config
Reset port to default
conf t
Konfigurationsmodus
default interface gi/1/0/42
Port zurück auf Default
default switchport access vlan
Activate port (shut/noshut)
conf t
Config-Mode
interface gi/1/0/42
Choose port
no shutdown
Activate port
exit
Exit conf mode
sh interface status gi/1/0/42
Shows Port info
Config a port basic
conf t
Config-Mode
interface gi/1/0/42
Choose Interface
description *****SEPPL*****
Set Description
exit
Exit conf mode
sh run int gi/1/0/42
Shows Port info
Config a port
conf t
Config-Mode
interface GigabitEthernet1/0/28
Choose Interface
description AT-KL-PROD-AP07
Set Description
switchport trunk native vlan 200
For trunk set native VLAN
switchport trunk allowed vlan 60,90,200
For trunk set additional VLANs
switchport mode trunk
Set TRUNK active
switchport nonegotiate
For a faster (UP)Link
switchport voice vlan 70
Set vlan 70
logging event trunk-status
Logging for TRUNK
spanning-tree portfast
SPANNING TREE Protocoll portfast
Copy running-config startup-config
Copy running config to startup config (wr?)

 

Examples:

VLAN 20 + 70
interface GigabitEthernet1/0/1

description ***20 VLAN***

switchport access vlan 20

switchport mode access

switchport nonegotiate

switchport voice vlan 70

mls qos trust dscp

spanning-tree portfast
Trunked
interface GigabitEthernet1/0/28

description TRUNKY TRUNKY

switchport trunk native vlan 200

switchport trunk allowed vlan 60,90,200

switchport mode trunk

switchport nonegotiate

switchport voice vlan 70

logging event trunk-status

spanning-tree portfast
ESX – Server
interface GigabitEthernet2/0/23

description ESX-Server

switchport trunk encapsulation dot1q

switchport trunk native vlan 1999

switchport trunk allowed vlan 1,10,12,200

switchport mode trunk

switchport nonegotiate

logging event trunk-status

mls qos trust dscp

spanning-tree portfast trunk
0

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.