7-61
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 7 Configuring Spanning Tree
Configuring Layer 2 PDU Rate Limiting on the Switch
VLAN Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
1 6 4 2 0 12
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
Total 6 4 2 0 12
Console> (enable)
Configuring Layer 2 PDU Rate Limiting on the Switch
Note This feature is only supported with PFC3A or later PFC.
Note This feature does not work in truncated mode.
You can use the Layer 2 PDU rate limiters to limit the number of packets to a normal rate and to avoid
abnormal incoming rates.
The commands that support Layer 2 PDU rate limiting allow you to perform these functions:
• Enable, disable, or set rate limiting for the spanning-tree BPDUs—IEEE and PVST/Shared
Spanning Tree Protocol (SSTP), Cisco Discovery Protocol (CDP), Dynamic Trunking Protocol
(DTP), UniDirectional Link Detection (UDLD), VLAN Trunking Protocol (VTP), Link
Aggregation Control Protocol (LACP), and Port Aggregation Protocol (PAgP)—globally on the
switch.
• Enable, disable, or set rate limiting for the Layer 2 protocol tunnel-encapsulated PDUs globally on
the switch.
• Enable, disable, or set the 802.1X port security rate limiters globally on the switch.
All three types of rate limiters work independently of each other.
To enable or disable Layer 2 PDU rate limiting, enter the set rate-limit {l2pdu | l2port-security |
l2protocol-tunnel} {enable | disable} command. Layer 2 PDU rate limiting is disabled by default.
To configure Layer 2 PDU rate limiting, perform this task in privileged mode:
Use the l2pdu keyword for rate limiting the Layer 2 protocol packets including the following:
• Spanning-tree IEEE—destination MAC address 01-80-c2-00-00-00
• PVST/SSTP—destination MAC address 01-00-0C-CC-CC-CD
Task Command
Step 1
Enable Layer 2 PDU rate limiting. set rate-limit {l2pdu | l2port-security |
l2protocol-tunnel} enable
Step 2
Set the rate limiter value. set rate-limit {l2pdu | l2port-security |
l2protocol-tunnel} rate rate
Step 3
Verify the configuration. show rate-limit
show rate-limit config