Command map

create interface address

Add an IP address to an interface.

Ze command

Registry path
create interface address
Usage
create interface address <name> <prefix>
Mode
Daemon
Wire method
ze-iface:interface-addr-add
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 interface must already exist.

Arguments

NameTypeRequiredValuesSummaryDescription
namestringyesany value of this typeInterface nameThe interface that receives the address. This form creates no interface, so the name must be present in the kernel before the command runs.
prefixunionyesany value of this typeAddress in CIDR formAn IPv4 or IPv6 address with its prefix length, for example 10.0.0.1/24. Ze passes the string to the netlink backend.

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.