match source-address
To identify a specific source MAC address as match criterion in a class map, use the match source-address
command in class map configuration mode. To remove a specific source MAC address from the matching
criteria for a class map, use the no form of this command.
match source-address mac address
no match source-address mac address
Syntax Description
Specifies a MAC addressmac
Specifies a source MAC address.
address
Command Default
No default behavior or values
Command Modes
Class map configuration
Command History
ModificationRelease
This command was introduced.Release 3.4.0
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
The match source-address command specifies a source address that is used as the match criterion against
which packets are checked to determine if they belong to the class specified by the class map.
To use the match source-address command, you must first enter the class-map command to specify the
name of the class whose match criteria you want to establish. If you specify more than one match
source-address command in a class map, only the last command entered applies.
This command is supported on an input service policy only.
Layer 2 match criteria on a Layer 3 target, or Layer 3 match criteria on a Layer 2 target is not allowed.
The match source-address command is supported on egress Layer 2 interfaces, Layer 2 subinterfaces, and
Layer 3 physical interfaces. Layer 3 physical interfaces are supported, because it is possible for a Layer 3
interface to have underlying Layer 2 subinterfaces.
The match source-address command is allowed on a policy map that is attached to an Ethernet interface.
The command is invalid on a policy that is attached to a Packet-over-SONET/SDH (POS) interface or a routed
VLAN subinterface.
The match 48-bit MAC address is specified in xxxx.xxxx.xxxx format on L2VPN PE interfaces.
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
58 OL-23235-03
Quality of Service Commands on the Cisco IOS XR Software
match source-address