TP-Link T1500-28PCT Switch User Manual


 
147
Syntax
show spanning-tree interface [ fastEthernet port | 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
Example
Display the spanning-tree information of all ports:
T1500-28PCT(config)# show spanning-tree interface
Display the spanning-tree information of port 2:
T1500-28PCT(config)# show spanning-tree interface fastEthernet 1/0/2
Display the spanning-tree mode information of port 2:
T1500-28PCT(config)# show spanning-tree interface fastEthernet 1/0/2
mode
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 [ fastEthernet port | gigabitEthernet
port ] [ bpdufilter | bpduguard | loop | root | tc | tc-defend ]
Parameter
port —— The Ethernet port number.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Example
Display the protect information of all ports:
T1500-28PCT(config)# show spanning-tree interface-security