match mac
Use this command to classify based on the mac address (can be source or destination or both)
Use the no command to remove the match configuration.
Command Syntax
match mac (src |dest ) (XX:XX:XX:XX:XX:XX| XX-XX-XX-XX-XX-XX |XXXX.XXXX.XXXX)
no match mac (src |dest )
Parameters
Mac
Ethernet mac address
Src
specifies the source mac
Dest
specifies the destination mac
XX:XX:XX:XX:XX:XX
MAC address option 1
XX-XX-XX-XX-XX-XX
MAC address option 2
XXXX.XXXX.XXXX
MAC address option 3
Default
No default value is specified
Command Mode
Class-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#class-map type qos C_QOS1
(config-cmap-qos)#match mac src 11:22:33:44:55:66
(config-cmap-qos)#match mac dest 3344.5566.7788
Last modified date: 07-14-2023