|
Command or Action |
Purpose |
Step 1 |
configure terminal
Example: switch# configure terminal
switch(config)# |
Enters global configuration mode. |
Step 2 |
hardware rate-limiter access-list-log packets
Example: switch(config)# hardware rate-limiter access-list-log 200 |
Configures rate limits in packets per second for packets copied to the supervisor module for access list logging. The range is from 0 to 30000. |
Step 3 |
hardware rate-limiter copy packets
Example: switch(config)# hardware rate-limiter copy 40000 |
Configures rate limits in packets per second for data and control packets copied to the supervisor module. The range is from 0 to 30000.
Note |
Layer 3 control, multicast direct-connect, and ARP request packets are controlled by the Layer 2 copy rate limiter. The first two types of packets are also controlled by Layer 3 rate limiters, and the last two types are also subject to control plane policing (CoPP). |
|
Step 4 |
hardware rate-limiter layer-2 mcast-snooping packets
Example: switch(config)# hardware rate-limiter layer-2 mcast-snooping 20000 |
Configures rate limits in packets per second for Layer 2 multicast-snooping packets. The range is from 0 to 30000. |
Step 5 |
hardware rate-limiter layer-2 port-security packets
Example: switch(config)# hardware rate-limiter layer-2 port-security 100000 |
Configures rate limits in packets per second for port-security packets. The range is from 0 to 30000. |
Step 6 |
hardware rate-limiter layer-2 storm-control packets
Example: switch(config)# hardware rate-limiter layer-2 storm-control 10000 |
Configures rate limits in packets per second for broadcast, multicast, and unknown unicast storm-control traffic. The range is from 0 to 30000. |
Step 7 |
hardware rate-limiter layer-2 vpc-low packets
Example: switch(config)# hardware rate-limiter layer-2 vpc-low 10000 |
Configures rate limits in packets per second for Layer 2 control packets over the VPC low queue. The range is from 0 to 30000. |
Step 8 |
hardware rate-limiter layer-3 control packets
Example: switch(config)# hardware rate-limiter layer-3 control 20000 |
Configures rate limits in packets per second for Layer 3 control packets. The range is from 0 to 30000. |
Step 9 |
hardware rate-limiter layer-3 glean packets
Example: switch(config)# hardware rate-limiter layer-3 glean 200 |
Configures rate limits in packets per second for Layer 3 glean packets. The range is from 0 to 30000. |
Step 10 |
hardware rate-limiter layer-3 mtu packets
Example: switch(config)# hardware rate-limiter layer-3 mtu 1000 |
Configures rate limits in packets per second for Layer 3 MTU failure redirected packets. The range is from 0 to 30000. |
Step 11 |
hardware rate-limiter layer-3 multicast {directly-connected | local-groups | rpf-leak} packets
Example: switch(config)# hardware rate-limiter layer-3 multicast local-groups 20000 |
Configures rate limits in packets per second for Layer 3 multicast directly connected, local groups, or RPF leak redirected packets in packets per second. The range is from 0 to 30000. |
Step 12 |
hardware rate-limiter layer-3 ttl packets
Example: switch(config)# hardware rate-limiter layer-3 ttl 1000 |
Configures rate limits in packets per second for Layer 3 failed Time-to-Live redirected packets. The range is from 0 to 30000. |
Step 13 |
hardware rate-limiter receive packets
Example: switch(config)# hardware rate-limiter receive 40000 |
Configures rate limits in packets per second for packets redirected to the supervisor module. The range is from 0 to 30000. |
Step 14 |
exit
Example: switch(config)# exit
switch# |
Exits global configuration mode. |
Step 15 |
show hardware rate-limiter [access-list-log | copy | layer-2 {mcast-snooping | port-security | storm-control | vpc-low} | layer-3 {control | glean | mtu | multicast {directly-connected | local-groups | rpf-leak} | ttl} | module module | receive]
Example: switch# show hardware rate-limiter |
(Optional) Displays the rate limit configuration. |
Step 16 |
copy running-config startup-config
Example: switch# copy running-config startup-config |
(Optional) Copies the running configuration to the startup configuration. |