Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

accept-source-mac (SRX)

date_range 30-May-24

Syntax

content_copy zoom_out_map
accept-source-mac {
    mac-address mac-address;
}

Hierarchy Level

content_copy zoom_out_map
[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.

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.

footer-navigation