Configuring STP Extensions Using Cisco NX-OS
• Ensure that you are configuring the ports correctly to the device to which the port is connected.
SUMMARY STEPS
1. switch# config t
2. switch(config)# interface type slot/port
3. switch(config-if)# spanning-tree port type edge
4. switch(config-if)# exit
5. (Optional) switch# show spanning-tree interface type slot/port
6. (Optional) switch# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# config t
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# spanning-tree port type
edge
Step 4
switch(config-if)# exit
Step 5
switch# show spanning-tree interface type
slot/port
Step 6
switch# copy running-config startup-config
This example shows how to configure the Ethernet access interface 1/4 to be a spanning tree edge port:
switch# config t
switch(config)# interface ethernet 1/4
switch(config-if)# spanning-tree port type edge
switch(config-if)# exit
switch(config)#
Configuring Spanning Tree Network Ports on Specified Interfaces
You can configure spanning tree network ports on specified interfaces.
Bridge Assurance runs only on spanning tree network ports.
This command has three states:
Configuring Spanning Tree Network Ports on Specified Interfaces
Purpose
Enters global configuration mode.
Specifies the interface to configure and enters interface configuration
mode.
Configures the specified access interfaces to be spanning edge ports.
Edge ports immediately transition to the forwarding state without
passing through the blocking or learning state at linkup. By default,
spanning tree ports are normal port types.
Exits interface configuration mode.
(Optional)
Displays the STP configuration including the STP port type if
configured.
(Optional)
Copies the running configuration to the startup configuration.
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
189