QoS Commands
rate-limit (Interface)
rate-limit (Interface)
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Example
The following example creates an ACL, places it into a class map, places the class
map into a policy map, and configures the trust state using the DSCP value in the
ingress packet:
switchxxxxxx(config)# ip access-list extended ip1
switchxxxxxx(config-mac-al)# permit ip any any
switchxxxxxx(config-mac-al)# exit
switchxxxxxx(config)# class-map c1
switchxxxxxx(config-cmap)# match access-group ip1
switchxxxxxx(config-cmap)# exit
switchxxxxxx(config)# policy-map p1
switchxxxxxx(config-pmap)# class c1
switchxxxxxx(config-pmap-c)# trust
To limit the incoming traffic rate on an interface, use the rate-limit Interface
Configuration mode command.
To disable the rate limit on an interface, use the no form of this command.
Syntax
committed-rate-kbps
rate-limit
no rate-limit
Parameters
committed-rate-kbps
•
interface in kilobits per second (kbps). (Range: 16 to 1000000)
Default Configuration
Rate limiting is disabled.
Command Mode
Interface Configuration (Ethernet) mode
—The maximum ingress traffic on an Ethernet
28
413