If-Match - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1784
C
108: D
HAPTER
EFINING

if-match

Syntax
View
Parameters
C
C
LASS
OMMANDS
if-match [ not ] match-criteria
undo if-match [ not ] match-criteria
Class view
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
acl [ ipv6 ] { acl-number
| name acl-name }
any
classifier tcl-name
customer-vlan-id
vlan-id-list
destination-mac
mac-address
dscp dscp-list
inbound-interface
interface-type
interface-number
ip-precedence
ip-precedence-list
mpls-exp exp-list
protocol
protocol-name
Description
Define ACL matching rule
The acl-number argument 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-name argument 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.
Define matching rule for all packets.
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.
Define customer VLAN ID matching rule; vlan-id-list is the list of
VLAN ID, and up to 8 IDs can be input. The ID is valued in the range
1 to 4094.
Define destination MAC address matching rule.
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.
Define inbound interface matching rule; interface-type
interface-number specifies the interface by type and number.
Define IP precedence matching rule; ip-precedence-list is the list of
ip-precedence and up to eight ip precedence can be input. The
ip-precedence is valued in the range 0 to 7.
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.
Define protocol matching rule; protocol-name is valued to be bgp,
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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents