Cisco Systems N3KC3064TFAL3 Configuring Spanning Tree Network Ports on Specified Interfaces, Step

Models: N3KC3064TFAL3 N3KC3048TP1GE

1 164
Download 164 pages 5.98 Kb
Page 133
Image 133
port type edge

Configuring STP Extensions

Configuring STP Extensions

no spanning-tree port typeThis command implicitly enables edge behavior if you define the spanning-tree port type edge default command in global configuration mode. If you do not configure the edge ports globally, the no spanning-tree port type command is equivalent to the spanning-tree port type disable command.

Before You Begin

Ensure that STP is configured.

Ensure that the interface is connected to hosts.

Procedure

 

Command or Action

Purpose

Step 1

switch# configure terminal

Enters configuration mode.

Step 2

switch(config)# interface type

Specifies the interface to configure, and enters the interface

 

slot/port

configuration mode.

Step 3

switch(config-if)# spanning-tree

Configures the specified access interfaces to be spanning

 

port type edge

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.

This example shows how to configure the Ethernet access interface 1/4 to be a spanning tree edge port:

switch# configure terminal switch(config)# interface ethernet 1/4 switch(config-if)# spanning-tree port type edge

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:

spanning-tree port type networkThis command explicitly configures the port as a network port. If you enable Bridge Assurance globally, it automatically runs on a spanning tree network port.

spanning-tree port type normalThis command explicitly configures the port as a normal spanning tree port and Bridge Assurance cannot run on this interface.

no spanning-tree port typeThis command implicitly enables the port as a spanning tree network 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.

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

OL-26590-01

119

Page 133
Image 133
Cisco Systems N3KC3064TFAL3 Configuring Spanning Tree Network Ports on Specified Interfaces, port type edge, Procedure