CLI Reference Guide
Command Groups 25
Port Channel Commands
Spanning Tree Commands
Command Description Mode*
channel-group Associates a port with a port-channel. IC
interface port-channel Enters the interface configuration mode of a specific
port-channel.
GC
interface range port-channel Enters the interface configuration mode to configure
multiple port-channels.
GC
hashing-mode Sets the hashing algorithm on trunk ports. IC (port-
channel)
no hashing-mode Sets the hashing algorithm on trunk ports to default (3). IC (port-
channel)
show interfaces port-channel Displays port-channel information. PE
show statistics port-channel Displays port-channel statistics. PE
*NOTE: For the meaning of each Mode abbreviation, see Mode Types on page 4.
Command Description Mode*
abort (mst) Exits the MST configuration mode without applying
configuration changes.
MC
clear spanning-tree detected-
protocols
Restarts the protocol migration process on all interfaces or
on the specified interface.
PE
exit (mst) Exits the MST configuration mode and applies
configuration changes.
MC
instance (mst) Maps VLANs to an MST instance. MC
name (mst) Defines the MST configuration name. MC
revision (mst) Defines the configuration revision number. MC
show (mst) Displays the current or pending MST region configuration MC
show spanning-tree Displays spanning tree configuration. PE
spanning tree
Enables spanning-tree functionality.
GC
spanning-tree bpdu Defines the bridge protocol data unit (BPDU) handling
when spanning tree is disabled on an interface.
GC
spanning-tree bpdu-protection Enables BPDU protection on a switch. GC
spanning-tree cost Configures the spanning tree path cost for a port. IC










