banner motd Message of the day banner configure terminal Enters Global configuration mode copy running-config startup-config Saves the running-config to NVRAM enable Enters privileged EXEC mode enable secret password Sets and enable secret password erase startup-config Erases startup config from memory hostname Assigns device hostname interface interface Specifies and interface and enter interface config mode ip address address mask Sets ip address and subnet mask ip defaut-gateway address Sets the ip address for the default gateway line console 0 Enters line console config mode line vty 0 4 Enters vty config mode login Sets password checking at login password password Sets password on line console and vty ping ip address Sends icmp packets to remote host reload Reboots the device show cpd neighbors Displays CPD updates from each local interface show interface Show information on all devices interfaces show running-configuration Displays active configuration show startup-configuration Displays configuration setting in nvram shutdown/no shutdown Disable and enable interface
Switch Network Notes
VTP configuration
config t vtp mode [ server | client | transparent] vtp domain domain-name vtp password password vtp pruning
show vtp status
Switch#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 1005 Number of existing VLANs : 5 VTP Operating Mode : Server VTP Domain Name : VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 Local updater ID is 0.0.0.0 (no valid interface found)
trunk 802.1q convert the link to trunk mode access disable trunk connected device to convert the link to nontrunk dynamic desirable triggers the port to negotiate the link from nontrunk to trunk mode dynamic auto enables a port to become a trunk onlyu if the connecter has the stat set to trunk or desirable