Cisco 7604 Configuration Manual page 718

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Common QoS Scenarios
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
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
41-116
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:
Chapter 41
Configuring PFC QoS
OL-4266-08

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents