Command map

request interface mac

Set the MAC address on an interface.

Ze command

Registry path
request interface mac
Usage
request interface <name> mac <address>
Mode
Daemon
Wire method
ze-iface:interface-mac
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
none: this command takes no subcommand
Pipes, always
json, ndjson, table, text, yaml, raw, no-more, save
Pipes, when the answer has rows
match, count, first, last, display, fill
Pipes, while streaming
log
Pipes, local process only
save

Description

The address is written as xx:xx:xx:xx:xx:xx. Ze checks that form
before it calls the backend, so a malformed address is refused with its own message.

Arguments

NameTypeRequiredValuesSummaryDescription
namestringyesany value of this typeInterface nameThe interface that up, down, mtu and mac act on. Each of those commands inherits it, and migrate names its own interfaces instead.
addressstringyesany value of this typeMAC address, as xx:xx:xx:xx:xx:xxSix hexadecimal byte pairs separated by colons, in either case. The kernel device takes this address in place of the one it has.

Mapping status

No vendor equivalent has been curated yet for this Ze command.

Juniper Junos MX

No equivalent is listed for this vendor yet.

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

No equivalent is listed for this vendor yet.

VyOS

No equivalent is listed for this vendor yet.