beautypg.com

5 match destination-address mac, 6 match dstip – PLANET WGS3-24000 User Manual

Page 383

background image

383

Format

match class-map

Mode

Class-Map Config

Restrictions -

The class types of both and 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 the same as (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 class while still referenced by any shall fail.

The combined match criteria of and must be an allowed combination based on the class type.

Any subsequent changes to the 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

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

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

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 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

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

parameter specifies an IP address. The 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

This manual is related to the following products: