16 match source-address mac, 17 match srcip – Fortinet 548B User Manual
Page 371
- 371 -
7.21.2.16 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).
i
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
7.21.2.17 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 Setting
None
Command Mode
Class-Map Config