Cisco Nexus 7000 Series Configuration Manual page 206

Nx-os layer 2 switching
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring Spanning Tree Network Ports on Specified Interfaces
• spanning-tree port type network—This command explicitly configures the port as a network port. If
• spanning-tree port type normal —This command explicitly configures the port as a normal spanning
• no spanning-tree port type—This command implicitly enables the port as a spanning tree network
A port connected to a Layer 2 host that is configured as a network port automatically moves into the
Note
blocking state.
Before You Begin
• Ensure that you are in the correct VDC (or enter the switchto vdc command).
• Ensure that STP is configured.
• Ensure that you are configuring the ports correctly to the device to which the port is connected.
SUMMARY STEPS
1. switch(config)# config t
2. switch(config)# interface type slot/port
3. switch(config-if)# spanning-tree port type network
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)# config t
Step 2
switch(config)# interface type slot/port
Step 3
switch(config-if)# spanning-tree port type
network
Step 4
switch(config-if)# exit
Step 5
switch# show spanning-tree interface type
slot/port
Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.x
190
you enable Bridge Assurance globally, it automatically runs on a spanning tree network port.
tree port and Bridge Assurance cannot run on this interface.
port if you define the spanning-tree port type network default command in global configuration mode.
If you enable Bridge Assurance globally, it automatically runs on this port.
Configuring STP Extensions Using Cisco NX-OS
Purpose
Enters global configuration mode.
Specifies the interface to configure and enters interface
configuration mode.
Configures the specified interfaces to be spanning network ports.
If you enable Bridge Assurance, it automatically runs on network
ports. 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.

Advertisement

Table of Contents
loading

Table of Contents