1784 CHAPTER 108: DEFINING CLASS COMMANDS

if-match

Syntax if-match[ not ] match-criteria

 

undo if-match [ not ] match-criteria

View

Class view

Parameters

not: Specifies to be the rule that does not match the specified matching rule.

 

match-criteria: Class match rules. The values are as follow:

 

Table 477 Values of matching rules for class

Value

Description

 

 

acl [ ipv6 ] { acl-number

Define ACL matching rule

name acl-name }

The acl-numberargument is the ACL number, which is in the range

 

 

of 2000 to 5999 for IPv4 ACLs and in the range of 2000 to 3999

 

and 10000 to 42767 for IPv6 ACLs.

 

The acl-nameargument is the ACL name. It is a non case-sensitive

 

string of 1 to 32 characters. It must begin with a to z or A to Z. It

 

cannot be all in order to avoid confusion.

any

Define matching rule for all packets.

classifier tcl-name

Define QoS matching rule; the class name is tcl-name, which is the

 

type of a string of characters in the range 1 to 31.

customer-vlan-id

Define customer VLAN ID matching rule; vlan-id-list is the list of

vlan-id-list

VLAN ID, and up to 8 IDs can be input. The ID is valued in the range

 

1 to 4094.

destination-mac

Define destination MAC address matching rule.

mac-address

 

dscp dscp-list

Define DSCP matching rule; dscp-list is the list of DSCP values, and

 

up to eight DSCP values can be input. The DSCP value is in the range

 

0 to 63. When it is displayed in characters, its value can be af11,

 

af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43,

 

cs1, cs2, cs3, cs4, cs5, cs6, cs7, default, ef.

inbound-interface interface-typeinterface-number

Define inbound interface matching rule; interface-type interface-number specifies the interface by type and number.

ip-precedence

Define IP precedence matching rule; ip-precedence-list is the list of

ip-precedence-list

ip-precedence and up to eight ip precedence can be input. The

 

ip-precedence is valued in the range 0 to 7.

mpls-exp exp-list

Define MPLS EXP precedence matching rule; exp-list is the list of EXP

 

and up to eight EXPs can be input. The EXP is valued in the range 0

 

to 7.

protocol

Define protocol matching rule; protocol-name is valued to be bgp,

protocol-name

bittorrent, citrix, cuseeme, dhcp, dns, edonkey, egp, eigrp,

 

exchange, fasttrack, finger, ftp, gnutella, gopher, gre, h323,

 

http, icmp, igmp, imap, ip, ipinip, ipsec, ipv6, irc, Kerberos,

 

l2tp, ldap, mgcp, napster, netbios, netshow, nfs, nntp, notes,

 

novadign, ntp, pcanywher, pop3, pptp, printer, rcmd, rip,

 

rsvp, rtcp, rtp, rtsp, secure-ftp,secure-http, secure-ima,

 

secure-irc,secure-ldap,secure-nntp,secure-pop,secure-teln,

 

sip, skinny, smtp, snmp, socks, sqlnet, sqlserver, ssh,

 

streamwor, sunrpc, syslog, telnet, tftp, unknown-o,

 

unknown-t,unknown-u,vdolive, winmx, xwindows.

Page 1784
Image 1784
3Com MSR 30, MSR 50 manual If-match, Undo if-match not match-criteria, Class view, Values of matching rules for class