Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

mac

Syntax

mac mac-address;

Hierarchy Level

[edit interfaces interface-name]

Release Information

Statement introduced before Junos OS Release 7.4.

Description

Set the MAC address of the interface. You can configure the MAC address on the management Ethernet interface (fxp0 or em0) only.

Options

mac-address—MAC address. Specify the MAC address as six hexadecimal bytes in one of the following formats: nnnn.nnnn.nnnn or nn:nn:nn:nn:nn:nn. For example, 0011.2233.4455 or 00:11:22:33:44:55.

Required Privilege Level

interface—To view this statement in the configuration.

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

Published: 2013-08-01