![background image](http://html1.mh-extra.com/html/tp-link/tl-sl2210/tl-sl2210_reference-manual_1145774136.webp)
126
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:
TL-SL2428(config)# show spanning-tree
interface
Display the spanning-tree information of port 2:
TL-SL2428(config)# show spanning-tree
interface fastEthernet
1/0/2
Display the spanning-tree mode information of port 2:
TL-SL2428(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:
TL-SL2428(config)# show spanning-tree interface-security
Display the protect information of port 1:
TL-SL2428(config)#show spanning-tree interface-security fastEthernet
1/0/1