Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

mac

 

Syntax

Hierarchy Level

  • For platforms with Enhanced Layer 2 Software (ELS):

  • For platforms without ELS:

  • For MX Series platforms:

Release Information

Statement introduced in Junos OS Release 9.2 for EX Series switches.

Hierarchy level [edit vlans vlan-name forwarding-options dhcp-security] introduced in Junos OS Release 13.2X50-D10. (See Using the Enhanced Layer 2 Software CLI for information about ELS.)

Hierarchy level [edit bridge-domains bridge-domain-name forwarding-options dhcp-security] introduced in Junos OS Release 14.1 for the MX Series.

Description

Configure the media access control (MAC) address or hardware address of the device connected to the specified interface.

Options

mac-address—Value (in hexadecimal format) of the address assigned to this device.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.