Configuration Commands
Page 112 7210 SAS D, E OS Router Configuration Guide
dst-mac
Syntax dst-mac ieee-address [mask]
no dst-mac
Context config>filter>mac-filter>entry>match
Description Configures a destination MAC address or range to be used as a MAC filter match criterion.
The no form of the command removes the destination mac address as the match criterion.
Default no dst-mac
Parameters ieee-address — The MAC address to be used as a match criterion.
Values HH:HH:HH:HH:HH:HH or HH-HH-HH-HH-HH-HH where H is a hexadecimal
digit
mask — A 48-bit mask to match a range of MAC address values.
This 48-bit mask can be configured using the following formats:
To configure so that all packets with a source MAC OUI value of 00-03-FA are subject to a
match condition then the entry should be specified as: 0003FA000000 0x0FFFFF000000
Default 0xFFFFFFFFFFFF (exact match)
Values 0x00000000000000 — 0xFFFFFFFFFFFF
etype
Syntax etype ethernet-type
no etype
Context config>filter>mac-filter>entry>match
Description Configures an Ethernet type II Ethertype value to be used as a MAC filter match criterion.
The Ethernet type field is a two-byte field used to identify the protocol carried by the Ethernet frame.
For example, 0800 is used to identify the IPv4 packets.
The Ethernet type field is used by the Ethernet version-II frames. IEEE 802.3 Ethernet frames do not
use the type field.The no form of the command removes the previously entered etype field as the
match criteria.
Default no etype
Format Style Format Syntax Example
Decimal
DDDDDDDDDDDDDD 281474959933440
Hexadecimal
0xHHHHHHHHHHHH 0xFFFFFF000000
Binary
0bBBBBBBB...B 0b11110000...B