| Command | Description | ||||
| configure terminal | Enters the global configuration mode | ||||
| copy running-config bootflash: | Copies the running-configuration to bootflash | ||||
| copy running-config startup-config | Copies the running-configuration to startup-config(i.e. saves the configuration to NVRAM) | ||||
| copy running-config tftp: | Copies the running-configuration to TFTP server | ||||
| copy tftp bootflash: | Initiates a macro to copy a software image from from a TFTP server to bootflash | ||||
| copy tftp disk0: | Initiates a macro to copy a software image from from a TFTP server to an ATA disk in disk0 | ||||
| copy tftp slot0: | Initiates a macro to copy a software image from from a TFTP server to the PCMCIA card in slot0 | ||||
| delete flash-device:filename | Deletes an image on the device | ||||
| format flash-device:filename | Formats a device for use on the current system;all data on the device is deleted during format | ||||
| (config-if)#ip address ipaddr subnet-mask | Configures the ip address and subnet mask of an interface | ||||
| (config-if)#ip default-gateway ip-address | Configures a Layer 2 -only switch or Layer 3 switch with IP routing disabled for a default gateway | ||||
| no debug all | Immediately disables all enabled debugs | ||||
| show arp | Displays the ARP table contents | ||||
| show hardware | Displays hardware information (similar to the show version command) | ||||
| show interface | Displays all interfaces with statistics | ||||
| show ip interface brief | Displays, in brief output, all interfaces on the system with an IP address and state | ||||
| show ip route | Displays the IP routing table | ||||
| show running-config | Displays the running-configuration | ||||
| show version | Displays the software version, uptime and so on | ||||
| squeeze flash-device:filename | Removes deleted files on the device and recovers file system space | ||||
| (config-if)#[no] shutdown | Administratively shuts down an interface | ||||
| (config-if)#[no] switchport | Configures an interface as a Layer2 interface | ||||
| terminal monitor | Configures the virtual terminal to monitor system messages | ||||
| archive download-sw /overwrite source-url | Automates software upgrade procedure on Catalyst 2950 and 3550 family of switches | ||||
| boot system filesystem:filename | Configures the system boot image | ||||
| clock set hh:mm:ss month day year | Configures the clock date and time | ||||
| clock summer-time zone recurring [week day month hh:mm week day month hh:mm [offset]] | Configures recurring time adjustments, such as daylight savings time | ||||
| clock timezone zone hours-offset | Configures the time zone in offset from UTC | ||||
| dir flash: | Displays the contents of the flash | ||||
| enable | Enters the privilige mode | ||||
| end | Configuration EXEC command to end the configuration mode | ||||
| exit | Ends the current configuration mode leaf | ||||
| hostname | Configures switch with a descriptive name | ||||
| interface Fastethernet | GigabitEthernet interface | Enters the interface configuration mode | ||||
| interface vlan vlan-id | Enters the VLAN configuration interface mode | ||||
| ip domain-lookup | Enables domain name lookup via DNS | ||||
| ip domain-name domain-name | Configures the Internet domain suffix for the switch name | ||||
| ip name-server ip-address | Configures the domain name servers(DNS) | ||||
| logging ip-addr | Configures the system that is logging the server destination IP address | ||||
| ntp-server ip-addr | Configures the NTP server address | ||||
| no shutdown | Configures the interface in the administrative UP state | ||||
| ping ip-addr | sends ICMP echoes to a specific destination | ||||
| reload | soft reboots the switch | ||||
| show logging | Displays the syslog messages on a switch | ||||
| show processes cpu | Displays the processor utilization information | ||||
| show clock | Displays the current time and date | ||||
| show ntp associations | Displays NTP associations | ||||
| switchport access vlan vlan-id | Configures an interface for a specific VLAN ID | ||||
| transport input | Configures the virtual terminal for allowable protocols | ||||
| vlan vlan-id | Adds or removes a VLAN ID in the VLAN database | ||||
| write erase | Erases the startup-config | ||||
| show vlan | Displays detailed information of all the VLANs configured on the switch | ||||
| show vlan brief | Displays brief information about the VLANs on the switch.This command describes the VLAN names, their status, and the ports assigned to the VLANs. | ||||
| show vtp status | Provides information about aparticular VLAN by VLAN-ID | ||||
| show vlan vlan-id | Displays information about a particular VLAN by VLAN-ID | ||||
| show vlan summary | Displays a summary of active, suspended and extended VLAN's.This command is only available on Cisco CatOS | ||||
| show interface type slot/port switchport | Displays administrative and operational status of a switching interface, which includes VLAN information,pVLAN status, etc. | ||||
| show interface type slot/port trunkport | Displays a trunk information of an interface | ||||
| (config-if)#description description | Configures an interface with a description.This option is useful for quickly identifying interfaces. | ||||
| (config-if)#switchport host | This command enables Spanning-Tree Portfast and turns off channelling on an interface.This command prevents timeouts on boot for host workstations and servers. | ||||
| (config)#interface type slot/port | Configures and interface | ||||
| (config-if)#switchport mode access | Configures an interface with nontrunking single VLAN interface | ||||
| (config-if)#switchport access vlan vlan-id | Configures an interface to a VLAN-ID | ||||
| (config-if)#switchport mode trunk | Configures an interface for trunking unconditionally | ||||
| (config-if)#switchport trunk encapsulation [dot1q | isl | negotiate] | Configures the trunking protocol on an a trunk interface | ||||
| (config-if)#switchport trunk allowed vlan options | Configures VLANs allowed to pass traffic on a trunk interface | ||||
| (config-if)#switchport trunk native vlan vlan-id | Configures the native VLAN on a trunk interface | ||||
| (config)#interface range Fast Ethernet | Gigabit Ethernet slot/starting _port - ending_port | Moves a range of interfaces into the interface configuaration mode for applying the same configuration to the range of interfaces | ||||
| name vlan-name | Specifies a name for a VLAN in either the VLAN database or VLAN configuration mode | ||||
| no interface vlan vlan-id type | Disables a VLAN interface | ||||
| private-vlan [primary | isolated | community ] | Configures a VLAN as a pVLAN type | ||||
| private-vlan association {secondary_vlan_list | add secondary_vlan_list remove secondary_vlan_list} | Associates a secondary pVLAN to a primary pVLAN | ||||
| private-vlan-mapping {secondary_vlan_list | add secondary_vlan_list | remove secondary_vlan_list} | Maps the secondary pVLAN to the Layer 3 primary VLAN interface for routing | ||||
| show vlan private-vlan | Displays the pVLAN configuration | ||||
| switchport mode private-vlan {host | promiscous} | Configures an interface as a pVLAN host port or a promiscous port | ||||
| switchport nonegotiate | Turns off DTP negotiation | ||||
| switchport private-vlan host-association primary_vlan_ID secondary _vlan_ID | Associates a Layer 2 interface with a pVLAN | ||||
| switchport trunk allowed vlan [remove] vlan-list | Configures a list of VLANs allowed on the trunk | ||||
| telnet ip-address | Starts a terminal-emulation program that permits you to access network devices remotely over the network | ||||
| vlan database | Enters VLAN configuration configuration mode | ||||
| vtp domain domain-name | Sets the VTP domain name in either the VLAN database or configuration mode | ||||
| vtp mode {client | server | transperent } | Sets the VTP mode | ||||
| show spanning-tree | Displays STP information for all VLANs configured on a switch | ||||
| show spanning-tree active | Displays STP information regarding active interfaces for all VLANs | ||||
| show spanning-tree interface interface-id | Displays STP information regarding the specified interface | ||||
| show spanning-tree statistics mod/port vlan-id | Displays STP statistical information for the specified port and specified VLAN on catalyst switches running Cisco CatOS | ||||
| show spanning-tree summary | Displays STP summary information for each VLAN configured on a switch | ||||
| show spanning-tree summary totals | Displays STP summary information for all VLANs configured on a switch | ||||
| show spanning-tree detail | Displays detailed STP information for all VLANs configured on a switch | ||||
| show spanning-tree vlan vlan-id bridge | Displays STP bridge information for a specified VLAN | ||||
| show spanning-tree root | Displays the STP root information for all VLANs configured on a switch | ||||
| show spanning-tree vlan vlan-id | Displays STP information for a specific VLAN | ||||
| (config)#spanning-tree vlan vlan-id root primary | Configures the switch as the root of the specified VLAN by automatically lowering its priority to a value lower than the current root | ||||
| (config)#spanning-tree vlan vlan-id priority value | Configures the bridge priority for the specified VLAN | ||||
| show spanning-tree vlan vlan-id detail | Displays detailed STP information for a specific VLAN | ||||
| (config)#spanning-tree vlan vlan-id cost cost | Configures spanning tree port cost for a VLAN | ||||
| show running-config interface interface-id | Displays running config of a specific interface | ||||
| show spanning-tree backbonefast | Displays STP BackboneFast status and statistics | ||||
| show spanning-tree interface interface-id portfast | Displays STP Portfast status for the specified interface | ||||
| show spanning-tree uplinkfast | Displays STP uplinkfast status and details | ||||
| spanning-tree backbonefast | Configures STP BackboneFast on the switch | ||||
| spanning-tree guard root | Configures STP Root Guard on an interface | ||||
| spanning-tree uplinkfast | Configures STP UplinkFast on a switch | ||||
| show catalyst6000 traffic-meter | Displays backplane utilization on a catalyst 6500 switch | ||||
| show interface interface-id counters errors | Displays error counters for the specific interface | ||||
| show udld interface-id | Displays UDLD status and neighbour information for an interface | ||||
| (config)#errdisable detect cause [all | arp-inspection | dhcp-rate-limit | dtp-flap | gbic-invalid | l2ptguard | link-flap | pagp-flap ] | Configures error-disable feature detection causes | ||||
| (config-if)#channel-group group-number mode {active |auto | desirable | on | passive } | Configures the interface to be part of a EtherChannel group in the specified mode of operation | ||||
| (config-if)#udld port aggressive | Configures agessive mode UDLD on the interface regardless of global default | ||||
| errdisable recovery cause { all | arp-inspection | bpduguard | channel-misconfig | dhcp-rate-limit | dtp-flap | gbic-invalid | l2ptgaurd | link-flap | pagp-flap | pesecure-vioalation | security-violation | storm-control | udld | unicastflood | vmps } | Configures error-disable feature recovery causes | ||||
| show cdp neighbour | Displays information about neighbouring devices discovered via CDP | ||||
| show cdp neighbour detail | Displays detailed information about neighbouring devices discovered via CDP | ||||
| show etherchannel summary | Displays a one-line summary for each EtherChannel group | ||||
| show interfaces port-channel { port-channel-interface-number } | Displays the status and ststistics information regarding the specified EtherChannel interface | ||||