5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1166
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). Use the
[not]
option to negate the match condition.
match [not] source-address mac address macmask
Parameters
not
(Optional) Specify to negate the match condition.
address
Specifies any layer 2 MAC address.
macmask
Specifies a layer 2 MAC address bit mask.
Default
The default is None.
Command Mode
Class-Map Config
12-35 match srcip
This command adds to the specified class definition a match condition based on the source IP address of
a packet. The
ipaddr
parameter specifies an IP address. The
ipmask
parameter specifies an IP address
bit mask and must consist of a contiguous set of leading 1 bits. Use the
[not]
option to negate the match
condition.
match [not] srcip ipaddr ipmask
Parameters
not
(Optional) Specify to negate the match condition.
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
The default is None.
Command Mode
Class-Map Config
12-36 match srcip6
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...