Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

accept-source-mac

Syntax

Hierarchy Level

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.

Note:
  • 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.