S e n d c o m m e n t s 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
2-78
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
spanning-tree port type edge bpduguard default
spanning-tree port type edge bpduguard default
To enable BPDU Guard by default on all spanning tree edge ports, use the
spanning-tree port type edge
bpduguard default
command. To disable BPDU Guard on all edge ports by default, use the
no
form of
this command.
spanning-tree port type edge bpduguard default
no spanning-tree port type edge bpduguard default
Syntax Description
This command has no keywords or arguments.
Command Default
Disabled.
Command Modes
Configuration mode
Command History
Usage Guidelines
To enable BPDU Guard by default, you must do the following:
•
Configure the interface as spanning tree edge ports by entering the
spanning-tree port type edge
or the
spanning-tree port type edge default
command.
•
Enable BPDU Guard.
Use this command to enable BPDU Guard globally on all spanning tree edge ports. BPDU Guard disables
a port if it receives a BPDU.
Global BPDU Guard is applied only on spanning tree edge ports.
You can also enable BPDU Guard per interface; see
spanning-tree bpduguard
command for more
information.
Note
We recommend that you enable BPDU Guard on all spanning tree edge ports.
Examples
This example shows how to enable BPDU Guard by default on all spanning tree edge ports:
switch(config)#
spanning-tree port type edge bpduguard default
Release
Modification
4.0(0)N1(1a)
This command was introduced.