Cisco Systems A9014CFD Match cos cos-list ip dscp dscp-list, Ip precedence ip-precedence-list

Models: A9014CFD

1 884
Download 884 pages 9.83 Kb
Page 487
Image 487

Chapter 24 Configuring QoS

Configuring Quality of Service (QoS)

 

Command

Purpose

 

 

 

Step 3 match {cos cos-listip dscp dscp-list

Define the match criterion to classify traffic. By default, no match criterion

 

ip precedence ip-precedence-list

is defined.

 

qos-group value vlan vlan-list}

Only one match type per class map is supported.

 

 

 

 

For cos cos-list, enter a list of up to four CoS values in a single line to

 

 

match against incoming packets. Separate each value with a space. You

 

 

can enter multiple cos-listlines to match more than four CoS values. The

 

 

range is 0 to 7.

 

 

For ip dscp dscp-list, enter a list of up to eight IPv4 DSCP values to

 

 

match against incoming packets. Separate each value with a space. You

 

 

can enter multiple dscp-listlines to match more than eight DSCP values.

 

 

The numerical range is 0 to 63. You can also configure DSCP values in

 

 

other forms. See the “Classification Based on IP DSCP” section on

 

 

page 24-9.

 

 

For ip precedence ip-precedence-list, enter a list of up to four IPv4

 

 

precedence values to match against incoming packets. Separate each

 

 

value with a space. You can enter multiple ip-precedence-listlines to

 

 

match more than four precedence values. The range is 0 to 7.

 

 

For vlan vlan-list,specify a VLAN ID or a range of VLANs to be used

 

 

in a parent policy map for per-port, per-VLAN QoS on a trunk port. The

 

 

VLAN ID range is 1 to 4094.

 

 

For qos-groupvalue, specify the QoS group number. The range is

 

 

0 to 7. Matching of QoS groups is supported only in output policy maps.

Step 4

 

 

end

Return to privileged EXEC mode.

Step 5

 

 

show class-map

Verify your entries.

Step 6

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

This example shows how to create a class map called class2, which matches incoming traffic with DSCP values of 10, 11, and 12.

Router(config)# class-map match-any class2

Router(config-cmap)#match ip dscp 10 11 12

Router(config-cmap)# exit

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

 

 

 

 

 

 

OL-23826-09

 

 

24-51

 

 

 

 

 

Page 487
Image 487
Cisco Systems A9014CFD manual Match cos cos-list ip dscp dscp-list, Ip precedence ip-precedence-list, Show class-map, 24-51