29.24  show spanning-tree interface 
Description 
The  show spanning-tree interface  command is used to display the 
spanning-tree information of all ports or a specified port. 
Syntax 
show spanning-tree interface [  gigabitEthernet 
port
  ]  [ edge | ext-cost | 
int-cost | mode | p2p | priority | role | state | status ] 
Parameter 
port 
—— The Ethernet port number. 
Command Mode 
Privileged EXEC Mode and Any Configuration Mode 
Privilege Requirement 
None. 
Example 
Display the spanning-tree information of all ports: 
T2500G-10TS(config)# show spanning-tree interface 
Display the spanning-tree information of port 1/0/2: 
T2500G-10TS(config)# show spanning-tree interface gigabitEthernet 
1/0/2 
Display the spanning-tree mode information of port 1/0/2: 
T2500G-10TS(config)# show spanning-tree interface gigabitEthernet 
1/0/2 mode 
29.25  show spanning-tree interface-security 
Description 
The show spanning-tree interface-security command is used to display the 
protect information of all ports or a specified port. 
Syntax 
show spanning-tree interface-security [ gigabitEthernet 
port 
] [ bpdufilter | 
bpduguard | loop | root | tc | tc-defend ] 
241