
Field
Description
Instance
STP 0 instance.
Sts
Port state: root-inconsistent (INCON Root), forwarding
(FWD), listening (LIS), blocking (BLK), or shut down (EDS
Shut).
Guard Type
Type of STP guard configured (Root, Loop, or BPDU guard).
Bpdu Filter
BPDU Filter enabled - Yes, BPDU Filter disabled - No
Example
(Guard)
Dell#show spanning-tree 0 guard
Interface
Name Instance Sts Guard type
--------- -------- --------- ----------
Gi 0/1 0 INCON(Root) Rootguard
Gi 0/2 0 LIS Loopguard
Gi 0/3 0 EDS (Shut) Bpduguard
spanning-tree 0
Assigns a Layer 2 interface to STP instance 0 and configures a port cost or port priority, or enables loop
guard, root guard, or the Portfast feature on the interface.
Syntax
spanning-tree
stp-id
{cost
cost
| {rootguard} | portfast
[bpduguard [shutdown-on-violation]| bpdufilter] | priority
priority
}
To disable Spanning Tree group on an interface, use the
no spanning-tree
stp-id
{cost
cost
| {rootguard} | portfast [bpduguard
[shutdown-on-violation] | bpdufilter] | priority
priority
}
command.
Parameters
stp-id
Enter the STP instance ID. The range is 0.
cost
cost
Enter the keyword
cost
then a number as the cost. The
range is 1 to 65535. The defaults are:
• 40-Gigabit Ethernet interface =
1
.
• 10-Gigabit Ethernet interface =
2
.
• Port Channel interface with 40-Gigabit Ethernet =
1
.
• Port Channel interface with 10-Gigabit Ethernet =
1
.
rootguard
Enter the keyword
rootguard
to enable STP root guard on
a port or port-channel interface.
1278
Spanning Tree Protocol (STP)