Rapid Spanning Tree Protocol (RSTP) | 527
spanning-tree rstp
Configure an RSTP interface with one of these settings: port cost, edge port with optional Bridge Port
Data Unit (BPDU) guard, port priority, loop guard, or root guard.
Syntax
spanning-tree rstp {cost port-cost | edge-port [bpduguard [shutdown-on-violation] | bpdufilter] |
priority priority | {rootguard}}
Parameters
Defaults
Not configured
Command Modes
INTERFACE
Command
History
Note: Loop guard is not supported in the show spanning-tree rstp guard command.
cost port-cost Enter the keyword cost followed by the port cost value.
Range: 1 to 200000
Defaults:
10-Gigabit Ethernet interface = 2000
40-Gigabit Ethernet interface = 1400
Port Channel interface with one 10-Gigabit Ethernet = 2000
Port Channel interface with one 40-Gigabit Ethernet = 1400
Port Channel with two 10-Gigabit Ethernet = 1800
Port Channel with two 40-Gigabit Ethernet = 600
edge-port
Enter the keyword edge-port to configure the interface as a Rapid Spanning Tree
edge port.
bpduguard
(OPTIONAL) Enter the keyword portfast to enable Portfast to move the interface
into forwarding mode immediately after the root fails.
Enter the keyword bpduguard to disable the port when it receives a BPDU.
shutdown-on-vi
olation
(OPTIONAL) Enter the keyword shutdown-on-violation to hardware disable an
interface when a BPDU is received and the port is disabled.
bpdufilter
(OPTIONAL) Enter the keyword bpdufilter to enable BPDU Filter to stop sending
and receiving BPDUs on port enabled interfaces.
priority priority
Enter keyword priority followed by a value in increments of 16 as the priority.
Range: 0 to 240
Default: 128
rootguard
Enter the keyword rootguard to enable root guard on an RSTP port or port-channel
interface.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module