home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

interfaces dataplane <interface-name> mac <mac-addr>

Sets the MAC address of a data plane interface.

set interfaces dataplane interface-name mac mac-addr
delete interfaces dataplane interface-name mac

The default MAC address for an interface is the factory-set MAC address.

interface-name
The name of a data plane interface. For more information about the supported interface name formats, refer to Data Plane Interface.
mac-addr
A MAC address. The format of the address is six 8-bit numbers, separated by colons, in hexadecimal; for example, 00:0a:59:9a:f2:ba.

Configuration mode


interfaces {
    dataplane interface-name {
        mac mac-addr
    }
}

Use this command to set the media access control (MAC) address of a data plane interface.

Some data plane interfaces provide the ability to change their MAC addresses. This command allows you to change the MAC addresses of these interfaces.

Use the set form of this command to set the MAC address of an interface.

Use the delete form of this command to delete the MAC address of an interface, restoring the factory-assigned MAC address.