Match, Match 4-212 – Alcatel Carrier Internetworking Solutions OmniStack 6300-24 User Manual

Page 424

Advertising
background image

Command Line Interface

4-212

4

• The class map is used with a policy map (page 4-213) to create a service

policy (page 4-216) for a specific interface that defines packet classification,
service tagging, and bandwidth policing.

• After entering the Class Map configuration mode, use the match command

(page 4-212) to specify the required classification criteria.

Example

This example creates a class map call “rd-class,” and sets it to match packets
marked for DSCP service value 3:

Related Commands

show class map (4-216)

match

This command defines the criteria used to classify traffic. Use the no form to delete
a the matching criteria.

Syntax

[no] match {access-list acl-name | ip dscp dscp-list | ip precedence

ip-precedence-list | vlan vlan-list}

acl-name - Name of the access control list. Any type of ACL can be

specified, including standard or extended IP ACLs and MAC ACLs.
(Range: 1-16 characters)

dscp-list - List of DSCP values. Up to 8 values can be specified, each

separated by a space. (Range: 0-63)

ip-precedence-list - List of IP Precedence values. Up to 8 values can be

specified, each separated by a space. (Range: 0-7)

vlan-list - List of VLANs. Up to 30 VLANs can be specified, each separated

by a space. A range of VLANs can be entered using a hyphen.
(Range:1-4094)

Default Setting

None

Command Mode

Class Map Configuration

Command Usage

• First enter the class-map command to designate a class map and enter the

Class Map configuration mode. Then use the match command to specify the
fields within ingress packets that must match to qualify for this class map.

• Only one match command can be entered per class map.

Console(config)#class-map rd_class match-any
Console(config-cmap)#match ip dscp 3
Console(config-cmap)#

Advertising