Cisco N7K-C7010 Configuration Guide - Page 77
Step 1, Step 2, Step 3, Step 4, Step 5
UPC - 882658174445
View all Cisco N7K-C7010 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 77 highlights
Chapter 2 Configuring Basic Interface Parameters Configuring the Basic Interface Parameters Send document comments to [email protected] DETAILED STEPS Step 1 Command configure terminal Step 2 Example: switch# configure terminal switch(config)# [no] rate-limit cpu direction {input|output|both} pps packets action log Step 3 Example: switch(config)# interface ethernet 1/1 switch(config-if)# rate-limit cpu direction both pps 1000 action log exit Step 4 Example: switch(config-if)# exit switch(config)# show system internal pktmgr interface ethernet slot/port Step 5 Example: switch# show system internal pktmgr interface ethernet 4/1 copy running-config startup-config Example: switch(config)# copy running-config startup-config Purpose Enters configuration mode. Configures the rate limits for packets that reach the supervisor module on a particular interface. If the rate of incoming or outgoing packets exceeds the configured rate limit, the device logs a system message but does not drop any packets. The range is from 1 to 100000. The default rate is 10000. (Optional) Exits the interface mode. (Optional) Displays the inbound and outbound rate limit configuration for packets that reach the supervisor module on a specific interface. (Optional) Copies the running configuration to the startup configuration. Note If the rate of incoming or outgoing packets exceeds the configured rate limit, the device logs a system message, the device logs a system message but does not drop any packets. This example shows how to configure the rate limits for packets that reach the supervisor module on a specific interface: switch# rate-limit cpu direction both pps 1000 action log switch# show system internal pktmgr interface ethernet 4/9 Ethernet4/9, ordinal: 44 SUP-traffic statistics: (sent/received) Packets: 528 / 0 Bytes: 121968 / 0 Instant packet rate: 0 pps / 0 pps Packet rate limiter (Out/In): 1000 pps / 1000 pps Average packet rates(1min/5min/15min/EWMA): Packet statistics: Tx: Unicast 0, Multicast 528 Broadcast 0 Rx: Unicast 0, Multicast 0 Broadcast 0 OL-23435-03 Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x 2-53