Those Dog on Cisco Commands_Sheet 2
Those Dog on Cisco Commands_Sheet 2
The sticky keyword is used to let the interface dynamically learns and configures the MAC addresses of the currently connected hosts.
Configuring VLANs:
Configuring Trunks:
SW1(config)# interface fastEthernet 0/1
SW1(config-if)# switchport mode trunk ! options: access, trunk, dynamic auto, dynamic
desirable
SW1(config-if)# switchport trunk allowed vlan add 10 ! options: add, remove, all,
except
Configuring VTP:
The transparent VTP mode is used when an engineer wants to deactivate VTP on a particular switch
Lists all the trunk ports on a switch including the trunk allowed VLANs:
SW1# show interfaces trunk
Lists VTP configuration (mode, domain-name, version, etc) and revision number:
4
STP optimization:
Portfast and BPDU guard are enabled only on interfaces connected to end user hosts
Shows information about the directly connected cisco devices including interfaces names capabilities:
SW1# show cdp neighbors
6
Shows detailed information about the neighboring cisco devices including device address and version of IOS they run:
SW1# show cdp neighbors detail
! OR
SW1# show cdp entry *