Layer 2,3,IPv6+QoS Switch
_____________________________________________________________________________
Layer 2,3,IPv6+QoS Network Switch User Manual Version 0.1 Page: 376/970
6.18.2.18 match source-address mac
This command adds to the specified class definition a match condition based on the source
MAC address of a packet. The <address> 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 may not be contiguous, and
is formatted as six, two-digit hexadecimal numbers separated by colons (e.g., ff:07:23:ff:fe:dc).
NOTE: This command is not available on the Broadcom 5630x platform.
Syntax
match source-address mac <address> <macmask>
<address> - Specifies any layer 2 MAC address.
<macmask> - Specifies a layer 2 MAC address bit mask.
Default Setting
None
Command Mode
Class-Map Config
6.18.2.19 match srcip
This command adds to the specified class definition a match condition based on the source IP
address of a packet.
Syntax
match srcip <ipaddr> <ipmask
>
<ipaddr> specifies an IP address.
<ipmask> specifies an IP address bit mask; note that although it resembles a standard
subnet mask, this bit mask need not be contiguous.
Default