Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
2-74
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
spanning-tree port type edge
spanning-tree port type edge
To configure an interface connected to a host as an edge port, which automatically transitions the port
to the spanning tree forwarding state without passing through the blocking or learning states, use the
spanning-tree port type edge command. To return the port to a normal spanning tree port, use the
spanning-tree port type normal command or the no spanning-tree port type command.
spanning-tree port type edge [trunk]
spanning-tree port type normal
no spanning-tree port type
Syntax Description
Command Default The default is the global setting for the default port type edge that is configured when you entered the
spanning-tree port type edge default command. If you did not configure a global setting, the default
spanning tree port type is normal.
Command Modes Interface configuration mode
Command History
Usage Guidelines You can also use this command to configure a port in trunk mode as a spanning tree edge port.
Caution You should use this command only with interfaces that connect to end stations; otherwise, an accidental
topology loop could cause a data-packet loop and disrupt the switch and network operation.
When linkup occurs, spanning tree edge ports are moved directly to the spanning tree forwarding state
without waiting for the standard forward-time delay.
Note This is the same functionality that was previously provided by the Cisco-proprietary PortFast feature.
When you use this command, the system returns a message similar to the following:
Warning: portfast should only be enabled on ports connected to a single
host. Connecting hubs, concentrators, switches, bridges, etc... to this
interface when portfast is enabled, can cause temporary bridging loops.
Use with CAUTION
trunk (Optional) Configures the trunk port as a spanning tree edge port.
Release Modification
4.0(0)N1(1a) This command was introduced.