-659
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
spanning-tree portfast (interface)
• spanning-tree portfast edge—This command allows you to configure PortFast edge mode on the
given port.
• spanning-tree portfast network—This command allows you to configure PortFast network mode
on the given port.
• spanning-tree portfast [edge] trunk—This command allows you to configure PortFast on trunk
ports. The edge keyword is required with trunk in Cisco IOS Release 12.2(33)SXI and later
releases.
Note If you enter the spanning-tree portfast trunk command, the port is configured for PortFast
even in the access mode.
• no spanning-tree portfast—This command implicitly enables PortFast if you define the
spanning-tree portfast default command in global configuration mode and if the port is not a trunk
port. If you do not configure PortFast globally, the no spanning-tree portfast command is
equivalent to the spanning-tree portfast disable command.
Examples This example shows how to enable PortFast mode in releases earlier than Cisco IOS
Release 12.2(33)SXI:
Router(config-if)# spanning-tree portfast
Router(config-if)#
This example shows how to enable PortFast edge mode in Cisco IOS Release 12.2(33)SXI and later
releases:
Router(config-if)# spanning-tree portfast edge
Router(config-if)#
Related Commands Command Description
show spanning-tree Displays information about the spanning-tree state.
spanning-tree portfast default Enables PortFast by default on all access ports.
Comments to this Manuals