An example of the provisioning steps involved in using a queue-group to police ingress and egress traffic on a network interface is as follows:
config
qos
queue-group-templates
ingress
queue-group "Ingress_QG_1" create
policer 2 create
rate 9000
exit
exit
exit
egress
queue-group "Egress_QG_1" create
queue 1 best-effort create
exit
policer 2 create
rate 9000
exit
exit
exit
exit
network 2 create
ingress
fc be
fp-redirect-group policer 2
exit
exit
egress
fc be
port-redirect-group policer 2
exit
exit
exit
card 1
card-type xcm-x20
mda 1 mda-type cx20-10g-sfp no shutdown
exit
fp 1
ingress
network
queue-group "Ingress_QG_1" instance 550 create
exit
exit
exit
exit
no shutdown
port 1/1/3
ethernet
mtu 1514
network
egress
queue-group "Egress_QG_1" instance 550 create
exit
exit
exit
exit
no shutdown
exit
router
interface ‟to-D”
address 10.10.11.3/24
port 1/1/3
qos 2 egress-port-redirect-group "Egress_QG_1" egress-instance
550 ingress-fp-redirect-group "Ingress_QG_1" ingress-instance
550
no shutdown