Cisco me 3400 Guida Al Software
16-9
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-07
Chapter 16 Configuring Optional Spanning-Tree Features
Configuring Optional Spanning-Tree Features
Beginning in privileged EXEC mode, follow these steps to globally enable the BPDU filtering feature.
This procedure is optional.
This procedure is optional.
To disable BPDU filtering, use the no spanning-tree portfast bpdufilter default global configuration
command.
command.
You can override the setting of the no spanning-tree portfast bpdufilter default global configuration
command by using the spanning-tree bpdufilter enable interface configuration command on an STP
port.
command by using the spanning-tree bpdufilter enable interface configuration command on an STP
port.
Enabling EtherChannel Guard
You can enable EtherChannel guard to detect an EtherChannel misconfiguration if your switch is
running PVST+, rapid PVST+, or MSTP.
running PVST+, rapid PVST+, or MSTP.
Beginning in privileged EXEC mode, follow these steps to enable EtherChannel guard. This procedure
is optional.
is optional.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
spanning-tree portfast bpdufilter default
Globally enable BPDU filtering. (By default, BPDU filtering is
disabled.)
disabled.)
Note
Globally enabling BPDU filtering enables it only on STP
ports; the command has no effect on UNIs or ENIs on
which STP is not enabled.
ports; the command has no effect on UNIs or ENIs on
which STP is not enabled.
Step 3
interface interface-id
Specify the interface connected to an end station, and enter
interface configuration mode.
interface configuration mode.
If the interface is a UNI, before you enable Port Fast, you must
change the port type to NNI or ENI to enable STP:
change the port type to NNI or ENI to enable STP:
•
Enter the port-type nni interface configuration command to
change the port to an NNI with STP enabled by default.
change the port to an NNI with STP enabled by default.
•
Or enter the port-type eni and spanning-tree interface
configuration commands to configure the port as an ENI STP
port.
configuration commands to configure the port as an ENI STP
port.
Step 4
spanning-tree portfast
Enable the Port Fast feature.
Step 5
end
Return to privileged EXEC mode.
Step 6
show running-config
Verify your entries.
Step 7
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
spanning-tree etherchannel guard misconfig
Enable EtherChannel guard.
Step 3
end
Return to privileged EXEC mode.
Step 4
show spanning-tree summary
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.