Cisco Systems WSC4500X24XIPB Switch User Manual


 
27-41
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 27 Configuring Quality of Service
Configuring QoS
The following example shows how to verify the configuration:
Switch# show policy-map flow-policy
Policy Map flow-policy
Class flow-class
police 2000000 bps 10000 byte conform-action transmit exceed-action drop
Switch# show policy-map aggregate-policy
Policy Map aggregate-policy
Class aggregate-class
police 50000000 bps 40000 byte conform-action transmit exceed-action drop
service-policy flow-policy
Switch# show policy-map interface
FastEthernet6/1
Service-policy input: aggregate-policy
Class-map: aggregate-class (match-all)
132537 packets
Match: access-group 10
police: Per-interface
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 enables you to specify different QoS configurations on different
VLANs on a given interface. Typically, you will use this feature on trunk or voice VLANs (Cisco IP
Phone) ports, as they belong to multiple VLANs.
To configure per-port per-VLAN QoS, perform this task:
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.