User Guide    330
Configuring Spanning Tree MSTP Configurations
Step 6 show spanning-tree interface [ fastEthernet 
port
 | gigabitEthernet 
port
 | ten-
gigabitEthernet 
port
 | port-channel 
lagid
 ] [ edge | ext-cost | int-cost | mode | p2p | priority | 
role | state | status ]
(Optional) View the information of all ports or a specified port.
port: 
Specify the port number.
lagid: 
Specify the ID of the LAG.
ext-cost | int-cost | mode | p2p | priority | role | state | status: Display the specified information.
Step 7 end
Return to privileged EXEC mode. 
Step 8 copy running-config startup-config
Save the settings in the configuration file.
This example shows how to enable spanning tree function for port 1/0/3 and configure the 
port priority as 32 :
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/3
Switch(config-if)#spanning-tree
Switch(config-if)#spanning-tree common-config port-priority 32
Switch(config-if)#show spanning-tree interface gigabitEthernet 1/0/3
MST-Instance 0 (CIST)
Interface    State        Prio    Ext-Cost    Int-Cost    Edge     P2p             Mode     Role      Status
-----------   --------     ----      --------        --------      ----        ---------      -----       -------    --------
Gi1/0/3       Enable     32        Auto             Auto           No        No(auto)    N/A         N/A        LnkDwn
MST-Instance 5
Interface       Prio Cost        Role        Status
-----------     ------------      --------    --------- 
Gi1/0/3           144  200        N/A          LnkDwn
Switch(config-if)#end
Switch#copy running-config startup-config
Downloaded from ManualsNet.com search engine