Reference Guide

Table Of Contents
Supported
Releases
10.2.0E or later
spanning-tree mode
Enables an STP type (RSTP, Rapid-PVST+, or MST).
Syntax
spanning-tree mode {rstp | mst | rapid-pvst}
Parameters
rstp Sets the STP mode to RSTP.
mst Sets the STP mode to MST.
rapid-pvst Sets the STP mode to RPVST+.
Default RPVST+
Command Mode CONFIGURATION
Usage
Information
All STP instances are stopped in the previous STP mode, and are restarted in the new mode. You can also
change to RSTP/MST mode.
Example (RSTP)
OS10(config)# spanning-tree mode rstp
Example (MST)
OS10(config)# spanning-tree mode mst
Supported
Releases
10.2.0E or later
spanning-tree port
Sets the port type as the EdgePort.
Syntax
spanning-tree port type edge
Parameters None
Default Not configured
Command Mode INTERFACE
Usage
Information
When you configure an EdgePort on a device running STP, the port immediately transitions to Forwarding
state. Only configured ports connected to end hosts act as EdgePorts.
Example
OS10(config)# spanning-tree port type edge
Supported
Releases
10.2.0E or later
spanning-tree vlan cost
Sets the path cost of the interface per VLAN for PVST calculations.
Syntax
spanning-tree vlan vlan-id cost {value}
Parameters value Enter a port cost value to set the path cost of the interface for PVST calculations (1 to
200000000).
Defaults
100- Mb/s Ethernet interface = 200000
1 Gigabit Ethernet interface = 20000
10-Gigabit Ethernet interface = 2000
Portchannel interface with one 100 Mb/s Ethernet = 200000
Port-channel interface with one 1 Gigabit Ethernet = 20000
220 Layer 2