MES3000 Ethernet switch series 215
Table 5.261 EXEC mode commands
Displays the QoS mode configured for the device. Displays the trusted
mode in the basic mode.
show class-map
[class-map-name]
class_map_name: (1..32)
characters
Displays lists of criteria used for traffic classification.
Valid for the qos advanced mode only.
show policy-map
[policy-map-name]
policy_map_name: (1..32)
characters
Displays traffic classification rules.
Valid for the qos advanced mode only.
show qos
aggregate-policer
[aggregate-policer-
name]
aggregate_policer_name:
(1..32) characters
Displays configuration of average rate and bandwidth limit for traffic
classification rules.
Valid for the qos advanced mode only.
show qos interface
[buffers | queueing |
policers | shapers |
rate-limit]
[gigabitethernet
gi_port |
tengigabitethernet
te_port |port-channel
group|
vlan vlan_id]
gi_port: (1..3/0/1..28);
fa_port: (1..3/0/1..24);
group (1..24);
vlan_id: (1..4094)
Displays interface QoS parameters.
- vlan_id—VLAN number (1–4049);
- gi_port—Ethernet g1-g24 interface number(1–8/0/1–24);
- te_port—Ethernet XG1-XG4 interface number(1–8/0/1–4);
- group—port group number (1–12);
- 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.
show qos map [dscp-
queue | dscp-dp |
policed-dscp | dscp-
mutation]
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.
View tail-drop parameters.
show qos tail-drop
[gigabitethernet
gi_port | fastethernet
fa_port]
gi_port: (1..3/0/1..28);
fa_port: (1..3/0/1..24);
View tail-drop statistics for one port (all ports)
show qos tail-drop
unit unit_id
View tail-drop statistic of specified device in stack (available only in
stackable mode).
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