Command Line Interface
4-290
4
Related Commands
spanning-tree edge-port (4-287)
spanning-tree portfast (4-288)
This command shuts down an edge port (i.e., an interface set for fast forwarding) if it
receives a BPDU. Use the
no
form to disable this feature.
Syntax
[
no
]
spanning-tree
bpdu-guard
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• An edge port should only be connected to end nodes which do not generate
BPDUs. If a BPDU is received on an edge port, this indicates an invalid
network configuration, or that the switch may be under attack by a hacker. If
an interface is shut down by BPDU Guard, it must be manually re-enabled
using the
no spanning-tree spanning-disabled
command.
• Before enabling BPDU Guard, the interface must be configured as an edge
port with the
spanning-tree edge-port
or
spanning-tree portfast
command.
Also note that if the edge port attribute is disabled on an interface, BPDU
Guard will also be disabled on that interface.
Example
Related Commands
spanning-tree edge-port (4-287)
spanning-tree portfast (4-288)
spanning-tree spanning-disabled (4-284)
This command floods BPDUs to other ports when spanning tree is disabled globally
or disabled on a specific port. Use the
no
form to restore the default setting.
Syntax
[
no
]
spanning-tree
port-bpdu-flooding
Default Setting
Enabled
Console(config)#interface ethernet ethernet 1/5
Console(config-if)#spanning-tree edge-port
Console(config-if)#spanning-tree bpdu-guard
Console(config-if)#
Содержание 6152PL2 FICHE
Страница 2: ......
Страница 6: ...vi ...
Страница 8: ...viii ...
Страница 32: ...Tables xxxii ...
Страница 38: ...Figures xxxviii ...
Страница 56: ...Initial Configuration 2 10 2 ...
Страница 378: ...Configuring the Switch 3 322 3 ...
Страница 651: ...Address Table Commands 4 273 4 Example Console show mac address table aging time Aging time 100 sec Console ...
Страница 817: ......
Страница 818: ...SMC6128PL2 SMC6152PL2 149100000007A R01 ...