Reference Guide
Te 0/2 0 FWD Loopguard
Te 0/3 0 BLK Bpduguard
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.
C9000 Series
Syntax
spanning-tree rstp {cost port-cost | edge-port [bpduguard
[shutdown-on-violation]] | priority priority | {loopguard |
rootguard}}
Parameters
cost port-cost Enter the keyword cost then the port cost value. The range
is from 1 to 200000. The defaults are:
• 10-Gigabit Ethernet interface = 2000
• Port Channel interface with one 10-Gigabit Ethernet =
2000
• Port Channel with two 10 Gigabit Ethernet = 1800
edge-port Enter the keywords 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-
violation
(OPTIONAL) Enter the keywords shutdown-on-violation
to hardware disable an interface when a BPDU is received
and the port is disabled.
priority priority Enter keyword priority then a value in increments of 16
as the priority. The range is from 0 to 240. The default is
128.
loopguard Enter the keyword loopguard to enable loop guard on an
RSTP port or port-channel interface.
rootguard Enter the keyword rootguard to enable root guard on an
RSTP port or port-channel interface.
Defaults Not configured.
Command Modes INTERFACE
1746
Rapid Spanning Tree Protocol (RSTP)