Switch
Switch
Configure commands: banner boot cdp clock do enable end exit hostname interface ip line Define a login banner Boot Commands Global CDP configuration subcommands Configure time-of-day clock To run exec commands in config mode Modify enable password parameters Exit from configure mode Exit from configure mode Set system's network name Select an interface to configure Global IP configuration subcommands Configure a terminal line
mac-address-table Configure the MAC address table no Negate a command or set its defaults EtherChannel configuration Modify use of network based services Spanning Tree Subsystem Establish User Name Authentication Vlan commands Configure global VTP state
port-channel service
Switch(config)#int fa0/1
Switch(config-if)#switchport ? access mode native Set access mode characteristics of the interface Set trunking mode of the interface Set trunking native characteristics when interface is in trunking mode
nonegotiate Device will not engage in negotiation protocol on this interface port-security Security related command trunk voice Set trunking characteristics of the interface Voice appliance attributes
Switch(config-if)#switchport mode ?
access Set trunking mode to ACCESS unconditionally dynamic Set trunking mode to dynamically negotiate access or trunk mode trunk Set trunking mode to TRUNK unconditionally
Switch(config-if)#switchport mode ?
access Set trunking mode to ACCESS unconditionally dynamic Set trunking mode to dynamically negotiate access or trunk mode trunk Set trunking mode to TRUNK unconditionally
Switch(config-if)#?
cdp Global CDP configuration subcommands Etherchannel/port bundling configuration
channel-group
channel-protocol Select the channel protocol (LACP, PAgP) description duplex exit Interface specific description Configure duplex operation. Exit from interface configuration mode Manually set interface MAC address
Negate a command or set its defaults Shutdown the selected interface Spanning Tree Subsystem
switchport
Switch(config-if)#cdp ?
enable Enable CDP on interface
Switch(config-if)#spanning-tree ?
guard Change an interface's spanning tree guard mode
link-type Specify a link type for spanning tree protocol use portfast Enable an interface to move directly to forwarding on link up vlan VLAN Switch Spanning Tree
Switch#?
Exec commands: <1-99> clear clock Session number to resume Reset functions Manage the system clock
configure Enter configuration mode connect copy debug delete dir disable Open a terminal connection Copy from one file to another Debugging functions (see also 'undebug') Delete a file List files on a filesystem Turn off privileged commands
disconnect Disconnect an existing network connection enable erase exit logout Turn on privileged commands Erase a filesystem Exit from the EXEC Exit from the EXEC
Display the contents of a file Disable debugging informations Send echo messages Halt and perform a cold restart Resume an active network connection Run the SETUP command facility Show running system information Open a telnet connection
terminal Set terminal line parameters traceroute Trace route to destination undebug vlan write Disable debugging functions (see also 'debug')