Match Ip Precedence - Cisco ME 3400 Command Reference Manual

Ethernet access switch
Table of Contents

Advertisement

Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands

match ip precedence

Use the match ip precedence class-map configuration command to identify IPv4 precedence values as
match criteria for a class. Use the no form of this command to remove the match criteria.
Syntax Description
ip precedence
ip-precedence-list
Defaults
No match criteria are defined.
Command Modes
Class-map configuration
Command History
Release
12.2(25)EX
Usage Guidelines
The match ip precedence command specifies an IPv4 precedence value to use as the match criteria to
determine if packets belong to the class specified by the class map.
The precedence values are used as marking only. In this context, the IP precedence values have no
mathematical significance. For example, the precedence value of 2 is not greater than 1, but merely
indicates that a packet marked with a value of 2 is different than one marked with a value of 1. You define
the treatment of these marked packets by setting QoS policies in policy-map class configuration mode.
Before using the match ip precedence command, you must enter the class-map global configuration
command to specify the name of the class whose match criteria you want to establish.
You can enter up to four IPv4 precedence values in one match statement. For example, if you wanted the
IP precedence values of 0, 1, 2, or 7, enter the match ip precedence 0 1 2 7 command. The packet must
match only one (not all) of the specified IP precedence values to belong to the class.
You can use match ip precedence classification in input and output policy maps.
Examples
This example shows how to create a class map called class, which matches all the incoming traffic with
IP-precedence values of 5, 6, and 7:
Switch(config)# class-map match-any in-class
Switch(config-cmap)# match ip precedence 5 6 7
Switch(config-cmap)# exit
You can verify your settings by entering the show class-map privileged EXEC command.
OL-9640-07
match ip precedence ip-precedence-list
no match ip precedence ip-precedence-list
List of up to four IPv4 precedence values to match against incoming packets.
Separate each value with a space. The range is 0 to 7.
Modification
This command was introduced.
Cisco ME 3400 Ethernet Access Switch Command Reference
match ip precedence
2-239

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents