![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/30/63096e50-8ee1-4c84-b87d-32eeabc07e61/63096e50-8ee1-4c84-b87d-32eeabc07e61-bg319.png)
37-43
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service
Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
Conform: 3627000 bytes Exceed: 0 bytes
Service-policy : flow-policy
Class-map: flow-class (match-all)
8867 packets
Match: access-group 20
Match: flow ip source-address
police: Per-interface
Conform: 1649262 bytes Exceed: 59601096 bytes
Class-map: class-default (match-any)
0 packets
Match: any 0 packets
Class-map: class-default (match-any)
5 packets
Match: any 5 packets
Enabling Per-Port Per-VLAN QoS
The per-port per-VLAN QoS feature allows you to specify different QoS configurations on different
VLANs on a given interface. Typically, you use this feature on trunk or voice VLANs (Cisco IP phone)
ports, because they belong to multiple VLANs.
To configure per-port per-VLAN QoS, perform this task:
Example 1
Figure 37-5 displays a sample topology for configuring PVQoS. The trunk port gi3/1 is comprised of
multiple VLANs (101 and 102). Within a port, you can create your own service policy per-VLAN. This
policy, performed in hardware, might consist of ingress and egress policing, trusting DSCP, or giving
precedence to voice packet over data.
Command Purpose
Step 1
Switch(config)# interface {fastethernet | gigabitethernet |
tengigabitethernet} slot/interface
| Port-channel number
Selects the interface to configure.
Step 2
Switch(config-if)# vlan-range vlan_range
Specifies the VLANs involved.
Step 3
Switch(config-if-vlan-range)# service-policy
{input | output} policy-map
Specifies the policy map and direction.
Step 4
Switch(config-if-vlan-range)# exit
Exits class-map configuration mode.
Step 5
Switch(config-if)# end
Exits configuration interface mode.
Step 6
Switch# show policy-map interface interface_name
Verifies the configuration.