S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
10-8
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 10 Configuring STP Extensions
Configuring STP Extensions
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.
Note
A port connected to a host that is configured as a network port automatically moves into the blocking
state.
Before you configure the spanning port type, you should do the following:
•
Ensure that STP is configured.
•
Ensure that the interface is connected to switches or routers.
To configure spanning tree network ports on a specified interface, perform this task:
This example shows how to configure the Ethernet interface 1/4 to be a spanning tree network port:
switch#
configure terminal
switch(config)#
interface ethernet 1/4
switch(config-if)#
spanning-tree port type network
Enabling BPDU Guard Globally
You can enable BPDU Guard globally by default. In this condition, the system shuts down an edge port
that receives a BPDU.
Note
We recommend that you enable BPDU Guard on all edge ports.
Before you configure this feature, you should do the following:
•
Ensure that STP is configured.
•
Ensure that you have configured some spanning tree edge ports.
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
interface
type slot/port
Specifies the interface to configure, and enters the
interface configuration mode. The interface can be a
physical Ethernet port.
Step 3
switch(config-if)#
spanning-tree port
type network
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.
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...