Attaching policy lists and QoS lists

Last Updated : Nov 06, 2012 |

Procedure

Choose one of the following commands:
  • To attach a QoS list to an interface as its ingress QoS list, enter the interface context and enter ip qos-group list number in.

  • To attach an access control list to an interface as its egress QoS list, enter the interface context and enter ip qos-group list number out.

For example, the following sequence of commands attach policy lists to the VLAN 2 interface. Access control list 301 becomes the ingress access control list for VLAN 2. QoS list 401 becomes the egress QoS list for VLAN 2.

Gxxx-001# interface vlan 2
Gxxx-001(if:VLAN 2)# ip access-group 301 in
Done!
Gxxx-001(if:VLAN 2)# ip qos-group 401 out
Done!