ESR Series Routers Operation Manual
87
esr(config-class-policy-map)#
exit
esr(config-policy-map)#
class fl2
esr(config-class-policy-map)#
shape average 60000
esr(config-class-policy-map)#
exit
For the rest of traffic, configure a class with SFQ mode:
esr(config-policy-map)#
class class-default
esr(config-class-policy-map)#
mode sfq
esr(config-class-policy-map)#
fair-queue 800
esr(config-class-policy-map)#
exit
esr(config-policy-map)#
exit
Enable QoS on the interfaces, policy on gi 1/0/19 interface ingress for classification purposes and
gi1/0/20 egress for applying restrictions and SFQ mode for default class:
esr(config)#
interface gigabitethernet 1/0/19
esr(config-if-gi)#
qos enable
esr(config-if-gi)#
service-policy input fl
esr(config-if-gi)#
exit
esr(config)#
interface gigabitethernet 1/0/20
esr(config-if-gi)#
qos enable
esr(config-if-gi)#
service-policy output fl
esr(config-if-gi)#
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 the statistics, use the following command:
esr#
do show qos policy statistics gigabitethernet 1/0/20