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-80
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
spanning-tree port type edge default
spanning-tree port type edge default
To configure all access ports that are connected to hosts as edge ports by default, use the spanning-tree
port type edge default command. To restore all ports connected to hosts as normal spanning tree ports
by default, use the no form of this command.
spanning-tree port type edge default
no spanning-tree port type edge default
Syntax Description This command has no arguments or keywords.
Command Default Disabled.
Command Modes Configuration mode
Command History
Usage Guidelines Use this command to automatically configure all interfaces as spanning tree edge ports by default. This
command will not work on trunk ports.
Caution Be careful when using this command. 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 a linkup occurs, an interface configured as an edge port automatically moves the interface directly
to the spanning tree forwarding state without waiting for the standard forward-time delay. (This
transition was previously configured as the Cisco-proprietary PortFast feature.)
When you use this command, the system returns a message similar to the following:
Warning: this command enables portfast by default on all interfaces. You
should now disable portfast explicitly on switched ports leading to hubs,
switches and bridges as they may create temporary bridging loops.
You can configure individual interfaces as edge ports using the spanning-tree port type edge command.
The default spanning tree port type is normal.
Examples This example shows how to globally configure all ports connected to hosts as spanning tree edge ports:
switch(config)# spanning-tree port type edge default
Release Modification
4.0(0)N1(1a) This command was introduced.