ESR Series Routers Operation Manual 85
7.25.1 Basic QoS
Objective: Configure the following restrictions on gigabitethernet 1/0/8 interface: transfer DSCP 22
traffic into 8th priority queue, DSCP 14 traffic into 7th weighted queue, limit transfer rate to 60Mbps for
7th queue.
Fig. 7.26—Network structure
Solution:
In order to make 8th queue a priority queue, and 1st to 7th queues weighted ones, limit the
quantity of priority queues to 1.
esr(config)# priority-queue out num-of-queues 1
Redirect DSCP 22 traffic into 8th priority queue:
esr(config)# qos map dscp-queue 22 to 8
Redirect DSCP 14 traffic into 7th weighted queue:
esr(config)# qos map dscp-queue 14 to 7
Enable QoS on the inbound interface from LAN side:
esr(config)# interface gigabitethernet 1/0/5
esr(config-if-gi)# qos enable
esr(config-if-gi)# exit
Enable QoS on the inbound interface from WAN side:
esr(config)# interface gigabitethernet 1/0/8
esr(config-if-gi)# qos enable
Limit transfer rate to 60Mbps for 7th queue:
esr(config-if)# traffic-shape queue 7 60000
esr(config-if)# exit
Configuration changes will take effect when the configuration is applied:
esr# commit
Configuration has been successfully committed
esr# confirm
Configuration has been successfully confirmed
To view QoS statistics, use the following command:
esr# show qos statistics gigabitethernet 1/0/8