Cisco WS-SUP32-GE-3B - Supervisor Engine 32 Software Configuration Manual page 629

Software configuration guide
Hide thumbs Also See for WS-SUP32-GE-3B - Supervisor Engine 32:
Table of Contents

Advertisement

Chapter 38
Configuring PFC QoS
After you create the class maps, create a policy map that defines the action of the QoS policy so that it
sets a particular DSCP value for each traffic type or traffic class. This example creates one policy map
(called IPPHONE-PC), and all the class maps are included in that single policy map, with an action
defined in each class map. This is the syntax for the policy map and class maps:
policy-map IPPHONE-PC
class CLASSIFY-VOICE
set dscp ef
class CLASSIFY-VOICE-SIGNAL
set dscp cs3
class CLASSIFY-PC-SAP
set dscp 25
class CLASSIFY-OTHER
set dscp 0
At this point, the QoS policy defined in the policy map still has not taken effect. After you configure a
policy map, you must apply it to an interface for it to affect traffic. You use the service-policy command
to apply the policy map. Remember that an input service policy can be applied to either a port or to
VLAN interfaces, but that an output service policy can only be applied to VLAN interfaces (only the
PFC3 supports output policies). In this example, you apply the policy as an input service-policy to each
interface that has a PC and IP phone attached. This example uses port-based QoS, which is the default
for Ethernet ports.
interface FastEthernet5/1
service-policy input IPPHONE-PC
A QoS policy now has been successfully configured to classify the traffic coming in from both an IP
phone and a PC.
To ensure that the policy maps are configured properly, enter this command:
Router# show policy-map interface fastethernet 5/1
FastEthernet5/1
Service-policy input:IPPHONE-PC
class-map:CLASSIFY-VOICE (match-all)
class-map:CLASSIFY-PC-SAP (match-all)
class-map:CLASSIFY-OTHER (match-all)
class-map:CLASSIFY-VOICE-SIGNAL (match-all)
To ensure that the port is using the correct QoS mode, enter this command:
Router# show queueing interface gigabitethernet 5/1 | include Port QoS
Port QoS is enabled
To ensure that the class map configuration is correct, enter this command:
Router# show class-map
Class Map match-all CLASSIFY-OTHER (id 1)
Match access-group name CLASSIFY-OTHER
OL-11439-03
Match:access-group name CLASSIFY-VOICE
set dscp 46:
Match:access-group name CLASSIFY-PC-SAP
set dscp 25:
Match:access-group name CLASSIFY-OTHER
set dscp 0:
Match:access-group name CLASSIFY-VOICE-SIGNAL
set dscp 24:
Catalyst Supervisor Engine 32 PISA Cisco IOS Software Configuration Guide, Release 12.2ZY
Common QoS Scenarios
38-95

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst supervisor engine 32 pisa

Table of Contents