CCNA
CCNA
The sticky keyword is used to let the interface dynamically learns and configures the MAC addresses of the
currently connected hosts.
Configuring VLANs:
SW1(config)# vlan 10
SW1(config-vlan)# name SALES
• Assign an access interface to access a specific VLAN:
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
SW1(config-if)# shutdown
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:
• Lists VTP configuration (mode, domain-name, version, etc) and revision number:
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
• Shows detailed information about the neighboring cisco devices including device address and version of
IOS they run: