accept-source-mac (SRX)
Syntax
accept-source-mac { mac-address mac-address; }
Hierarchy Level
[edit interfaces interface-name unit logical-unit-number]
Description
For Gigabit Ethernet (GE), Fast Ethernet (FE), or 10 Gigabit Ethernet (XE) interfaces, specify the MAC addresses from which the interface can receive packets. Ensure that you update the MAC address if the remote Ethernet card is replaced. Replacing the interface card changes the MAC address. If you do not update the MAC address, the interface cannot receive packets from the new card.
Software-based MAC limiting is supported on SRX300, SRX320, and SRX340 devices. A maximum of 32 MAC addresses is supported per device.
Options
mac-address
—MAC address filter. You can specify the MAC address
as six hexadecimal bytes in one of the following formats:
nn:nn:nn:nn:nn:nn:nn
(for
example, 00:11:22:33:44:55
) or nnnn:nnnn:nnnn
(for example, 0011.2233.4455
). You can configure
up to 32 source addresses. To specify more than one address, include
multiple mac-addresses
in the source-address-filter
statement.
Required Privilege Level
interface—To view this statement in the configuration..
interface-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 11.4.