Match Destination-Address Mac; Match Dstip - Planet Networking & Communication WGS3-2820 User Manual

Table of Contents

Advertisement

Format
match class-map <refclassname>
Mode
Class-Map Config
Restrictions - The class types of both <classname> and <refclassname> must be identical (i.e., any vs. any, or all vs. all). A
class type of acl is not supported by this command. Cannot specify <refclassname> the same as <classname> (i.e.,
self-referencing of class name not allowed).
At most one other class may be referenced by a class.
Any attempt to delete the <refclassname> class while still referenced by any <classname> shall fail.
The combined match criteria of <classname> and <refclassname> must be an allowed combination based on the class type.
Any subsequent changes to the <refclassname> class match criteria must maintain this validity, or the change attempt shall
fail.
The total number of class rules formed by the complete reference class chain (includes both predecessor and successor
classes) must not exceed a platform-specific maximum.
In some cases, each removal of a refclass rule reduces the maximum number of available rules in the class definition by one.
9.4.4.1 no match class-map
This command removes from the specified class definition the set of match conditions defined for another class. The
<refclassname> is the name of an existing DiffServ class whose match conditions are being referenced by the specified class
definition. Note: there is no [not] option for this match command.
Default
None
Format
no match class-map <refclassname>
Mode
Class-Map Config

9.4.5 match destination-address mac

This command adds to the specified class definition a match condition based on the destination MAC address of a packet. The
<macaddr> parameter is any layer 2 MAC address formatted as six, two-digit hexadecimal numbers separated by colons (e.g.,
00:11:22:dd:ee:ff). The <macmask> parameter is a layer 2 MAC address bit mask, which need not be contiguous, and is
formatted as six, two-digit hexadecimal numbers separated by colons (e.g., ff:07:23:ff:fe:dc). The optional [not] parameter has
the effect of negating this match condition for the class (i.e., match all destination MAC addresses except for what is specified
here).
Default
None
Format
match [not] destination-address mac <macaddr> <macmask>
Mode
Class-Map Config

9.4.6 match dstip

This command adds to the specified class definition a match condition based on the destination IP address of a packet. The
<ipaddr> parameter specifies an IP address. The <ipmask> parameter specifies an IP address bit mask; note that although
similar to a standard subnet mask, this bit mask need not be contiguous. The optional [not] parameter has the effect of negating
this match condition for the class (i.e., match all destination IP addresses except for what is specified here).
Default
None
Format
match [not] dstip <ipaddr> <ipmask>
User's Manual of WGS3-2820/WGS3-5220
385

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wgs3-5220

Table of Contents