Cisco Systems N3KC3064TFAL3 Manual De Usuario

Descargar
Página de 164
Procedure
Purpose
Command or Action
Enters configuration mode.
switch# configure terminal
Step 1
Configures all interfaces as edge ports. This assumes all ports are
connected to hosts/servers. Edge ports immediately transition to
switch(config)# spanning-tree
port type edge default
Step 2
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. This
assumes all ports are connected to switches and bridges. If you
switch(config)# spanning-tree
port type network default
Step 3
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 ports automatically move into the blocking
state.
Note
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.
• spanning-tree port type edge trunk—This command explicitly enables edge behavior on the trunk
port.
If you enter the spanning-tree port type edge trunk command, the port is configured
as an edge port even in the access mode.
Note
• spanning-tree port type normal—This command explicitly configures the port as a normal spanning
tree port and the immediate transition to the forwarding state is not enabled.
   Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)
118
OL-26590-01  
Configuring STP Extensions
Configuring STP Extensions