lab 1 2 optimizing stp command list
TRANSCRIPT
-
7/23/2019 Lab 1 2 Optimizing STP Command List
1/1
Command List
The table describes the commands that are used in this activity. The commands are listed in
alphabetical order so that you can easily locate the information that you need. Refer to this list if
you need configuration command assistance during the lab activity.
Command Description
configure terminal Enters configuration mode.
[no] debug spanning-tree events Enables or disables STP event debugging.
interfaceinterface Enters interface configuration mode.
show interfacesinterface Displays the interface status and statistics.
show spanning-tree summary Displays the STP summary of port states and STP
operation information.
show spanning-tree vlanvlan Displays spanning-tree information for the specified
VL!.
show spanning-tree
vlanvlanbridge detail
Displays detailed spanning-tree status and configuration
of this bridge.
show spanning-tree
vlanvlanroot detail
Displays detailed spanning-tree status and configurationof the root bridge.
show vlan Displays VL! status.
[no] shutdown Enables or disables interface.
[no] spanning-tree bpduguard
enable
Enables or disables the STP "PD# guard feature on the
port.
spanning-tree portfast Enables the STP Port$ast feature on the port.
spanning-tree vlanvlanrootprimary
$roces this s%itch to be the root bridge for specified
VL!.
switchport mode trunk Statically configures an interface for trun&ing.
switchport trunk allowedvlanvlan_list
Specifies VL!s that are allo%ed over the trun& lin&.
switchport trunk encapsulation
dot1q
Specifies dot'( as a trun&ing encapsulation on the
interface.