Cisco Systems N3KC3064TFAL3 Manual De Usuario

Descargar
Página de 164
• no spanning-tree port type—This 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
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
Specifies the interface to configure, and enters the interface
configuration mode.
switch(config)# interface type
slot
/port
Step 2
Configures the specified access interfaces to be spanning
edge ports. Edge ports immediately transition to the
switch(config-if)# spanning-tree
port type edge
Step 3
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 network—This 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 normal—This command explicitly configures the port as a normal spanning
tree port and Bridge Assurance cannot run on this interface.
• no spanning-tree port type—This 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
Configuring STP Extensions
Configuring STP Extensions