Configuring Spanning Tree Edge Ports On Specified Interfaces - Cisco nexus 5000 series Configuration Manual

Nx-os layer 2
Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Configuring STP Extensions
Before You Begin
Ensure that STP is configured.
Ensure that you are configuring the ports correctly for the type of device to which the interface is connected.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# spanning-tree port type edge default
3. switch(config)# spanning-tree port type network default
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# spanning-tree port
type edge default
Step 3
switch(config)# spanning-tree port
type network default
This example shows how to configure all access and trunk ports connected to hosts as spanning tree edge
ports:
switch# configure terminal
switch(config)# spanning-tree port type edge default
This example shows how to configure all ports connected to switches or bridges as spanning tree network
ports:
switch# configure terminal
switch(config)# spanning-tree port type network default

Configuring Spanning Tree Edge Ports on Specified Interfaces

You can configure spanning tree edge ports on specified interfaces. Interfaces configured as spanning tree
edge ports immediately transition to the forwarding state without passing through the blocking or learning
states on linkup.
This command has four states:
• spanning-tree port type edge—This command explicitly enables edge behavior on the access port.
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N1(1)
220
Purpose
Enters global configuration mode.
Configures all interfaces as edge ports. Using this command assumes all ports
are connected to hosts/servers. 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.
Configures all interfaces as spanning tree network ports. Using this command
assumes all ports are connected to switches and bridges. If you enable Bridge
Assurance, it automatically runs on network ports. By default, spanning tree
ports are normal port types.
If you configure interfaces connected to hosts as network ports, those
Note
ports automatically move into the blocking state.
Configuring STP Extensions
OL-25842-01

Advertisement

Table of Contents
loading

Table of Contents