- gi_port—Gigabit Ethernet interface number;
- fa_port—Fast Ethernet interface number;
- group—port group number (1..8);
- buffers—buffer settings for interface queues;
- queueing—processing algorithm for queues (WRR or EF), queues WRR and class of service,
and EF priority;
- policers—configured traffic classification strategies for the interface;
- shapers—outgoing traffic rate limit;
- rate-limit—incoming traffic rate limit.
Displays information on fields replacement in packets which are used by QoS.
- dscp-queue—table of correspondence between DSCP and queues;
- dscp-dp—table of correspondence between DSCP tags and drop priority (DP);
- policed-dscp—table of repeated DSCP marking;
- dscp-mutation—table of DSCP-to-DSCP changes.
Example of Commands Execution
Enable the QoS advanced mode. Order traffic into queues: the first queue is for DSCP 12
packets, the second one is for DSCP 16 packets. The eighth one is a priority queue. Create a
traffic classification strategy for ACL that allows transfer of TCP packets with DSCP 12 and 16
and sets the following rate limitations: average rate 1000 kbps, threshold 200,000 bytes. Use
the strategy for Ethernet 14 and 16 interfaces.
console#
console# configure
console(config)# ip access-list tcp_ena
console(config-ip-al)# permit tcp any any dscp 12
console(config-ip-al)# permit tcp any any dscp 16
console(config-ip-al)# exit
console(config)# qos advanced
console(config)# qos map dscp-queue 12 to 1
console(config)# qos map dscp-queue 16 to 2
console(config)# priority-queue out num-of-queues 1
console(config)# policy-map traffic
console(config-pmap)# class class1 access-group tcp_ena
console(config-pmap-c)# police 1000 200000 exceed-action drop
console(config-pmap-c)# exit
console(config-pmap)# exit
console(config)# interface gigabitethernet 1/0/14
console(config-if)# service-policy input
console(config-if)# exit
console(config)# interface gigabitethernet 1/0/16
console(config-if)# service-policy input
console(config-if)# exit
console(config)#
5.33.2 QoS Statistics
Global Configuration Mode Commands
Command line request in the global configuration mode appears as follows:
console(config)#
Table 5.257 Global configuration mode commands