T2600G-28TS(config)# show spanning-tree interface
Display the spanning-tree information of port 1/0/2:
T2600G-28TS(config)# show spanning-tree interface gigabitEthernet 1/0/2
Display the spanning-tree mode information of port 1/0/2:
T2600G-28TS(config)# show spanning-tree interface gigabitEthernet 1/0/2
mode
show spanning-tree interface-security
34.26
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 | port-channel
port-channel-id ] [ bpdufilter | bpduguard | loop | root | tc | tc-defend ]
Parameter
port —— The Ethernet port number.
port-channel-id —— The ID of the port channel.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Privilege Requirement
None.
Example
Display the protect information of all ports:
T2600G-28TS(config)# show spanning-tree interface-security
Display the protect information of port 1:
T2600G-28TS(config)# show spanning-tree interface-security
gigabitEthernet 1/0/1
Display the interface security bpdufilter information:
T2600G-28TS(config)# show spanning-tree interface-security bpdufilter
278