Class of Service (CoS) 65
The <0-100>value is the percentage of port speed. For example, a value of 20 means the port speed for egress traffic is at 20% of the maximum rate. The <rate 0-10000000>is the absolute bandwidth value of the port in kilobits per second in increments of 64 kbps. The default bandwidth value is 0, meaning no upper limit is enforced, which allows the interface to transmit up to its maximum line rate.
The bandwidth value is independent of any per-queue maximum bandwidth value(s) in effect for the interface and should be considered as a second-level transmission rate control mechanism that regulates the output of the entire interface regardless of which queues originate the outbound traffic.
traffic-shape{<0-100> rate <0-10000000>}
Global Config
Interface Config
rate-limit
This command allows you to limit the rate of ingress traffic arriving on the port. You can set the rate on a per-port basis or on all ports. The <0-100>value is the percentage of bandwidth to limit. For example, a value of 20 means that the port speed for ingress traffic is at 20% of the maximum rate. The <rate 0-10000000>value is the absolute bandwidth value in increments of 64 kbps.
The default ingress rate shaping value is 0, meaning no upper limit is enforced, which allows the port to accept up to its maximum traffic rate.
Default | 0 |
Format | rate-limit{<0-100> rate <0-10000000>} |
Modes | Global Config |
| Interface Config |
To verify the traffic-shape and rate limit values, from Privileged Exec mode enter:
show interfaces cos-queue- shows traffic-shape value for all interfaces
show interface cos-queue<slot/port> - shows traffic-shape value for the specified interface.
Example #4 (Interface Config) traffic-shape
(Console) #config
(Console) (Config)#interface 0/1
(Console) (Interface 0/1)#traffic-shape 60
(Console) (Interface 0/1)#exit
(Console) (Config)#exit
Example #5 show interfaces cos-queue slot/port
(Console) #show interfaces cos-queue 0/1 | |
Interface | 0/1 |
Interface Rate Limit | 0 percent |
Interface Shaping Rate | 60 percent |