ECS2020 Series CLI Reference Guide R04

91
Port configuration mode
In the port configuration mode it sets the bridge priority of the port.
Set the priority of GigabitEthernet0/1 to 112:
ECS2020-10P(config-if-GigabitEthernet0/1)# spanning-tree port-priority 112
spanning-tree bpdu [filtering|flooding]
BPDU packets are filtered or flooded when STP is disabled on ports.
spanning-tree bpdu [filtering |flooding]
BPDU flooding
Global configuration mode
In global mode, it configures the way BPDU messages are handled.
When spanning tree is disabled, set the BPDU packet to filtering:
ECS2020-10P(config)# spanning-tree bpdu filtering
spanning-tree trap
Sets the Spanning tree trap information.
spanning-tree trap [new-root| toplogy-change]
Command
Command
Description
show spanning-tree interface gigabitEthernet
0/1
Display the spanning tree status and
configuration of
GigabitEthernet0/1.
Parameter
Parameter
Description
filtering
BPDU packets are filtered when STP is disabled
on all ports.
flooding
BPDU packets are flooded to all ports with STP
disabled
and in flooding mode.
Command
Command
Description
show spanning-tree
Display the spanning tree status and
configuration information
Mode
Usage
Example
Default
Mode
Usage
Example