Configuring QoS Priority for a VLAN
Use this procedure to configure QoS priority for a VLAN.
- Enter global configuration mode.
- Check the target VLAN configuration.
In this example, VLAN 100 is used.
- Enter VLAN configuration mode for the target VLAN.
- Attach a router interface to the target VLAN.
- Verify the VLAN configuration.
- Return to global configuration mode.
- Create an extended ACL.
In this example, the extended ACL is named "acl-remark".
- Configure a rule in the ACL with the required qualifiers and the internal priority
that you want.
In this example, QoS priority 5 is used.
- Verify the ACL configuration.
- Go to VLAN configuration mode.
- Apply the ACL to VLAN 100.
QoS Priority for a VLAN Configuration Example
device# configure terminal device(config)# show running-config vlan 100 ! device(config)# vlan 100 ! device(config-vlan-100))# show running-config device(config-vlan-100))# exit device(config)# ip access-list extended acl-remark device(config-ext-ipacl-acl-remark)# permit ip any any 802.1p-and-internal-marking 5 device(config-ext-ipacl-acl-remark)# show ip access-lists all ! device(config-ext-ipacl-acl-remark)# vlan 100 device(config-vlan-100)# ip access-group acl-remark in