Repository navigation
command catalog
Pre-Alpha. This page is auto-generated from
ze help command --json.
- clear (32)
- create (11)
- debug (4)
- delete (8)
- doctor (1)
- help (3)
- monitor (8)
- plugin (10)
- request (63)
- resolve (11)
- send (9)
- set (6)
- show (315)
- system (8)
- update (18)
| Command | Mode | Description |
|---|---|---|
clear bgp healthcheck |
daemon | Reset healthcheck probe to INIT |
clear bgp rib advertised |
daemon | Withdraw every route advertised to a peer. |
clear bgp rib in |
daemon | Remove all routes received from a peer. |
clear bgp rib out |
daemon | Re-advertise all routes to a peer. |
clear cymru cache address |
daemon | Remove the cached Cymru origin of one IP address. |
clear cymru cache all |
daemon | Remove every cached Cymru answer. |
clear debug |
daemon, offline | Clear the default debug profile. |
clear dns cache all |
daemon | Flush all DNS cache entries and reset all DNS cache counters. |
clear dns cache record |
daemon | Evict DNS cache entries for one record name, or one name and type when a type is provided. |
clear dns cache stats |
daemon | Reset DNS cache hit, miss, eviction, and expiry counters without removing cached entries. |
clear dns resolver cache all |
daemon | Empty every LAN DNS resolver cache. |
clear firewall domain-group |
daemon | Remove the addresses Ze cached for a domain group. |
clear interface counters all |
daemon | Zero the Rx/Tx counters for every managed interface. |
clear interface name counters |
daemon | Zero the Rx/Tx counters for one interface. |
clear irr as-set |
daemon | Remove the stored IRR dataset of an AS-SET. |
clear irr asn |
daemon | Remove the stored IRR dataset of an AS number. |
clear irr cache all |
daemon | Remove every cached IRR answer. |
clear irr cache as-set |
daemon | Remove the cached IRR answers of one AS-SET. |
clear isis adjacency all |
daemon | Tear down every IS-IS adjacency so neighbors re-form. |
clear isis counters |
daemon | Reset IS-IS observational counters and the SPF log. |
clear l2tp session all |
daemon | Disconnect every L2TP session on this box. |
clear l2tp session id |
daemon | Disconnect one subscriber session. |
clear l2tp tunnel all |
daemon | Tear down every L2TP tunnel on this box. |
clear l2tp tunnel id |
daemon | Gracefully tear down one L2TP tunnel. |
clear ospf counters |
daemon | Reset the OSPF SPF-run history. |
clear ospf neighbor all |
daemon | Tear down every OSPF adjacency so neighbors re-form. |
clear ospf process all |
daemon | Full OSPF reset: tear down every adjacency and re-run SPF. |
clear peeringdb cache all |
daemon | Remove every cached PeeringDB answer. |
clear peeringdb cache asn |
daemon | Remove the cached PeeringDB answers of one AS number. |
clear vpn ipsec sa all |
daemon | Tear down every IKE Security Association. |
clear vpn ipsec sa peer |
daemon | Tear down one peer's IKE Security Associations. |
clear vrrp statistics all |
daemon | Reset every VRRP virtual router's counters to zero. |
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Withdraws every route the selected peers' sessions hold in their Adj-RIB-Out, configured routes included, and the peers are left with nothing from Ze until routes are announced again. clear bgp rib out resends the same table instead. The selector is mandatory: clear bgp rib advertised alone is refused, and * is the explicit form for every peer. A family typed after its keyword, as family ipv4/unicast, limits the withdrawal to that family.
Mode: daemon | Wire: ze-bgp:rib-clear-advertised
Task support: forbidden
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. A selector that matches no peer is refused. | |
family |
string |
Address family to withdraw, such as ipv4/unicast | An address family such as ipv4/unicast. Absent, every family is withdrawn. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Wipes the Adj-RIB-In for the peers the selector matches. They will need to re-advertise everything (or you can send a route-refresh). The selector is mandatory: clear bgp rib in alone is refused, and * is the explicit form for every peer.
Mode: daemon | Wire: ze-bgp:rib-clear-in
Task support: forbidden
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The Adj-RIB-In of each peer it matches is wiped. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Triggers a full Adj-RIB-Out replay to the selected peers. Useful after a policy change to push updated attributes without tearing down the session. The selector is mandatory: clear bgp rib out alone is refused, and * is the explicit form for every peer. A family typed after its keyword, as family ipv4/unicast, limits the replay to that family.
Mode: daemon | Wire: ze-bgp:rib-clear-out
Task support: forbidden
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The Adj-RIB-Out of each peer it matches is replayed. | |
family |
string |
Address family to replay, such as ipv4/unicast | An address family such as ipv4/unicast. Absent, every family the session negotiated is replayed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes the origin of one address. The name of the AS it pointed at stays cached, because it belongs to the AS. The answer reports found true when any owner held it, removed, and the owners rows.
Mode: daemon | Wire: ze-resolve:clear-cymru-cache-address
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
ip-address |
union |
yes | IP address to clear. | An IPv4 or IPv6 address. Any spelling of the address finds the entry, so 2001:DB8::1 and 2001:db8:0::1 are the same key. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes the address origins and the AS names. The answer gives removed, the entries removed in total, and owners, one row per owner. The next lookup asks DNS again.
Mode: daemon | Wire: ze-resolve:clear-cymru-cache-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
It writes an empty profile into the default slot and applies it, so the stored default and the running daemon both stop. A named profile is not touched.
Mode: daemon, offline | Wire: ze-debug:clear-debug
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The entries and the four counters go together. Use clear dns cache stats to zero the counters and keep the entries, or clear dns cache record to evict one name.
Mode: daemon | Wire: ze-resolve:clear-dns-cache
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Add type <record-type> after the name to evict one type, and give no other tail. An unknown type is reported inside the answer rather than as an error.
Mode: daemon | Wire: ze-resolve:clear-dns-cache-record
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Record name to evict. | The cache key, compared as an exact string. Alone, it evicts every type cached under the name and the answer counts the entries removed. | |
type |
enum |
A, AAAA, MX, NS, TXT, CNAME, PTR
|
Optional DNS record type to evict for the named record. | Written after the type keyword, it evicts that one type and leaves the other types of the name in place. The answer reports found true or false. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The cached entries stay, so the next lookup is still served from the cache. Only the hit, miss, eviction and expiry counters go to zero.
Mode: daemon | Wire: ze-resolve:clear-dns-cache-stats
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Empties the answer and the negative cache, so the next query for any name goes upstream. The counters are kept.
Mode: daemon | Wire: ze-dnsresolver:clear-dns-resolver-cache
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Drops the group's addresses from memory and from the persisted cache, then re-applies the firewall tables. Config that still names the group fails to verify until it is resolved again with 'update firewall domain-group <name>'.
Mode: daemon | Wire: ze-firewall:clear-domain-group
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Domain group name | A group from the firewall configuration. The cache entries of that group's names are purged, and a name no group carries is an error. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One call resets every interface the backend manages, and the answer reports the scope as all. Nothing else about the interfaces changes.
Mode: daemon | Wire: ze-iface:clear-interface-counters
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Only the named interface is reset. Ze translates the name to its kernel device first, so a name bound to hardware by a selector clears the right port.
Mode: daemon | Wire: ze-iface:clear-interface-counters
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface whose counters are reset. The answer names it as the scope cleared, where clear interface counters all reports all. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes the stored dataset and pointer of one AS-SET. The answer names every consumer still referencing it; those consumers stop enforcing it, and it is not fetched again until update irr or a commit that newly names it.
Mode: daemon | Wire: ze-irr:clear-irr-as-set
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
as-set |
string |
yes | AS-SET name. | The RPSL set name the update stored, for example AS-EXAMPLE. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes the stored binding of the AS number and the dataset of the AS-SET it names. The answer names every consumer still referencing it; those consumers stop enforcing it, and it is not fetched again until update irr or a commit that newly names it.
Mode: daemon | Wire: ze-irr:clear-irr-asn
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
asn |
union |
yes | AS number. | The AS number in plain decimal or in asdot notation, which Ze parses to one 32-bit value: 0 to 4294967295 in plain decimal, 0.0 to 65535.65535 in asdot. A spelling that parses to no AS number is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer gives removed, the entries removed in total, and owners, one row per owner with the entries it removed. The next lookup of each AS-SET queries the whois server again. An owner that does not answer makes the command an error naming it.
Mode: daemon | Wire: ze-resolve:clear-irr-cache-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes the members and the prefix list of one AS-SET and keeps the other entries, at every owner. The answer reports found true when any owner held one, removed, and the owners rows.
Mode: daemon | Wire: ze-resolve:clear-irr-cache-as-set
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | AS-SET name to clear. | The AS-SET name, compared as an exact string: give it as it was looked up, for example AS-EXAMPLE. A name with a control character is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Adjacencies re-learn from the next Hello; the circuit is not closed and the configuration is unchanged.
Mode: daemon | Wire: ze-isis:clear-adjacency
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Monotonic Prometheus series are not reset; the SPF-run history is cleared.
Mode: daemon | Wire: ze-isis:clear-counters
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends CDN for all sessions across all tunnels. The tunnels stay up. Use with care.
Mode: daemon | Wire: ze-l2tp:session-teardown-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends a CDN to gracefully close the session. Pass the local session ID: clear l2tp session id <id> [reason <text>] [cause <code>].
Mode: daemon | Wire: ze-l2tp:session-teardown
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends StopCCN for all tunnels. Every subscriber session is disconnected. Use with care during maintenance.
Mode: daemon | Wire: ze-l2tp:tunnel-teardown-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends a StopCCN to the peer. Every session on this tunnel is disconnected. Pass the local tunnel ID: clear l2tp tunnel id <id>.
Mode: daemon | Wire: ze-l2tp:tunnel-teardown
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Monotonic Prometheus series are not reset; the SPF-run log is cleared.
Mode: daemon | Wire: ze-ospf:clear-counters
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Adjacencies re-learn from the next Hello.
Mode: daemon | Wire: ze-ospf:clear-neighbor
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Every adjacency, in every configured instance, is torn down and SPF re-runs over every area. Adjacencies re-form from the next Hello; the configuration is unchanged.
Mode: daemon | Wire: ze-ospf:clear-process
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer gives removed, the entries removed in total, and owners, one row per owner with the entries it removed. The next lookup of each AS number queries PeeringDB again. An owner that does not answer makes the command an error naming it.
Mode: daemon | Wire: ze-resolve:clear-peeringdb-cache-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes the prefix counts and the AS-SET names of one AS number at every owner and keeps the other entries. The answer reports found true when any owner held one, removed, and the owners rows.
Mode: daemon | Wire: ze-resolve:clear-peeringdb-cache-asn
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
as-number |
union |
yes | AS number to clear. | The AS number in plain decimal or in asdot notation, which Ze parses to one 32-bit value. A spelling that parses to no AS number is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Every IKE SA and its Child SAs are terminated, and the answer counts them. Each tunnel whose config is still active WILL renegotiate.
Mode: daemon | Wire: ze-ike:clear-vpn-ipsec-sa
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Only the named peer's SAs are terminated. A name that matches no configured peer is refused.
Mode: daemon | Wire: ze-ike:clear-vpn-ipsec-sa-peer
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Peer name. | The peer name as configured under the IPsec connection. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Protocol state is untouched: clearing counters never triggers a failover.
Mode: daemon | Wire: ze-vrrp:clear-statistics
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
create agent skill |
daemon, offline | Install the ze skill for the operator's agent harnesses. |
create bgp peer |
daemon | Add a peer to the running daemon. |
create interface address |
daemon | Add an IP address to an interface. |
create interface bridge name |
daemon | Create a Linux bridge for L2 forwarding. |
create interface bridge name address |
daemon | Add an IP address to the bridge. |
create interface bridge name unit |
daemon | Add a VLAN sub-interface to the bridge. |
create interface dummy name |
daemon | Create a dummy (loopback-style) interface. |
create interface dummy name address |
daemon | Add an IP address to the dummy. |
create interface dummy name unit |
daemon | Add a VLAN sub-interface to the dummy. |
create interface unit |
daemon | Add a VLAN sub-interface (802.1Q tagged). |
create interface veth name |
daemon | Create a veth pair (two linked virtual Ethernet interfaces). |
At a shell, installs the ze stub skill for every harness found or for the one named, and with no harness found the shared stub Codex, OpenCode and Pi read. For Claude Code and Codex it also adds one session-start hook to the harness's settings file, leaving every other byte of that file as it was. Through the daemon, writes nothing and answers the stub a remote agent places.
Mode: daemon, offline | Wire: ze-skills:create-agent-skill
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
agent |
enum |
claude, codex, opencode, pi
|
Agent harness. | The one harness to act on. Without it create acts on every harness whose configuration directory exists, and show reports every harness Ze knows. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The peer address and 'asn' are required. Every other keyword is optional. Ze builds the peer, starts it, and dials the address unless 'connect false' says otherwise. Ze writes nothing to the configuration file, and a commit or a reload whose configuration does not declare the peer keeps it running. 'delete bgp peer' is how it leaves, and it does not change the file on disk either; 'update bgp config' writes the running peers to the file. An address that already names a peer is refused, and so is a keyword Ze cannot honor. Each name in 'attach' is bound to the whole surface: that process receives every message from this peer and can send every type toward it. Write the receive and send lists in the configuration file when the process needs less.
Mode: daemon | Wire: ze-bgp:peer-create
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
union |
yes | Address of the peer to create | The token typed after 'peer' is an IPv4 or IPv6 address and nothing else. A name, a glob or an AS pattern is refused, because a peer that does not exist yet matches none of them. An address that already names a peer is refused. | |
asn |
union |
yes | Remote AS of the peer, in any notation RFC 5396 names | The value is 1 to 4294967295, in asplain or asdot notation. Ze stores the decimal form whichever notation you typed. AS 0 is refused, because RFC 7607 reserves it. | |
local-as |
union |
Local AS for this session, overriding the router's, in any notation RFC 5396 names | The value is 1 to 4294967295, in asplain or asdot notation. Absent, the session uses the router's own AS. AS 0 is refused. | ||
local-address |
union |
Local address to bind the session to | The value is an IPv4 or IPv6 address of this router. Ze binds the TCP session to it. Absent, the kernel picks the source address. | ||
router-id |
string |
BGP Identifier for this session, overriding the router's | The value is a dotted quad and it MUST NOT be 0.0.0.0. Ze sends it as the BGP Identifier in the OPEN for this session. Absent, the session uses the router's own. | ||
receive-hold-time |
uint |
Hold time in seconds (RFC 4271) | The value is 0 to 65535 seconds and Ze puts it in the Hold Time field of its OPEN. The two peers then hold the lower of the two proposals. Absent, the value is 90. | ||
send-hold-time |
uint |
Send hold time in seconds, 0 for automatic (RFC 9687) | The value is 0 to 65535 seconds. A non-zero value MUST be at least 480 and more than the receive hold time, or the peer is refused. 0 derives it as the larger of 480 and twice the receive hold time. | ||
connect-retry |
uint |
ConnectRetry interval in seconds | The value is 0 to 65535 seconds and Ze reads it for a dynamic peer alone. A disconnected dynamic peer is removed after this delay when no connection comes back. A static peer reconnects on its own backoff, which this value does not change. Absent, the value is 120. | ||
connect |
enum |
true, false
|
Dial the peer, default true | The value is true or false and nothing else. With false, the session comes up only when the peer opens the TCP connection and 'accept' lets it in. | |
accept |
enum |
true, false
|
Accept a connection from the peer, default true | The value is true or false and nothing else. With false, the session comes up only when 'connect' lets Ze dial the peer. | |
family |
string |
Address families to negotiate, comma separated | Each name is an AFI/SAFI pair such as ipv4/unicast, and a name Ze does not know is refused. Ze negotiates each family in the OPEN. Absent, the session uses the configured default families. | ||
graceful-restart |
uint |
Graceful restart time in seconds (RFC 4724) | The value is 0 to 4095 seconds. It is the Restart Time Ze advertises in the graceful restart capability of its OPEN. Absent, the session advertises none. | ||
group-updates |
enum |
true, false
|
Group this peer's UPDATEs with other peers, default true | The value is true or false and nothing else. Packing reduces the number of UPDATE messages from one per route to one per set of path attributes. Use false for a peer that requires one prefix per UPDATE. | |
attach |
string |
Plugin processes bound to this peer, comma separated | Each name is a plugin process the configuration declares. Ze binds the peer to each one with the whole surface: the process receives every message from this peer and can send every type toward it. An empty name is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The interface must already exist.
Mode: daemon | Wire: ze-iface:interface-addr-add
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface that receives the address. This form creates no interface, so the name must be present in the kernel before the command runs. | |
prefix |
union |
yes | Address in CIDR form | An IPv4 or IPv6 address with its prefix length, for example 10.0.0.1/24. Ze passes the string to the netlink backend. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The command is idempotent. When a unit or address command under it fails, and this command created the bridge, the bridge is deleted again.
Mode: daemon | Wire: ze-iface:interface-create-bridge
Requires backend: netlink
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The name of the bridge to create. A name that holds an interface of another type is refused, and the error names both types. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: address, unit
The address is written in CIDR form, for example 10.0.0.1/32. The bridge is created first when it is absent, and deleted again when this step fails.
Mode: daemon | Wire: ze-iface:interface-addr-add
Requires backend: netlink
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The bridge that receives the address. The dispatcher creates it first when it is absent. | |
prefix |
union |
yes | Address in CIDR form | An IPv4 or IPv6 address with its prefix length, for example 10.0.0.1/32. Ze passes the string to the netlink backend. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The VLAN id is 1 to 4094, and the new interface is named <name>.<vid>. The bridge is created first when it is absent, and deleted again when this step fails.
Mode: daemon | Wire: ze-iface:interface-unit-add
Requires backend: netlink
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Parent interface name | The bridge the unit hangs off. The dispatcher creates it first when it is absent. | |
vid |
uint |
yes | VLAN ID | The 802.1Q tag of the unit. The new device is named <name>.<vid>, and a tag outside 1 to 4094 is refused before the backend is called. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The command is idempotent. When a unit or address command under it fails, and this command created the interface, the interface is deleted again.
Mode: daemon | Wire: ze-iface:interface-create-dummy
Requires backend: netlink
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The name of the dummy to create. A name that holds an interface of another type is refused, and the error names both types. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: address, unit
The address is written in CIDR form, for example 10.0.0.1/32. The dummy is created first when it is absent, and deleted again when this step fails.
Mode: daemon | Wire: ze-iface:interface-addr-add
Requires backend: netlink
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The dummy that receives the address. The dispatcher creates it first when it is absent. | |
prefix |
union |
yes | Address in CIDR form | An IPv4 or IPv6 address with its prefix length, for example 10.0.0.1/32. Ze passes the string to the netlink backend. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The VLAN id is 1 to 4094, and the new interface is named <name>.<vid>. The dummy is created first when it is absent, and deleted again when this step fails.
Mode: daemon | Wire: ze-iface:interface-unit-add
Requires backend: netlink
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Parent interface name | The dummy the unit hangs off. The dispatcher creates it first when it is absent. | |
vid |
uint |
yes | VLAN ID | The 802.1Q tag of the unit. The new device is named <name>.<vid>, and a tag outside 1 to 4094 is refused before the backend is called. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The parent interface must already exist.
Mode: daemon | Wire: ze-iface:interface-unit-add
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Parent interface name | The parent interface. This form creates no interface, so the name must be present in the kernel before the command runs. | |
vid |
uint |
yes | VLAN ID | The 802.1Q tag of the unit. The new device is named <name>.<vid>, and a tag outside 1 to 4094 is refused before the backend is called. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The peer name is the second value and is required. A second create of the same name changes nothing and reports that the pair is present.
Mode: daemon | Wire: ze-iface:interface-create-veth
Requires backend: netlink
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The name of the first end of the pair. A pair already present under that name is reported, and nothing changes. | |
peer |
string |
yes | Peer interface name | The name of the second end. Both ends appear in the kernel after the one command. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
debug ip ospf inject opaque |
daemon | Inject a crafted IPv4 opaque LSA into the local LSDB (RFC 5250). |
debug ipv6 ospf inject lsa |
daemon | Inject a crafted OSPFv3 LSA into the local LSDB (RFC 5340). |
debug ospf inject disable |
daemon | Disable OSPF debug LSA injection. |
debug ospf inject enable |
daemon | Enable OSPF debug LSA injection (shared across both address families). |
The default Opaque Type is Private-Use so a test LSA never collides with a standards-track consumer. Requires `debug ospf inject enable`.
Mode: daemon | Wire: ze-ospf:debug-inject
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: hex, id, scope, tlv, type, withdraw
The flooding scope is derived from the LS Type S2/S1 bits (a reserved scope is rejected). Requires `debug ospf inject enable`.
Mode: daemon | Wire: ze-ospf:debug-ospfv3-inject
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: hex, id, scope, type, withdraw
One flag covers both address families, so this stops IPv4 and IPv6 injection together. An inject after it fails with 'debug injection not enabled (run `debug ospf inject enable`)'. The flag is never written to the config, so a reboot returns the router to injection off.
Mode: daemon | Wire: ze-ospf:debug-inject-disable
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Off by default.
Mode: daemon | Wire: ze-ospf:debug-inject-enable
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
delete agent skill |
daemon, offline | Remove the ze skill from the operator's agent harnesses. |
delete bgp peer |
daemon | Remove a peer from the running config. |
delete data key |
daemon | Remove one runtime-state key from the daemon's store. |
delete debug module |
daemon, offline | Disable debug for a subsystem, or remove one of its flags or scopes. |
delete debug profile name |
daemon, offline | Delete a named debug profile. |
delete interface name |
daemon | Delete an interface from the kernel. |
delete interface name address |
daemon | Remove an IP address from an interface. |
delete interface name unit |
daemon | Remove a VLAN sub-interface. |
At a shell, removes the ze stub skill Ze installed, for the harness named or, with no agent or agent all, for every harness found, takes its session-start hook out of the harness's settings file, and leaves every file and hook Ze did not write. Through the daemon, writes nothing and answers the file a remote agent removes.
Mode: daemon, offline | Wire: ze-skills:delete-agent-skill
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
agent |
enum |
claude, codex, opencode, pi, all
|
Agent harness, or all. | The one harness to remove Ze's setup from. Without it, or with all, delete acts on every harness whose configuration directory exists. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Tears down the TCP session and deletes the peer from the running configuration. Does not modify the config file on disk.
Mode: daemon | Wire: ze-bgp:peer-delete
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | One peer: its address or peer name | The value is an IP address, a peer name, an AS pattern such as as65001, a glob. It names one peer: *, an exclusion such as !edge1, and a selector that matches more than one peer are refused, and a pattern or glob that matches exactly one peer is accepted. Ze tears down and deletes that peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes one runtime-state key (a key under meta/ outside meta/config/) through the store the daemon owns, so it works while ze runs. A configuration key (under file/ or meta/config/, or outside both) is refused before the store is touched, because a raw removal bypasses its versions, pointers and history. A key a plugin is granted is refused while that plugin runs, because the plugin manages the key while it runs; the refusal names the plugin and its restart. Until the daemon has started its plugins, such a key is refused, because the daemon cannot tell yet whether the plugin runs. A key the store does not hold is an error.
Mode: daemon | Wire: ze-config:data-key-delete
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
key |
string |
yes | Store key, as show data list prints it | The key to remove, as show data list prints it. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The module name alone removes the whole module. Naming a flag or a scope removes that one and leaves the module enabled. Deleting a module the profile does not hold succeeds and changes nothing, so a repeated command is safe.
Mode: daemon, offline | Wire: ze-debug:delete-module
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
module-name |
string |
yes | Subsystem name. | The subsystem name, as show debug lists it. | |
flag |
string |
Debug flag to remove. | The flag to remove. The module stays enabled. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: scope
It removes the stored slot and nothing else. The running daemon keeps whatever it is writing, so deleting the profile that is live does not turn its output off.
Mode: daemon, offline | Wire: ze-debug:delete-profile-name
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
profile-name |
string |
yes | Profile name. | A stored profile, as show debug profile lists it. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The dispatcher calls this same command to undo a compound create. An interface it created is deleted when the unit or address step after it fails.
Mode: daemon | Wire: ze-iface:interface-delete
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface to delete. The unit and address forms below keep this interface and remove one unit or one address of it. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: address, unit
Give the address in the same CIDR form it was added with. The interface stays, and only that address goes.
Mode: daemon | Wire: ze-iface:interface-addr-del
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface that holds the address. Its other addresses stay. | |
prefix |
union |
yes | Address in CIDR form | An IPv4 or IPv6 address with its prefix length. Ze passes the string to the netlink backend, so it must match the string the add used. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The VLAN id is 1 to 4094. The interface deleted is <name>.<vid>, so the parent interface stays.
Mode: daemon | Wire: ze-iface:interface-unit-del
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Parent interface name | The parent interface. Ze joins it with the VLAN id into <name>.<vid> and deletes that device. | |
vid |
uint |
yes | VLAN ID | The 802.1Q tag of the unit to remove. A tag outside 1 to 4094 is refused before the backend is called. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
doctor |
offline | Check that this system is ready to run Ze. |
The checks cover kernel features, file descriptor limits, listening sockets and the dependencies Ze needs. Run it before the first start, and again after a change to the platform.
Mode: offline
Pipes: not available
This command runs offline.
| Command | Mode | Description |
|---|---|---|
help |
read-only | Show available commands at this level. |
help ai |
offline | Print the agent reference this binary builds from its own registries. |
help command |
offline | List every command this binary carries with its summary. |
Lists every registered command verb with a brief description.
Mode: read-only | Wire: ze-meta:bgp-help
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The sections are cli, api, mcp, dispatch and all, and the answer renders as JSON for a program to read.
Mode: offline
Pipes: not available
This command runs offline.
A filter word keeps the commands whose path holds it, and the answer renders as JSON for a program to read.
Mode: offline
Pipes: not available
This command runs offline.
| Command | Mode | Description |
|---|---|---|
monitor bgp |
read-only | Live BGP peer dashboard that refreshes automatically. |
monitor event |
read-only | Stream live events as they happen. |
monitor interface rate |
read-only | Stream per-second traffic rates for your interfaces. |
monitor ping |
read-only, offline | Continuous ping with live loss and RTT statistics. |
monitor system netlink |
read-only | Watch kernel networking changes in real time. |
monitor traceroute |
read-only, offline | Live mtr-style traceroute that updates continuously. |
monitor traffic stat |
read-only | Start streaming traffic monitor (per-second snapshots). |
monitor vpn ipsec |
read-only | Watch IPsec SA events as they happen. |
Shows all peers with state, uptime, and prefix counts. State changes highlight as they happen. Ctrl-C to stop.
Mode: read-only | Wire: ze-bgp:monitor
Task support: required
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows a real-time feed of internal events. Filter with include <pattern> or exclude <pattern> to focus on what matters. Patterns match event type names.
Mode: read-only | Wire: ze-meta:event-monitor
Task support: required
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows rx/tx bytes and packets per second, updating every second. Optionally pass an interface name to watch just one link.
Mode: read-only | Wire: ze-iface:monitor-interface-rate
Task support: required
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Pings <target> until you stop it. Adjust interval and timeout as needed. Shows running min/avg/max RTT and packet loss.
Mode: read-only, offline | Wire: ze-ping:monitor-ping
Answer shape: tab
Address fields: target
Task support: required
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
destination |
string |
yes | Host or IP address to ping. | The value is the first bare word of the command, or follows the destination keyword. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6. | |
interval |
string |
Time between two echo requests. | The value is the time between two echo requests, in Go duration syntax, 100ms to 30s. Absent, the value is 1s. | ||
timeout |
string |
Time to wait for each reply. | The value is the time Ze waits for each reply, in Go duration syntax, 1s to 30s. Absent, the value is 5s. | ||
count |
uint |
Number of echo requests before the stream stops. | Ze sends this many echo requests and stops. Absent, the stream runs until you stop it, and the one-shot answer of the API surfaces sends 5. | ||
size |
uint |
ICMP echo payload size in bytes. | Ze fills the payload to exactly this many bytes, with its marker copied into the front. Absent, Ze sends the small default payload. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Streams netlink events: route adds and deletes, link state changes, address assignments. Filter with route, link, address, or all.
Mode: read-only | Wire: ze-iface:monitor-system-netlink
Task support: required
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows each hop with running RTT statistics. Keeps probing so you can watch path changes and latency shifts over time.
Mode: read-only, offline | Wire: ze-traceroute:monitor-traceroute
Answer shape: tab
Address fields: addr
Task support: required
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
destination |
string |
yes | Host or IP address to trace. | The value is the first bare word of the command, or follows the destination keyword. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6. | |
max-hops |
uint |
Maximum number of hops. | The value is the largest time-to-live the stream probes. Absent, the stream probes 30 hops, and the one-shot round of the API surfaces probes 16. | ||
timeout |
string |
Timeout duration, accepted and not read. | The value is accepted in Go duration syntax, 1s to 30s, and then not read: each probe round waits one second for every answer. | ||
probes |
uint |
Number of probes per hop, accepted and not read. | The value is accepted in the range 1 to 10 and then not read: a probe round sends one probe at each time-to-live. | ||
do-not-fragment |
enum |
honor-cache, bypass-cache
|
Don't Fragment mode, accepted and not read. | The keyword takes one of two values, honor-cache or bypass-cache, as on show traceroute, and then neither is read: a probe round sends every probe with the Don't Fragment bit off. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, shows all interfaces. With 'name <interface>', filters to one interface.
Mode: read-only | Wire: ze-trafficstat:monitor-traffic-stat
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Interface name filter | The name of one interface, matched exactly against the interface names in each snapshot. Every other interface is left out of the stream. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Streams sa-up, sa-down, child-up, child-down, and child-rekey events. Use it to debug a tunnel flap or a rekey problem.
Mode: read-only | Wire: ze-ike:monitor-vpn-ipsec
Task support: required
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
plugin ack |
read-only | Choose sync or async event delivery. |
plugin command complete |
read-only | List the completion candidates for a partial plugin command. |
plugin command help |
read-only | Show one plugin command's summary, explanation, arguments, and source plugin. |
plugin command list |
read-only | List every command a plugin registered, with its summary. |
plugin encoding |
read-only | Choose json or text encoding for plugin events. |
plugin format |
read-only | Choose how BGP message bytes appear in events. |
plugin help |
read-only | List the subcommands the plugin verb accepts. |
plugin session bye |
read-only | Tell the daemon this session is disconnecting. |
plugin session ping |
read-only | Answer a health check with the daemon process id. |
plugin session ready |
read-only | Signal that this plugin process finished its initialization. |
sync: Ze waits for your plugin to acknowledge each event before sending the next one. Safer but slower. async: events fire without waiting, giving higher throughput at the cost of backpressure control.
Mode: read-only | Wire: ze-meta:bgp-plugin-ack
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The candidates come from the plugin registry only, and a command marked hidden is left out. A built-in command is never offered here.
Mode: read-only | Wire: ze-plugin:command-complete
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
partial |
string |
yes | Partial command text | The text typed so far. The candidates match it on a case-insensitive prefix over the plugin command names. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The name is looked up in the plugin registry only, so a built-in command is reported as unknown. The answer carries the summary, the long explanation, the argument form and the plugin that registered it.
Mode: read-only | Wire: ze-plugin:command-help
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Plugin command name | The full command name, as plugin command list prints it. A name no plugin registered fails with unknown plugin command. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each row carries the command name and its summary, and nothing else. Use plugin command help for the explanation, the argument form and the source plugin.
Mode: read-only | Wire: ze-plugin:command-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Controls how events are serialized in this session. JSON is structured and parseable; text is more compact.
Mode: read-only | Wire: ze-meta:bgp-plugin-encoding
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
hex and base64 are compact wire representations. parsed decodes attributes into structured fields. full includes both wire bytes and parsed content.
Mode: read-only | Wire: ze-meta:bgp-plugin-format
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer is the two words session and command. It is a constant of the daemon, so it does not grow when a plugin registers a command.
Mode: read-only | Wire: ze-plugin:help
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The daemon answers goodbye. It holds no per-client state today, so the command frees nothing and is a courtesy.
Mode: read-only | Wire: ze-plugin:session-bye
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer carries the process id of the daemon process, not of the plugin that asked. The command takes no argument and never fails.
Mode: read-only | Wire: ze-plugin:session-ping
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The reactor counts one signal for each configured plugin process, and it stops waiting when the count reaches that total. A daemon that runs without a reactor accepts the command and acts on nothing.
Mode: read-only | Wire: ze-plugin:session-ready
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
request as112 healthcheck |
daemon | Send one authoritative query and check the AS112 answer. |
request bgp adj-rib-in accept-routes |
daemon | Install one pending route under the validation state given. |
request bgp adj-rib-in batch-validate |
daemon | Apply up to 256 validation decisions in one call. |
request bgp adj-rib-in disable-validation |
daemon | Remove RPKI gating without changing independent route authorization. |
request bgp adj-rib-in enable-validation |
daemon | Turn the validation gate on, so each new route waits in the pending state. |
request bgp adj-rib-in reject-routes |
daemon | Discard one pending route and do not install it. |
request bgp adj-rib-in replay |
daemon | Replay the stored routes of every other peer to one target peer. |
request bgp adj-rib-in revalidate |
daemon | Answer the installed routes of one prefix, so a validator can validate them again. |
request bgp rib attach-community |
daemon | Attach a community to stale routes for a peer family |
request bgp rib delete-with-community |
daemon | Delete stale routes that have a specific community |
request bgp rib fastpath |
daemon | Switch or report the zero-copy forward-handle fast path. |
request bgp rib inject |
daemon | Inject a synthetic route into the Adj-RIB-In. |
request bgp rib mark-stale |
daemon | Mark peer routes at stale level |
request bgp rib purge-stale |
daemon | Purge stale routes for peer |
request bgp rib release-routes |
daemon | Release retained peer RIB |
request bgp rib retain-routes |
daemon | Retain peer routes: <selector> [on-down] [family ...]; on-down delegates unretained withdrawals to the forwarding owner |
request bgp rib withdraw |
daemon | Withdraw a route from the Adj-RIB-In. |
request bgp rib withdraw-protocol |
daemon | Withdraw all routes for a peer under a protocol |
request bgp rib withdraw-router |
daemon | Withdraw all routes for a router under a protocol |
request bgp rpki validate |
daemon | Validate a prefix against the ROA cache |
request bgp watchdog announce |
daemon | Announce the routes of a watchdog. |
request bgp watchdog forget |
daemon | Withdraw and forget the routes an owner gave watchdogs. |
request bgp watchdog give |
daemon | Give a route to a watchdog, sent now or held. |
request bgp watchdog withdraw |
daemon | Withdraw the routes of a watchdog. |
request cache expire |
daemon | Remove a cached message immediately. |
request cache release |
daemon | Ack without forwarding (cache consumer) or undo retain (API). |
request cache retain |
daemon | Prevent eviction of a cached message. |
request commit |
daemon | Group route changes into named atomic commits. |
request config archive |
daemon | Save a snapshot of the current running configuration. |
request data backup |
daemon | Write a backup of the whole store to a file on the daemon's host. |
request data repair |
daemon | Write a salvage copy of the store to a new path on the daemon's host. |
request data restore |
daemon | Restore a config from a backup file on the daemon's host. |
request halt |
daemon | Dump goroutine stacks to stderr, then shut down as 'request shutdown' does. |
request interface down |
daemon | Shut down an interface. |
request interface mac |
daemon | Set the MAC address on an interface. |
request interface migrate |
daemon | Move IP addresses between interfaces with minimal downtime. |
request interface mtu |
daemon | Set the MTU on an interface. |
request interface up |
daemon | Bring an interface up. |
request l2tp outgoing-call remote called |
daemon | Place an LNS-side outgoing call (RFC 2661 S10.4). |
request log level |
daemon | Change a subsystem's log level without restarting. |
request mrt dump-rib |
daemon | Write the current RIB to the MRT table dump file. |
request ospf graceful-restart |
daemon | Trigger a planned OSPFv2 graceful restart (RFC 3623 section 2.1). |
request peer borr |
daemon | Start an Enhanced Route Refresh cycle (RFC 7313). |
request peer clear soft |
daemon | Soft-clear a peer without dropping the session. |
request peer disable |
daemon | Hold a peer administratively down. |
request peer enable |
daemon | Release a peer's administrative hold. |
request peer eorr |
daemon | Finish an Enhanced Route Refresh cycle (RFC 7313). |
request peer flush |
daemon | Wait until all queued updates for a peer are sent. |
request peer notify |
daemon | Close a peer session with a NOTIFICATION of any code and subcode. |
request peer pause |
daemon | Pause reading from a peer's TCP socket. |
request peer plugin session ready |
daemon | Signal that per-peer plugin setup is complete. |
request peer refresh |
daemon | Ask a peer to re-send all routes (RFC 2918). |
request peer resume |
daemon | Resume reading from a previously paused peer. |
request peer teardown |
daemon | Tear down a peer session. |
request plugin restart |
daemon | Restart a plugin, stopping it first if it runs. |
request quiesce |
daemon | Block until every subsystem has drained pending async work, then reply. |
request reboot |
daemon | Gracefully shutdown then reboot the system. |
request reload |
daemon | Reload the configuration without restarting. |
request shutdown |
daemon | Gracefully shutdown: drain connections, close peers, exit. |
request subscribe |
daemon | Start receiving events of one or more types. |
request support archive |
daemon, offline | Collect logs, config, state and diagnostics into one archive. |
request unsubscribe |
daemon | Stop receiving events you previously subscribed to. |
request wireguard keypair |
daemon, offline | Generate a WireGuard keypair. |
The query goes to an anycast service address, or to the given target. The exit code is 0 only when the expected AS112 answer comes back. Finding M4: the tool a healthcheck probe calls, since dig is not on the gokrazy appliance and 'ze resolve dns' cannot target a specific server.
Mode: daemon | Wire: ze-as112:health
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
target |
string |
Anycast service address to query. | An IP address, queried on port 53. When it is absent the query goes to the on-box loopback of the configured address family: 127.0.0.1, or ::1 when address-family is ipv6-only. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The fast path hands a forward handle to the Loc-RIB consumer without copying the route. enable and disable switch it, and status reports the counters. Each of the three answers the same counter snapshot.
Mode: daemon | Wire: ze-bgp:rib-fastpath
Task support: forbidden
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
action |
enum |
yes |
enable, disable, status
|
enable, disable or status | One of the three words. Any other word is refused by name. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Behaves as if the route was received from a peer. Use this for testing policy filters or simulating route announcements.
Mode: daemon | Wire: ze-bgp:rib-inject
Task support: forbidden
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes a previously injected or received route from a peer's Adj-RIB-In, triggering best-path recomputation.
Mode: daemon | Wire: ze-bgp:rib-withdraw
Task support: forbidden
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze announces every route of the watchdog to each peer that carries it, and the routes stay announced across a reconnect. The peer is every peer, *, or the one address typed after the name. A watchdog whose routes a process gave refuses med, because Ze cannot change the MED of an update text it did not write.
Mode: daemon | Wire: ze-bgp:watchdog-announce
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Watchdog name | The watchdog's name. med is refused as a name, because it is the keyword of the MED override. | |
med |
uint |
MED override | The MED the configured routes are announced with, in place of their own. Absent, each route keeps its configured MED. | ||
peer |
string |
Peer address, or * for every peer | The peer the routes are announced to, or * for every peer that carries the watchdog. Absent, the peer the command was sent for. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze takes every route the owner gave any watchdog off it, and withdraws the ones it holds announced. A later announce does not bring them back. The ExaBGP bridge sends it when the process that gave the routes exits.
Mode: daemon | Wire: ze-bgp:watchdog-forget
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
owner |
string |
yes | Owner of the given routes | The owner named when the routes were given. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
A process gives one route to a watchdog. The ExaBGP bridge sends it for an announce that names a watchdog. The route is sent now, or with withdraw held until 'request bgp watchdog announce <name>'. The same route given again replaces the first. The command reads: give <name> owner <owner> selector <selector> [withdraw] announce <n> <update text> withdrawal <update text> where n counts the words of the announce text, because update text has no word that cannot appear in it. A route the engine refuses to send is not kept.
Mode: daemon | Wire: ze-bgp:watchdog-give
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Watchdog name | The watchdog the route is given to. med is refused as a name. | |
owner |
string |
yes | Owner, selector, announce and withdrawal of the route | The owner, then selector <selector>, an optional withdraw, announce <n> <update text> and withdrawal <update text>. The owner names the process that gave the route, so 'request bgp watchdog forget <owner>' takes it back. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze withdraws every route of the watchdog from each peer that carries it, and holds them withdrawn across a reconnect until the next announce.
Mode: daemon | Wire: ze-bgp:watchdog-withdraw
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Watchdog name | The watchdog's name. med is refused as a name. | |
peer |
string |
Peer address, or * for every peer | The peer the routes are withdrawn from, or * for every peer that carries the watchdog. Absent, the peer the command was sent for. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The entry is removed at once rather than when its lifetime ends. The ID leaf accepts a comma-separated list, and each ID is acted on in turn with a failure reported per ID.
Mode: daemon | Wire: ze-bgp:cache-expire
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | Cache entry ID, or a comma-separated list of IDs. | One decimal cache entry ID, as show cache lists it, or several joined by commas. A comma-separated value runs the action once for each ID and reports a failure for each ID that is not in the cache. A value that is not a decimal number is refused as an invalid cache id. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The meaning depends on the caller. A cache consumer acknowledges the message and does not forward it. An API caller undoes an earlier retain. The ID leaf accepts a comma-separated list, and each ID is acted on in turn.
Mode: daemon | Wire: ze-bgp:cache-release
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | Cache entry ID, or a comma-separated list of IDs. | One decimal cache entry ID, as show cache lists it, or several joined by commas. A comma-separated value runs the action once for each ID and reports a failure for each ID that is not in the cache. A value that is not a decimal number is refused as an invalid cache id. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
A retained entry is not evicted when it expires, so it stays listed until 'release' undoes the retain or 'expire' removes it. The ID leaf accepts a comma-separated list, and each ID is acted on in turn with a failure reported per ID.
Mode: daemon | Wire: ze-bgp:cache-retain
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | Cache entry ID, or a comma-separated list of IDs. | One decimal cache entry ID, as show cache lists it, or several joined by commas. A comma-separated value runs the action once for each ID and reports a failure for each ID that is not in the cache. A value that is not a decimal number is refused as an invalid cache id. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Actions: start (begin a commit), end (finalize), eor (signal end of RIB), rollback (undo), show (inspect), withdraw (remove all routes in a commit), list (show all commits). Grammar: request commit <action> <name> [args].
Mode: daemon | Wire: ze-bgp:commit
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Captures the config into the store for later rollback or comparison. Optional name labels the snapshot; defaults to a timestamp.
Mode: daemon | Wire: ze-config:archive-trigger
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Copies every key of the store into one blob artifact while the daemon runs. A commit that lands meanwhile is in the backup whole or not at all. The file holds credentials and private keys and is written 0600.
Mode: daemon | Wire: ze-config:data-backup
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
path |
string |
yes | Absolute artifact path | Absolute path of the artifact. A relative path, a '..' element, a symlink, and every name the store owns in its folder are refused, each naming the rule it broke. | |
spare |
uint |
Spare capacity percent (0-100) | Spare capacity in percent that each key and data slot carries. An artifact is normally copied whole, so the default is 0. | ||
force |
flag |
Replace an existing file | Replace an existing file at path. It never lifts a refusal of a name the store owns. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Writes a salvage copy of the live store to a new store at path, holding every entry that reads, while the daemon runs. The daemon holds its own writes for the walk, so the copy is one moment of the store. The history of the copy is then repaired the way ze data repair repairs it. The answer carries the recovered and skipped counts and the path. The live store is not changed: installing the copy needs ze stopped.
Mode: daemon | Wire: ze-config:data-repair
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
path |
string |
yes | Absolute path of the new store | Absolute path of the new store. A relative path, a '..' element, a symlink, a path that exists, every name the store owns in its folder and a path inside the live tree are refused, each naming the rule it broke. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Stages the artifact's config as the candidate and runs the same reload a SIGHUP runs. The config becomes active only when the reload accepts it; a refused config leaves the active config and its pointers untouched. Nothing else in the store changes. With client, a hub writes the config it serves to that managed client instead, as a new version, and pushes config-changed to the client; the hub does not reload its own config.
Mode: daemon | Wire: ze-config:data-restore
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
path |
string |
yes | Absolute artifact path | Absolute path of the artifact, checked before it is read by the same rules as a backup path. | |
config |
flag |
Restore the config only | Restore the artifact's config only. A full restore replaces the whole store and runs offline with ze data restore. | ||
name |
string |
Config name inside the artifact | The config to take from an artifact that holds several. Without it, the artifact's only config, or the config named like this device, is taken. | ||
client |
string |
Managed client whose served config is restored | The managed client whose served config (client-<name>.conf) the restore writes. The daemon MUST be a hub with a client entry of this name. Without it, the restore replaces this daemon's own config through the reload. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze writes every goroutine stack through the daemon logger at warning level, with a 1 MB buffer, and then stops the way 'request shutdown' does, stop drain included. Use it where a daemon is stuck and the stacks are the evidence.
Mode: daemon | Wire: ze-plugin:system-daemon-quit
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Only the administrative state changes. A name bound to hardware by a selector is refused when the selector resolves to no device, so the shutdown cannot reach another port.
Mode: daemon | Wire: ze-iface:interface-down
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface that up, down, mtu and mac act on. Each of those commands inherits it, and migrate names its own interfaces instead. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
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.
Mode: daemon | Wire: ze-iface:interface-mac
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface that up, down, mtu and mac act on. Each of those commands inherits it, and migrate names its own interfaces instead. | |
address |
string |
yes | MAC address, as xx:xx:xx:xx:xx:xx | Six hexadecimal byte pairs separated by colons, in either case. The kernel device takes this address in place of the one it has. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Takes a source interface, a target interface, and the address to move. Adds addresses to the target before removing them from the source (make-before-break).
Mode: daemon | Wire: ze-iface:interface-migrate
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: address, create, from, timeout, to
The MTU is between 68 and 65535 bytes.
Mode: daemon | Wire: ze-iface:interface-mtu
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface that up, down, mtu and mac act on. Each of those commands inherits it, and migrate names its own interfaces instead. | |
bytes |
uint |
yes | MTU in bytes | The largest frame payload the interface accepts. A value outside 68 to 65535 is refused before the backend is called. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Only the administrative state changes. show interface reports the operational state, which a dummy, bridge or veth reports as unknown rather than up.
Mode: daemon | Wire: ze-iface:interface-up
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface that up, down, mtu and mac act on. Each of those commands inherits it, and migrate names its own interfaces instead. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Dials the named remote (which must have outgoing-calls enabled), sends OCRQ, and blocks until the call establishes or fails. On failure the cause and RFC 2661 Result Code are reported (auth reject, tie-breaker loss, peer CDN, or timeout).
Mode: daemon | Wire: ze-l2tp:outgoing-call
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
remote |
string |
yes | Configured l2tp/remote dial-target name. | The name of an l2tp/remote entry, which supplies the address and the shared secret Ze dials with. An unknown name, or an entry without outgoing-calls, is refused before any packet is sent. | |
called |
string |
yes | Called Number for the OCRQ. | The number the remote LAC dials, as free text. Ze copies it into the Called Number AVP of the OCRQ without validation, so its form is what the LAC accepts. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Takes effect immediately. Set to debug when troubleshooting, then back to info when you are done.
Mode: daemon | Wire: ze-log:bgp-log-set
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
logger |
string |
yes | Logger/subsystem name | The name of a registered logger, as 'show log levels' lists it. A name no logger registered is refused. | |
target |
enum |
yes |
disabled, debug, info, warn, err
|
Target log level | The level the logger writes at from now on. The value is matched without regard to case, and 'error' and 'warning' are accepted as spellings of err and warn. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The engine originates one Grace-LSA per interface, persists the non-volatile restart fact, and suppresses route churn so the FIB is retained across the ensuing control-plane restart. Refused when graceful-restart is not configured.
Mode: daemon | Wire: ze-ospf:graceful-restart-prepare
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Tells the peer to mark existing routes as stale. After re-sending, send EORR to purge anything not refreshed.
Mode: daemon | Wire: ze-bgp:peer-borr
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends ROUTE-REFRESH for every negotiated AFI/SAFI, causing the peer to re-send all routes. No session bounce, no traffic impact. The selector names one peer: *, an exclusion and a selector matching several peers are refused. refresh, borr and eorr act on every peer the selector matches.
Mode: daemon | Wire: ze-bgp:peer-clear-soft
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze closes a running session with Cease subcode 2, Administrative Shutdown, and opens none until 'request peer <selector> enable'. The words after disable are the RFC 9003 Shutdown Communication, and the answer echoes the text that fits on the wire.
Mode: daemon | Wire: ze-bgp:peer-disable
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. | |
message |
string |
Shutdown communication | Every word after disable, joined by one space. Absent, the Cease carries Administrative Shutdown as its communication. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze releases the hold of 'request peer <selector> disable' or of the peer shutdown container, and the peer connects straight away. It takes no argument.
Mode: daemon | Wire: ze-bgp:peer-enable
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The peer purges any routes not re-advertised since the matching BORR. Only send this after the peer has finished re-advertising.
Mode: daemon | Wire: ze-bgp:peer-eorr
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The command returns once the forward pool has drained, so a test asserts on what the peer received without a fixed sleep. A selector of '*' flushes every peer. The wait is bounded at 30 seconds.
Mode: daemon | Wire: ze-bgp:peer-flush
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze closes the session with a NOTIFICATION carrying the error code and error subcode given, any value from 0 to 255. Under Cease (6), subcode 2 or 4, the words after the subcode are the RFC 9003 Shutdown Communication; under every other pair they are the Data field. Both are sent as UTF-8. With no words the Data field is empty. A text that does not fit is refused and the session stays up: more than 128 octets under Cease 2 or 4 (RFC 9003 Section 3), more than 4075 octets otherwise, or text that is not UTF-8. With the word hex after the subcode, the next word is the Data field itself in hexadecimal, sent octet for octet with no encoding, and refused over 4075 octets. teardown is the Cease-only form; notify is the form for testing another implementation, and the hex form is the one the ExaBGP bridge sends for teardown with a code.
Mode: daemon | Wire: ze-bgp:peer-notify
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. | |
code |
uint |
yes | NOTIFICATION error code | The NOTIFICATION error code, a whole number from 0 to 255. | |
subcode |
uint |
yes | NOTIFICATION error subcode | The NOTIFICATION error subcode, a whole number from 0 to 255. | |
hex |
string |
Data field octets in hexadecimal | The Data field in hexadecimal, two digits for each octet, as one word typed after the keyword hex in place of a text. It is sent as it is, so it can carry octets that are not UTF-8 or a Shutdown Communication whose length octet is wrong. More than 4075 octets, an odd number of digits, or a character other than 0-9, a-f or A-F is refused. | ||
text |
string |
Data field text | Every word after the subcode, or after the keyword text, joined by one space. No word in it is read as a keyword, so a text can hold the words code, subcode, text or hex. Absent, the Data field is empty. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze stops reading the peer's socket and the session stays up, so nothing is withdrawn. The selector resolves to one peer and a wildcard is refused, because flow control acts on one read loop. 'request peer <selector> resume' restarts it.
Mode: daemon | Wire: ze-bgp:peer-pause
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The daemon closes this sending process's share of the peer's live-forward replay fence only for the captured peer-UP session token. Missing, stale or retired process receipts fail without releasing queued work. An explicit operator request is a no-op; it cannot credit a named process. A peer of '*', and an empty peer, signal nothing.
Mode: daemon | Wire: ze-bgp:plugin-session-peer-ready
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. | |
session |
string |
Captured peer-UP initial-replay token. | The opaque nonzero uint64 initial-replay token captured from the peer-UP event whose replay this process finished. Never fetch a new token to finish old replay work. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends a ROUTE-REFRESH message for the specified AFI/SAFI. The peer will re-advertise its entire Adj-RIB-Out.
Mode: daemon | Wire: ze-bgp:peer-refresh
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The read loop restarts after a flow-control pause. The selector resolves to one peer and a wildcard is refused, for the reason pause states. Nothing else about the session changes.
Mode: daemon | Wire: ze-bgp:peer-resume
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The subcode is the NOTIFICATION subcode for error code 6 and it takes 0 to 255. Ze sends an RFC 9003 Shutdown Communication with subcode 2, Administrative Shutdown, and with subcode 4, Administrative Reset, and with no other subcode. The message follows the subcode on the command line, and the answer echoes the truncated text that went on the wire. With no message, Ze sends the subcode's name, such as Administrative Shutdown, as the communication. The selector names one peer: *, an exclusion and a selector matching several peers are refused.
Mode: daemon | Wire: ze-bgp:peer-teardown
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | An address or peer name; * or a pattern for refresh, borr, eorr and flush | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'refresh', 'borr', 'eorr' and 'flush' act on every peer it matches. 'teardown', 'notify', 'disable', 'enable', 'pause', 'resume' and 'clear soft' act on one session: they refuse *, an exclusion such as !edge1, and a selector that matches more than one peer, and they accept a pattern or glob that matches exactly one peer. | |
cease-subcode |
uint |
yes | BGP cease NOTIFICATION subcode | The value is a whole number from 0 to 255, and a value outside that range is refused. Ze puts it in the Cease NOTIFICATION it sends before it closes the session. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Starts a configured plugin again. A stopped one starts: one its failure policy left stopped, one the respawn limit disabled (the order lifts the limit), one whose restart or startup handshake failed. A running one is stopped first, which cuts the commands it was serving, and started again with the running configuration; its failure policy is not applied. ze doctor names this command as the fix of doctor-plugin-stopped and of the rows a new process clears. A name no configuration or auto-load started is refused, and so is a restart a plugin asks for itself (its own request would never end), a restart while a config transaction is in flight, and a restart of a plugin whose removal by a reload is still pending. A restart whose old process has not finished its cleanup fails and leaves the plugin down until that cleanup ends.
Mode: daemon | Wire: ze-plugin:system-plugin-restart
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Name of the configured plugin to start again. | The plugin's configured name, as ze doctor and show health name it. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
It is a test and operator barrier that replaces a fixed sleep.
Mode: daemon | Wire: ze-plugin:system-quiesce
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze writes the accepted answer first, then runs the reboot. The answer message is 'reboot initiated'. A daemon with no reboot function configured fails with 'reboot not available'.
Mode: daemon | Wire: ze-plugin:system-daemon-reboot
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze reads the config from disk, verifies it with every plugin that asked for the config roots, and then applies it to each. Every plugin verifies before any plugin applies. A failure at any step answers 'reload failed: <error>'.
Mode: daemon | Wire: ze-plugin:system-daemon-reload
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze writes the accepted answer first and stops after, so teardown cannot close the requesting connection under its own reply. The answer message is 'shutdown initiated'. A daemon with no reactor uses the same signal-based teardown that SIGTERM triggers.
Mode: daemon | Wire: ze-plugin:system-daemon-shutdown
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Events are delivered asynchronously to your plugin session until you unsubscribe. Use 'show event list' to see available event types.
Mode: daemon | Wire: ze-cmd:bgp-subscribe
Task support: required
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The archive holds logs, config, state and diagnostics, and is what to send when you report an issue. Secrets are redacted unless asked for. Modules can be selected or excluded, and a time window narrows the logs the archive holds.
Mode: daemon, offline | Wire: ze-support:request-support-archive
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
module |
string |
Collect only these modules (comma-separated). | Only the named modules are collected, given as a comma-separated list of module names. Not given together with exclude. | ||
exclude |
string |
Collect every module except these (comma-separated). | Every module except the named ones is collected, given as a comma-separated list of module names. Not given together with module. | ||
since |
string |
Start the logs at this time or this long ago. | The logs the archive holds start at this time: a duration back from now (2h, 30m) or a date or time (2026-05-25, 2026-05-25T14:00:00Z). | ||
reason |
string |
Why the archive was collected, recorded in its manifest. | Free text recorded in the archive's manifest, cut at 256 characters. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Removes the subscription for the specified event type from your current plugin session.
Mode: daemon | Wire: ze-cmd:bgp-unsubscribe
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The private key is written on the first line and the public key on the second. Ze makes the keys itself, so no other program is needed.
Mode: daemon, offline | Wire: ze-diag:request-wireguard-keypair
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
resolve cymru asn-name |
read-only | Find out who owns an AS number. |
resolve dns a |
read-only | Look up IPv4 addresses (A records) for a hostname. |
resolve dns aaaa |
read-only | Look up IPv6 addresses (AAAA records) for a hostname. |
resolve dns ptr |
read-only | Reverse-lookup an IP address to its hostname (PTR). |
resolve dns txt |
read-only | Look up TXT records for a hostname. |
resolve irr expand |
read-only | Expand an AS-SET into its member AS numbers. |
resolve irr prefix |
read-only | Get all prefixes announced by an AS-SET's members. |
resolve peeringdb as-set |
read-only | Find the IRR AS-SET registered for an ASN in PeeringDB. |
resolve peeringdb max-prefix |
read-only | Get max-prefix limits for an ASN from PeeringDB. |
resolve ping |
read-only | Ping from the router with optional source binding. |
resolve traceroute |
read-only | Traceroute from the router with optional source binding. |
Queries Team Cymru DNS to return the organization name for the ASN.
Mode: read-only | Wire: ze-resolve:cymru-asn-name
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
asn |
union |
yes | AS number. | The AS number in plain decimal or in asdot notation, which Ze parses to one 32-bit value before the query. A spelling that parses to no AS number is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer is the list of IPv4 addresses. A valid cache entry answers without a query, and a fresh answer is cached for the TTL the server gave.
Mode: read-only | Wire: ze-resolve:dns-a
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
hostname |
string |
yes | Hostname to look up. | A DNS name of 1 to 253 characters, which the router's own resolver queries. The first word after the command is the name, and a call with no name is refused with a usage line. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer is the list of IPv6 addresses. A valid cache entry answers without a query, and a fresh answer is cached for the TTL the server gave.
Mode: read-only | Wire: ze-resolve:dns-aaaa
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
hostname |
string |
yes | Hostname to look up. | A DNS name of 1 to 253 characters, which the router's own resolver queries. The first word after the command is the name, and a call with no name is refused with a usage line. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The address is turned into its in-addr.arpa or ip6.arpa name before the query. The cache holds the answer under that name, so show dns cache record takes it in that form.
Mode: read-only | Wire: ze-resolve:dns-ptr
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
ip-address |
string |
yes | IP address to reverse-look-up. | An IPv4 or IPv6 address in its usual text form. The resolver turns it into the reverse name itself, so pass the address and not the in-addr.arpa name. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns all TXT strings.
Mode: read-only | Wire: ze-resolve:dns-txt
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
hostname |
string |
yes | Hostname to look up. | A DNS name of 1 to 253 characters, which the router's own resolver queries. The first word after the command is the name, and a call with no name is refused with a usage line. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Recursively resolves nested AS-SET objects via WHOIS into a flat list. Useful for building prefix filters from IRR data.
Mode: read-only | Wire: ze-resolve:irr-expand
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Expands the AS-SET, then returns every route/route6 object for each member ASN. Use this to build or verify prefix filters.
Mode: read-only | Wire: ze-resolve:irr-prefix
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Feed the result into 'resolve irr expand' to get the full member list.
Mode: read-only | Wire: ze-resolve:peeringdb-as-set
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
asn |
union |
yes | AS number. | The AS number in plain decimal or in asdot notation, which Ze parses to one 32-bit value before the query. A spelling that parses to no AS number is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns IPv4 and IPv6 prefix limits. Apply via the config editor.
Mode: read-only | Wire: ze-resolve:peeringdb-max-prefix
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
asn |
union |
yes | AS number. | The AS number in plain decimal or in asdot notation, which Ze parses to one 32-bit value before the query. A spelling that parses to no AS number is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The target takes a hostname or an address, and it accepts a zone suffix such as fe80::1%eth0. The source binds a local address and takes the same zone suffix. The count runs from 1 to 100 and the payload size from 1 to 65507 bytes. 'show ping' declares no source leaf and puts no upper bound on its count. The do-not-fragment keyword is the same word, with the same two values, on both.
Mode: read-only | Wire: ze-ping:resolve-ping
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
target |
string |
yes | Host or IP address to ping. | The value follows the target keyword. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6. | |
source |
string |
Source IP address to bind. | The value is a local IPv4 or IPv6 address, with an optional %zone, that Ze binds the echo socket to. Absent, the kernel picks the source. | ||
count |
uint |
Number of echo requests. | Ze sends this many echo requests and waits 5 seconds for each reply. Absent, the value is 4. | ||
size |
uint |
ICMP echo payload size in bytes. | Ze fills the payload to exactly this many bytes, with its marker copied into the front. Absent, Ze sends the small default payload. | ||
do-not-fragment |
enum |
honor-cache, bypass-cache
|
Set the Don't Fragment bit; honor-cache obeys the cached path MTU, bypass-cache ignores it. | The keyword takes one of two values. honor-cache sets the Don't Fragment bit and honors the kernel's cached path MTU: a probe larger than the cached value is refused at send time, and a router's Fragmentation Needed answer updates the cache. bypass-cache sets the bit and ignores the cached value, so the probe is put on the wire at its full size. Absent, the kernel fragments a probe larger than the path, which is the behavior of before the keyword existed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The options are source, max-hops, timeout and probes, each one a keyword and a value, and do-not-fragment, a keyword with one of two values. max-hops is 1 to 64 and defaults to 30, probes is 1 to 10 and defaults to 3, and timeout is 1s to 30s and defaults to 3s. The source also selects the address family: a target name is resolved in the family of the source, and a target with no address in that family is refused.
Mode: read-only | Wire: ze-traceroute:resolve-traceroute
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
target |
string |
yes | Host or IP address to trace to. | The value follows the target keyword. A host name is resolved in the family of the source, or in either family when no source is given, and a name with no address in that family is refused. | |
source |
string |
Source IP address to bind, whose family also selects the family the target is resolved in. | The value is a local IPv4 or IPv6 address, with an optional %zone, that Ze binds the probe socket to. Absent, the kernel picks the source. | ||
max-hops |
uint |
Largest time-to-live to probe. | The trace stops early when the target answers. Absent, the value is 30. | ||
timeout |
string |
Per-probe timeout, 1s to 30s, in Go duration syntax. | The value is the time Ze waits for one probe before it records a missing answer. Absent, the value is 3s. | ||
probes |
uint |
Number of probes per hop. | Each probe at one time-to-live reports its own round-trip time. Absent, the value is 3. | ||
do-not-fragment |
enum |
honor-cache, bypass-cache
|
Set the Don't Fragment bit; honor-cache obeys the cached path MTU, bypass-cache ignores it. | The keyword takes one of two values. honor-cache sets the Don't Fragment bit and honors the kernel's cached path MTU: a probe larger than the cached value is refused at send time, and a router's Fragmentation Needed answer updates the cache. bypass-cache sets the bit and ignores the cached value, so the probe is put on the wire at its full size. Absent, the kernel fragments a probe larger than the path, which is the behavior of before the keyword existed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
send bgp blackhole |
daemon | Originate a blackhole route on demand. |
send bgp cached |
daemon | Send a cached UPDATE to the peers the selector matches. |
send bgp flowspec |
daemon | Originate a FlowSpec rule on demand (RFC 8955). |
send bgp raw |
daemon | Send raw bytes into a peer's TCP stream (dangerous). |
send bgp unicast |
daemon | Originate a unicast route on demand. |
send bgp update |
daemon | Send a pre-built BGP UPDATE to a peer. |
send bgp withdraw all |
daemon | Withdraw every on-demand announcement. |
send bgp withdraw id |
daemon | Withdraw one announcement by the id that show announcements reports. |
send bgp withdraw tag |
daemon | Withdraw the announcements carrying a tag. |
This command attaches the BLACKHOLE community itself, so RFC 7999 Section 3.1 narrows the fan-out to the sessions that recorded the agreement.
Mode: daemon | Wire: ze-bgp:announce-blackhole
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. | |
prefix |
string |
yes | Prefix to blackhole, in CIDR form | The value is an IPv4 or IPv6 prefix with its length, such as 192.0.2.1/32. The address family of the route follows from the prefix. A value that is not a prefix is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: for, tag
The ID leaf accepts a comma-separated list, and the selector applies to each ID in that list. The command sends a message the cache already holds, so it names what goes on the wire and not the act of sending it.
Mode: daemon | Wire: ze-bgp:cache-forward
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. | |
id |
string |
yes | Cache entry ID, or a comma-separated list of IDs. | One decimal cache entry ID, as show cache lists it, or several joined by commas. A comma-separated value runs the action once for each ID and reports a failure for each ID that is not in the cache. A value that is not a decimal number is refused as an invalid cache id. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The match components come from ze-flowspec-cmd, which augments this container. They are the FlowSpec codec vocabulary, and the plugin that owns it declares them, so this module never restates another plugin's words. An augmented container carries no declaration order, so the components sort by name and land in front of the action and the options declared here.
Mode: daemon | Wire: ze-bgp:announce-flowspec
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: community, destination-ipv4, destination-ipv6, destination-port, discard, dscp, flow-label, for, fragment, icmp-code, icmp-type, next-header, packet-length, port, protocol, rate-limit, rd, source-ipv4, source-ipv6, source-port, tag, tcp-flags, traffic-class
Injects arbitrary bytes with no BGP framing and no validation. It is for conformance testing and fuzzing only, and it will break the session if it is used carelessly. With a type keyword ze writes the marker and the header, and the data carries the message body alone. Without a type keyword the data carries the whole packet, marker and header included.
Mode: daemon | Wire: ze-bgp:peer-raw
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. | |
encoding |
enum |
yes |
hex, b64
|
How the data below is encoded. | The word is required and it is typed before the data. Ze decodes the data with it, and data the decoder refuses is an error. |
data |
string |
yes | The bytes to send, in the encoding above. | The value is one token, the octets in the encoding named before it. With a type keyword after it, the octets are the message body alone. Without one, they are the whole packet, marker and header included. | |
type |
enum |
open, update, notification, keepalive, route-refresh
|
The BGP message type ze writes a header for. | The word is optional and any other word there is refused. With it, Ze writes the 16-byte marker and the length and type fields, and the data is the body. Absent, the data is sent as it is. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The address family follows the prefix, so it is ipv4 unicast or ipv6 unicast. The ORIGIN is IGP, and the next hop is this router unless next-hop names one.
Mode: daemon | Wire: ze-bgp:announce-unicast
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. | |
prefix |
string |
yes | Prefix to originate, in CIDR form | The value is an IPv4 or IPv6 prefix with its length, such as 192.0.2.0/24. The address family of the route follows from the prefix. A value that is not a prefix is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: community, for, next-hop, tag
The encoding word says how the rest of the line is read. text is the route syntax docs/architecture/api/update-syntax.md states, hex and b64 are wire octets, and cursor replays a stored position. 'show bgp encode' builds a hex payload. The tokens after the encoding word are that encoding's own grammar, and this model states the encoding alone.
Mode: daemon | Wire: ze-bgp:peer-update
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. | |
encoding |
enum |
yes |
text, hex, b64, cursor
|
How the tokens after this word are read. | The word is required and any other word there is refused before the handler runs. hex and b64 keep the structure of text with the octets in place of the words. cursor keeps the attributes of the last command per process and peer, so a later command names only what changed, and 'cursor done' clears them. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The selector typed after bgp decides the scope: name a peer to withdraw only the announcements made to it, or * for every one.
Mode: daemon | Wire: ze-bgp:withdraw-all
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Only a tagged announcement carries an id. The withdraw acts only when the selector typed after bgp is the one the announcement was made with, compared as text.
Mode: daemon | Wire: ze-bgp:withdraw-id
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. | |
id |
string |
yes | Announcement id, as show announcements reports it | The value is the whole number show announcements reports in its id column. A value that is not a number is refused, and an id that names no announcement of the selector answers 'not found'. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
A key of * withdraws every tagged announcement. An absent value withdraws every value of the key.
Mode: daemon | Wire: ze-bgp:withdraw-tag
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. The message goes to each session the selector matches. | |
key |
string |
yes | Tag key, or * for every tagged announcement | The value is the key an announcement was made with, compared as text. Ze withdraws each announcement made to the selector that carries it. A key of * withdraws every tagged announcement made to the selector. | |
value |
string |
Tag value, or every value of the key when absent | The value is the tag value an announcement was made with, compared as text. With it, Ze withdraws the announcements under the key that carry this value alone. Absent, or *, every value of the key is withdrawn. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
set debug active name |
daemon, offline | Load a named debug profile and apply it to the running daemon. |
set debug module |
daemon, offline | Enable debug output for one subsystem. |
set debug profile name |
daemon, offline | Save the current debug state as a named profile. |
set debug timeout |
daemon, offline | Set how long debug output stays enabled. |
set sysctl |
daemon | Set a transient sysctl value |
set system file-descriptors |
daemon | Raise the file descriptor limit for the daemon process. |
The named profile becomes the live state and the default slot is not overwritten, so a restart returns the daemon to the default profile rather than to this one.
Mode: daemon, offline | Wire: ze-debug:set-active-name
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
profile-name |
string |
yes | Profile name. | A stored profile, as show debug profile lists it. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The bare command enables the subsystem at its default level. A level, a flag or a scope narrows what the subsystem writes. The profile is saved and applied.
Mode: daemon, offline | Wire: ze-debug:set-module
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
module-name |
string |
yes | Subsystem name. | The subsystem name, as show debug lists it. A name holding a slash is refused. | |
level |
string |
Log level for the subsystem. | One of disabled, debug, info, warn or error. Any other word is refused. | ||
flag |
string |
Debug flag to enable. | A flag the subsystem declares. A flag it does not declare is refused and the valid flags are listed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: scope
It copies what the daemon is writing now into a named slot. The default slot is left as it is, so saving a profile does not change what the running daemon logs.
Mode: daemon, offline | Wire: ze-debug:set-profile-name
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
profile-name |
string |
yes | Profile name. | The slot the current state is saved under. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The duration is written as 30m, 1h or 90s. Seconds are rounded up to minutes, the longest accepted value is 24h, and zero disables the timer.
Mode: daemon, offline | Wire: ze-debug:set-timeout
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
duration |
string |
yes | How long debug stays enabled. | A duration such as 30m, 1h, 90s or 0. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: daemon
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Pass a number or 'max' to go to the hard limit. Takes effect immediately. Check current limits with 'show system file-descriptors'.
Mode: daemon | Wire: ze-host:set-system-file-descriptors
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
limit |
union |
max |
New limit or max for hard limit. | The value is the new soft limit on open descriptors, a count from 1 up to the hard limit, or the word max. Ze sets it with setrlimit and reports the previous, the current and the hard limit. Zero, or a count above the hard limit, is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
show aaa accounting |
read-only | Show AAA accounting counters and any dropped records. |
show agent context |
read-only, offline | Show what an agent session is told about this Ze. |
show agent skill |
read-only, offline | Show whether the ze skill is set up for each agent harness. |
show announcements |
read-only | List active on-demand announcements. |
show anomaly detect |
read-only | Show the recent behavioral anomaly incidents. |
show anomaly observe |
read-only | Show the behavioral anomaly incident lifecycle, newest first. |
show anomaly shape |
read-only | Show the shadow-first anomaly responder status. |
show arp |
read-only | Show the IPv4 ARP table (shortcut for 'show neighbor ipv4'). |
show as112 |
read-only | AS112 node status. |
show audit |
read-only | Show who did what and when on this box. |
show bfd profile |
read-only | Show BFD timer profiles with effective values. |
show bfd profile name |
read-only | Show one BFD profile by name. |
show bfd session address |
read-only | Show full detail for one BFD session. |
show bfd sessions |
read-only | List all active BFD sessions. |
show bgp |
read-only | BGP peers, sessions, RIB, and protocol tools. |
show bgp adj-rib-in |
read-only | Show the routes held for each peer, with the wire bytes and validation state of each. |
show bgp adj-rib-in status |
read-only | Show whether the Adj-RIB-In runs, its total route count, and the count for each peer. |
show bgp decode |
read-only, offline | Decode a hex-encoded BGP message into readable JSON. |
show bgp encode |
read-only, offline | Turn a route announcement into wire-format hex. |
show bgp health |
read-only | Quick health check for all your BGP peers. |
show bgp healthcheck |
read-only | Show healthcheck probe status |
show bgp irr |
read-only | Show IRR filter status per ASN. |
show bgp irr check |
read-only | Check if a prefix is accepted by the IRR filter. |
show bgp irr prefix |
read-only | Show IRR-resolved prefixes for a peer. |
show bgp peer capabilities |
read-only | Show what capabilities were negotiated with a peer. |
show bgp peer detail |
read-only | Show full detail for one or more peers. |
show bgp peer history |
read-only | Show FSM state transitions for a peer over time. |
show bgp peer list |
read-only | List your peers, one line each. |
show bgp peer rib |
read-only | Show RIB data scoped to one peer. |
show bgp peer statistics |
read-only | Show UPDATE throughput for your peers. |
show bgp reject-asn |
read-only | Show every reject-asn list. |
show bgp reject-asn known transit-free |
read-only | Print the curated transit-free ASNs as a config block. |
show bgp reject-asn name |
read-only | Show one reject-asn list. |
show bgp rib |
read-only | Query routes in the BGP RIB. |
show bgp rib best |
read-only | Show the winning route for each prefix. |
show bgp rib best status |
read-only | Check whether best-path computation is still running. |
show bgp rib commands |
read-only | List RIB commands |
show bgp rib events |
read-only | List RIB event types |
show bgp rib help |
read-only | Show RIB subcommands |
show bgp rib protocol |
read-only | Query the routes one protocol feeds into the RIB. |
show bgp rib rpf |
read-only | Reverse-path forwarding lookup in the Loc-RIB. |
show bgp rib status |
read-only | Get a quick RIB overview without dumping routes. |
show bgp rpki |
read-only | Show RPKI validation counters with one row for each cache server |
show bgp rpki aspa |
read-only | Show ASPA cache or lookup providers for a customer AS |
show bgp rpki cache |
read-only | Show RTR cache server sessions with protocol details |
show bgp rpki roa |
read-only | Show ROA table entries or lookup covering VRPs for a prefix |
show bgp rpki status |
read-only | Show RPKI validation status and cache server overview |
show bgp rpki summary |
read-only | Show RPKI validation summary with session and ASPA counts |
show bgp rs peers |
read-only | Show peer states |
show bgp rs status |
read-only | Show RS status |
show bgp update-delay |
read-only | Show the startup convergence hold and what it waits for. |
show bmp collectors |
read-only | Show BMP collector connection status. |
show bmp peers |
read-only | Show BGP peers as seen through BMP monitoring. |
show bmp rib |
read-only | Show routes received via BMP monitoring sessions. |
show bmp sessions |
read-only | Show active BMP receiver sessions. |
show cache |
read-only | List the cached BGP UPDATE message IDs. |
show capture |
read-only | Show captured control-plane messages. |
show capture interface |
read-only | Capture live packets on an interface (like tcpdump). |
show capture raw |
read-only | Control raw byte capture for protocol debugging. |
show class-of-service |
read-only | Show each class-of-service profile with its ingress and egress marking maps. |
show command catalog |
read-only | List every command this binary carries with its summary. |
show command complete |
read-only | Get tab-completion candidates for a partial command. |
show command help |
read-only | Show usage and arguments for a specific command. |
show command list |
read-only | List every command the daemon knows about. |
show command reference |
read-only | Print the agent reference this binary builds from its own registries. |
show config cat |
read-only, offline | Print the full text of a stored configuration snapshot. |
show config diff |
read-only, offline | Compare two configuration versions side by side. |
show config dump |
read-only, offline | Show the fully resolved configuration tree of a file. |
show config fmt |
read-only, offline | Pretty-print the configuration with consistent formatting. |
show config graph |
read-only, offline | Show how components and peers depend on each other, as JSON. |
show config history |
read-only, offline | List available configuration rollback points. |
show config list |
read-only, offline | List all configuration files stored in the database. |
show config running |
read-only | Show the configuration the running daemon applied. |
show config validation |
read-only, offline | Check a config for errors without applying it. |
show crashes |
read-only | View saved crash reports, and whether kernel capture is armed. |
show data cat |
read-only, offline | Print the value of a storage key. |
show data check |
read-only, offline | Check the integrity of the store's entries and config history. |
show data list |
read-only, offline | List the keys in the selected store. |
show data registered |
read-only, offline | List the key patterns registered by all subsystems. |
show ddos flowspec |
read-only | Show the upstream FlowSpec and RTBH DDoS mitigation status. |
show ddos incidents |
read-only | Show the recent DDoS incident ring (newest first). |
show ddos local |
read-only | Show the on-host DDoS mitigation status. |
show ddos status |
read-only | Show the DDoS observation status. |
show debug |
read-only | Show live debug state from the running daemon. |
show debug profile |
read-only, offline | Show stored debug profiles, one by name, or one filtered to a module subtree. |
show diagnostic |
read-only, offline | Explain one diagnostic code Ze printed. |
show dns cache list |
read-only | List all non-expired DNS cache entries, sorted by shortest TTL first. |
show dns cache record |
read-only | Show DNS cache entries for one record name. |
show dns cache stats |
read-only | Show the DNS cache hit, miss, eviction, expiry, and hit-rate counters. |
show dns lookup |
read-only | Look up a DNS name from the router. |
show dns resolver |
read-only | LAN DNS resolver status, cache and counters. |
show doctor |
read-only | Check if this box is ready to run Ze. |
show ecmp-groups |
read-only | Show each prefix the system RIB holds equal-cost paths for, whether or not Ze programs them. |
show env get |
read-only, offline | Show one environment variable in detail. |
show env list |
read-only, offline | List all Ze environment variables with their current values. |
show env registered |
read-only, offline | List every registered environment variable with metadata. |
show errors |
read-only | Show recent errors across all subsystems, newest first. |
show event delivery |
read-only | Show which peers feed which attached processes. |
show event list |
read-only | List every event type you can subscribe to. |
show event namespaces |
read-only | List all event namespaces and how many events each has logged. |
show event recent |
read-only | Show recent events, newest first. |
show fib kernel |
read-only | Show the routes this backend programmed into the Linux forwarding table. |
show fib p4 |
read-only | Show the routes this backend programmed into the P4 forwarding pipeline. |
show fib vpp |
read-only | Show the routes this backend programmed into the VPP forwarding table. |
show firewall domain-group |
read-only | Show what each configured domain group's DNS names resolve to. |
show firewall group |
read-only | Show members of a firewall address/port group. |
show firewall irr |
read-only | Show the IRR lists the firewall enforces. |
show firewall irr prefix |
read-only | Show the prefixes the firewall enforces for a reference. |
show firewall ruleset |
read-only | Show the live firewall ruleset with per-term counters. |
show flow export |
read-only | Show flow export (NetFlow/IPFIX) collector status. |
show flow recent |
read-only | Show recent conntrack flow records from the bounded recent-flow ring. |
show geodns |
read-only | Show the GeoDNS server status. |
show gnmi |
read-only | Show whether the gNMI server is running and how it is configured. |
show health |
read-only | Show the health of every component and the overall status of this box. |
show host |
read-only | Hardware inventory for this box. |
show host all |
read-only | Show the full hardware inventory in one shot. |
show host cpu |
read-only | Show what CPUs are in this box. |
show host dmi |
read-only | Show the box's identity from SMBIOS/DMI. |
show host kernel |
read-only | Show the running kernel version and boot parameters. |
show host memory |
read-only | Show installed memory and ECC health. |
show host nic |
read-only | Show physical NICs installed in this box. |
show host platform |
read-only | Show platform capabilities and constraints. |
show host storage |
read-only | Show storage devices attached to this box. |
show host thermal |
read-only | Show temperature sensors and thermal throttle events. |
show interface |
read-only, offline | Show network interfaces on this box. |
show interface brief |
read-only | One-line summary per interface: name, state, IP, and MTU. |
show interface delegated-prefix |
read-only | Show the /64 each LAN unit takes from a delegated prefix, and its source. |
show interface errors |
read-only | Show interfaces that have errors or drops. |
show interface name counters |
read-only | Show counters for one interface. |
show interface name detail |
read-only | Show full detail for one interface. |
show interface pppoe-client |
read-only | Show PPPoE client sessions, the DNS servers they learned and their delegated prefixes. |
show interface rate |
read-only | Show per-second traffic rates on your interfaces. |
show interface scan |
read-only | Discover and classify all OS interfaces. |
show interface type |
read-only | Show only interfaces of a given type. |
show irr |
read-only | Show the stored IRR datasets and their refresh schedule. |
show isis database |
read-only | Show the IS-IS link-state database. |
show isis database detail |
read-only | Show the IS-IS link-state database with TLV detail. |
show isis hostname |
read-only | Show the IS-IS dynamic-hostname mapping (RFC 5301). |
show isis interface |
read-only | Show IS-IS-enabled circuits. |
show isis neighbor |
read-only | Show IS-IS adjacencies. |
show isis route |
read-only | Show IS-IS-computed routes. |
show isis route ipv6 |
read-only | Show IS-IS-computed IPv6 routes (RFC 5308). |
show isis spf-log |
read-only | Show recent IS-IS SPF runs. |
show l2tp |
read-only | L2TP tunnel, session, and subscriber state. |
show l2tp config |
read-only | Show the resolved L2TP configuration. |
show l2tp cqm |
read-only | Show subscriber line quality (CQM latency buckets). |
show l2tp echo |
read-only | Show LCP echo health for a subscriber session. |
show l2tp health |
read-only | Find your worst L2TP sessions at a glance. |
show l2tp listeners |
read-only | Show which UDP sockets are listening for L2TP. |
show l2tp observer |
read-only | Show recent events for a session (debug aid). |
show l2tp pool |
read-only | Show the IPv4 and IPv6 subscriber address pools and what each has allocated. |
show l2tp reliable |
read-only | Show the reliable transport window for a tunnel. |
show l2tp session history |
read-only | Show state transitions for a session over time. |
show l2tp session id |
read-only | Show full detail for one L2TP session. |
show l2tp session traffic |
read-only | Show traffic counters for a subscriber's PPP interface. |
show l2tp sessions |
read-only | List all active L2TP sessions. |
show l2tp shaper |
read-only | Show each shaped subscriber session with its download and upload rate. |
show l2tp statistics |
read-only | Show aggregate L2TP protocol counters. |
show l2tp tunnel history |
read-only | Show state transitions for a tunnel over time. |
show l2tp tunnel id |
read-only | Show full detail for one L2TP tunnel. |
show l2tp tunnels |
read-only | List all active L2TP tunnels. |
show ldp binding |
read-only | Show LDP FEC-to-label bindings. |
show ldp neighbor |
read-only | Show LDP neighbors and their session state. |
show log levels |
read-only | Show what log level each subsystem is using. |
show log recent |
read-only | Show recent log entries from the in-memory ring. |
show metrics list |
read-only | List all registered metric names (no values). |
show metrics name |
read-only | Show one Prometheus metric by name. |
show metrics pool |
read-only | Show attribute pool memory usage and dedup efficiency. |
show metrics values |
read-only | Dump all metrics in Prometheus text format. |
show mpls forwarding |
read-only | Show MPLS forwarding entries installed in the data plane. |
show mtu |
read-only | Measure the path MTU and size the IPsec tunnels from it. |
show neighbor |
read-only | Show the ARP and neighbor discovery table. |
show nexthop-table |
read-only | Show each next hop the resolver tracks and the direct next hop it resolves to. |
show ospf |
read-only | Show the OSPFv2 process summary (RFC 2328). |
show ospf border-routers |
read-only | Show routes to OSPF area-border and AS-boundary routers. |
show ospf database |
read-only | Show the OSPF link-state database. |
show ospf database asbr-summary |
read-only | Show only ASBR-Summary-LSAs (Type 4). |
show ospf database external |
read-only | Show only AS-external-LSAs (Type 5). |
show ospf database network |
read-only | Show only Network-LSAs (Type 2). |
show ospf database nssa-external |
read-only | Show only NSSA-external-LSAs (Type 7, RFC 3101). |
show ospf database opaque-area |
read-only | Show only area-scope opaque-LSAs (Type 10, RFC 5250). |
show ospf database opaque-area detail |
read-only | Decode each area-scope opaque LSA body (RFC 5250). |
show ospf database opaque-as |
read-only | Show only AS-scope opaque-LSAs (Type 11, RFC 5250). |
show ospf database opaque-as detail |
read-only | Decode each AS-scope opaque LSA body (RFC 5250). |
show ospf database opaque-link |
read-only | Show only link-local opaque-LSAs (Type 9, RFC 5250). |
show ospf database opaque-link detail |
read-only | Decode each link-local opaque LSA body (RFC 5250). |
show ospf database router |
read-only | Show only Router-LSAs (Type 1). |
show ospf database router-information |
read-only | Show the Router Information LSAs (RFC 7770) for both address families. |
show ospf database summary |
read-only | Show only Summary-LSAs (Type 3, inter-area network). |
show ospf graceful-restart |
read-only | Show OSPFv2 (IPv4) Graceful Restart state (RFC 3623). |
show ospf instance |
read-only | Show the configured OSPFv2 instances (RFC 6549 Multi-Instance). |
show ospf interface |
read-only | Show OSPF-enabled interfaces. |
show ospf interface detail |
read-only | Show the full per-interface state (spec-ospf-ext-14). |
show ospf ipv6 |
read-only | Show the OSPFv3 (IPv6) address-family instances (RFC 5838). |
show ospf ipv6 database |
read-only | Show the OSPFv3 (IPv6) link-state database with each native scope-aware LSA decoded (RFC 5340). |
show ospf ipv6 database detail |
read-only | Decode every OSPFv3 LSA body with its scope-aware header (RFC 5340 section A.4.2.1). |
show ospf ipv6 database extended |
read-only | Show the extended OSPFv3 LSAs (RFC 8362). |
show ospf ipv6 database router detail |
read-only | Decode each OSPFv3 Router-LSA body. |
show ospf ipv6 database router-information |
read-only | Show the OSPFv3 Router Information LSAs (RFC 7770). |
show ospf ipv6 database scope area |
read-only | Show only area-scope (S2/S1 = 01) LSAs. |
show ospf ipv6 database scope as |
read-only | Show only AS-scope (S2/S1 = 10) LSAs. |
show ospf ipv6 database scope link |
read-only | Show only link-local (S2/S1 = 00) LSAs, including the per-interface Link-LSA store. |
show ospf ipv6 database segment-routing |
read-only | Summarise the OSPFv3 Segment Routing content (RFC 8666) carried in the RI and extended LSAs. |
show ospf ipv6 graceful-restart |
read-only | Show OSPFv3 (IPv6) Graceful Restart state (RFC 5187). |
show ospf ipv6 instance |
read-only | Enumerate the active OSPFv3 address-family instances (RFC 5838 section 2). |
show ospf ipv6 interface |
read-only | Show OSPFv3 (IPv6-family) interfaces and their RFC 4552 IPsec status. |
show ospf ipv6 interface detail |
read-only | Show the full per-interface OSPFv3 state (spec-ospf-ext-14). |
show ospf ipv6 neighbor |
read-only | Show the OSPFv3 (IPv6) neighbors. |
show ospf ipv6 neighbor detail |
read-only | Show the full per-neighbor OSPFv3 state (spec-ospf-ext-14). |
show ospf ipv6 segment-routing |
read-only | Show OSPFv3 (IPv6) Segment Routing state (RFC 8666). |
show ospf ipv6 spf |
read-only | Show the OSPFv3 (IPv6) per-area SPF run history. |
show ospf ipv6 spf detail |
read-only | Explain why each OSPFv3 route won (spec-ospf-ext-14), AF/Instance-ID tagged. |
show ospf ldp-sync |
read-only | Show OSPF LDP-IGP synchronization state (RFC 5443, RFC 6138). |
show ospf neighbor |
read-only | Show OSPF neighbors. |
show ospf neighbor detail |
read-only | Show the full per-neighbor state (spec-ospf-ext-14). |
show ospf route |
read-only | Show OSPF-computed routes. |
show ospf route fast-reroute |
read-only | Show OSPF fast-reroute (LFA / TI-LFA) backups (RFC 5286). |
show ospf segment-routing |
read-only | Show OSPFv2 (IPv4) Segment Routing state (RFC 8665). |
show ospf spf |
read-only | Show recent OSPF SPF runs. |
show ospf spf detail |
read-only | Explain why each route won the SPF calculation (spec-ospf-ext-14). |
show ospf te-database |
read-only | Show the OSPF Traffic Engineering Database (RFC 3630 / RFC 5392). |
show ospf virtual-links |
read-only | Show OSPF virtual links (RFC 2328 section 15). |
show ping |
read-only, offline | Ping a target from the router itself. |
show pki certificate name |
read-only | Inspect a specific certificate in detail. |
show pki certificate name bundle pem |
read-only | Export the certificate, its intermediates and its private key as one PEM stream. |
show pki certificate name fingerprint |
read-only | Show the hash of the certificate, to verify its identity against the one another system reports. |
show pki certificate name pem |
read-only | Export the certificate, and any intermediate it carries, as PEM. |
show pki certificates |
read-only | List all loaded certificates with expiry dates. |
show pki local-ca pem |
read-only | Export the root certificate of the local certificate authority as PEM. |
show plugin declarations |
read-only, offline | Show what each plugin declares about its command surface. |
show plugin declarations config |
read-only, offline | Read the plugin blocks of a config file as well. |
show plugin list |
read-only, offline | List the plugins compiled into this binary. |
show policy chain peer |
read-only | Show the import/export filter chain applied to a peer. |
show policy list |
read-only | List all available filter types and named instances. |
show policy routes |
read-only | Show policy-based routing rules. |
show policy test peer |
read-only | Test what your policy does to a specific UPDATE. |
show pppoe |
read-only | PPPoE session and protocol state. |
show pppoe interfaces |
read-only | Show which interfaces are accepting PPPoE sessions. |
show pppoe session id |
read-only | Show full detail for one PPPoE session. |
show pppoe sessions |
read-only | List all active PPPoE sessions. |
show pppoe statistics |
read-only | Show PPPoE protocol message counters. |
show probe-round |
read-only | Run a parallel traceroute probe round to a target. |
show reload-status |
read-only | Show how many config reloads the daemon has processed. |
show resolve rir |
read-only | Show which Regional Internet Registry holds an AS number. |
show rib |
read-only | Show each route the system RIB holds, with its family, next hop, protocol and equal-cost paths. |
show rib candidates |
read-only | Show every path each protocol offered the Loc-RIB, hidden ones included, with the import chain that hid each. |
show route |
read-only | Show the kernel routing table. |
show route lookup |
read-only | Look up which route the kernel would use for a given IP. |
show rr peers |
read-only | Show route reflector client peers. |
show rr status |
read-only | Show whether the route reflector is active. |
show rsvp-te fast-reroute |
read-only | Show RSVP-TE Fast Reroute (RFC 4090) protection state. |
show rsvp-te interface |
read-only | Show RSVP-TE bandwidth allocation per interface. |
show rsvp-te lsp |
read-only | Show RSVP-TE label-switched paths. |
show rsvp-te session |
read-only | Show each signaling session with its LSP state, role, bandwidth and labels. |
show rsvp-te tunnel |
read-only | Show configured RSVP-TE tunnels and their current state. |
show runtime memory |
read-only | Show the Go runtime allocator memory stats. |
show schema events |
read-only, offline | List all notification types defined in YANG API modules. |
show schema handlers |
read-only, offline | Show which handler serves each YANG module. |
show schema list |
read-only, offline | List all YANG schemas loaded by the daemon. |
show schema methods |
read-only, offline | List all RPC methods defined in YANG API modules. |
show schema protocol |
read-only, offline | Show the wire protocol version and format details. |
show skill |
read-only, offline | Fetch one bundled agent skill by name. |
show skills |
read-only, offline | List the agent skills this binary carries. |
show static |
read-only | Show static routes defined in the configuration. |
show status |
read-only | Show process status, uptime, and resource usage. |
show storage smart |
read-only | Show disk health via SMART data. |
show subscriber |
read-only | Show a summary of all subscriber sessions. |
show subscriber id detail |
read-only | Show everything about one subscriber session. |
show sysctl |
read-only | Show all active sysctl keys with source and persistence |
show sysctl key |
read-only | Show detail for one sysctl key |
show sysctl keys |
read-only | List all known sysctl keys with descriptions |
show sysctl profile |
read-only | Show detail for one sysctl profile |
show sysctl profiles |
read-only | List all registered sysctl profiles |
show system conntrack |
read-only | Show the kernel connection tracking table. |
show system cpu |
read-only | Show CPU utilization context for the daemon. |
show system date |
read-only | Show the daemon's current wall-clock time and timezone. |
show system dns |
read-only | Learned DNS resolvers and each consumer's dns-source selection. |
show system file-descriptors |
read-only | Show how many file descriptors the daemon has open. |
show system goroutines |
read-only | Dump goroutine stacks for debugging hangs or deadlocks. |
show system kernel-log |
read-only | Show kernel log messages (dmesg-style). |
show system memory |
read-only | Show how much memory the daemon is using, from the OS's view. |
show system ntp |
read-only | NTP clock synchronization status. |
show system ntp peers |
read-only | Show NTP peers with offset, RTT, stratum, and reachability. |
show system platform |
read-only | Show what kind of platform the daemon is running on. |
show system profile |
read-only | Capture a runtime profile for performance analysis. |
show system sockets |
read-only | Show open TCP and UDP sockets on this box. |
show system subsystem list |
read-only | List every registered subsystem and whether it is running. |
show system update |
read-only | Check if a firmware update is available. |
show system update history |
read-only | Show recent firmware update activity. |
show tcp-check |
read-only | Test TCP connectivity to a remote host and port. |
show traceroute |
read-only, offline | Trace the network path from this router to a target. |
show traffic control |
read-only | Show traffic control (QoS) configuration per interface. |
show traffic feature |
read-only | Show neutral per-source traffic feature signals. |
show traffic stat |
read-only | Show aggregated traffic snapshot (interface rates, top talkers, top ports, severity). |
show traffic usage |
read-only | Show per-interface traffic byte counters captured by eBPF TCX. |
show uptime |
read-only | Show how long the daemon has been running. |
show version |
read-only, offline | Show the running Ze version and build date. |
show vpn ipsec dataplane drift |
read-only | Compare what the IKE engine believes against what the kernel holds. |
show vpn ipsec dataplane policy |
read-only | Show the Security Policy Database the kernel holds. |
show vpn ipsec dataplane sa |
read-only | Show the Security Association Database the kernel holds. |
show vpn ipsec peer name |
read-only | Show full detail for one IPsec peer. |
show vpn ipsec sa |
read-only | Show all IKE and Child Security Associations. |
show vpn ipsec status |
read-only | Quick IPsec health check. |
show vpp runtime |
read-only | Show VPP graph node processing statistics. |
show vpp trace clear |
read-only | Discard the captured VPP trace buffer. |
show vpp trace show |
read-only | Retrieve packets captured since the last trace start. |
show vpp trace start |
read-only | Start capturing packets in the VPP dataplane. |
show vrrp |
read-only | Show every VRRP virtual router. |
show vrrp interface |
read-only | Show the VRRP virtual routers hosted on one interface. |
show vrrp interface name |
read-only | Show the VRRP virtual routers on one parent interface. |
show vrrp statistics |
read-only | Show per-virtual-router counters. |
show warnings |
read-only | Show active warnings across all subsystems. |
show yang completion |
read-only, offline | Show YANG paths available for tab completion. |
show yang doc |
read-only, offline | Generate command reference docs from YANG schemas. |
show yang tree |
read-only, offline | Print the YANG tree for a module in a readable hierarchy. |
Tells you whether TACACS+ accounting is working or if records are being lost due to server unreachability.
Mode: read-only | Wire: ze-aaa:show-accounting
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The lines a session-start hook puts in front of the agent: the Ze version, whether the daemon answers, and where the guide is. Through the daemon, the version and that the caller reached the daemon.
Mode: read-only, offline | Wire: ze-skills:show-agent-context
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
At a shell, reports for each harness the plugin knows whether it was found and whether the ze stub skill and, for Claude Code and Codex, the session-start hook are installed, and changes no file. Through the daemon, answers the stub a remote agent places, since the daemon cannot see the caller's home.
Mode: read-only, offline | Wire: ze-skills:show-agent-skill
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
agent |
enum |
claude, codex, opencode, pi
|
Agent harness. | The one harness to act on. Without it create acts on every harness whose configuration directory exists, and show reports every harness Ze knows. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each row carries the id, the tag, the family, the peer selector, the source and the creation time. An expiry time is present only when the announcement was made with for.
Mode: read-only | Wire: ze-bgp:show-announcements
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
tag |
string |
Show only announcements carrying this tag key | The value is a tag key, compared as text with the key each announcement was made with. Absent, announcements of every key are listed. | ||
selector |
string |
Show only announcements whose peer selector matches this pattern | The value is compared as text with the selector the announcement was made with, so it MUST be spelled the way that announcement spelled it. Absent, announcements to every selector are listed. | ||
family |
string |
Show only announcements of this address family | The value is an address family as the family column reports it, such as ipv4/unicast. Absent, announcements of every family are listed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each incident carries the source entity, the cohort, the fired features with their deviation z-scores, the combined score, and the severity. The detector only reports. The anomaly shape responder (Spec 2b) acts on the report.
Mode: read-only | Wire: ze-anomaly:show-anomaly
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Per incident: the source entity, cohort, fired features with their deviation z-scores, combined score, severity, start time, end time, and whether it is still active. Finalized incidents stay in the list, so this shows a finished incident's duration, which `show anomaly detect` cannot.
Mode: read-only | Wire: ze-anomaly:show-observe
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the mode (shadow or armed), the action, and the kill-switch state. It also returns the armed source entities with their live firewall actions.
Mode: read-only | Wire: ze-anomaly:show-shape
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists IPv4 ARP entries with MAC address and state. ARP is IPv4-only. Use 'show neighbor' for both families or 'show neighbor ipv6' for the IPv6 ND table.
Mode: read-only | Wire: ze-iface:show-arp
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Enabled, address-family, hostname/facility/location, allow-from count, served zone count, and the current SOA serial.
Mode: read-only | Wire: ze-as112:show-as112
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns audit log entries with timestamps, actors, and actions. Filters (all optional, combinable): action <type>, actor <name>, surface <name> (cli, web, api), since/until <RFC3339>, count <N>. Actions include config-commit, login, peer-teardown, and more.
Mode: read-only | Wire: ze-cmd:show-audit
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
action |
string |
Filter by action type | The value is an action name as the action column reports it, such as config-commit or login, compared as text. Absent, entries of every action are shown. | ||
actor |
string |
Filter by actor name | The value is the name of the user or process that acted, compared as text with the actor column. Absent, entries of every actor are shown. | ||
surface |
string |
Filter by surface name | The value is the surface the action came through: cli, web or api, compared as text. Absent, entries of every surface are shown. | ||
since |
string |
Start time (RFC3339) | The value is an RFC 3339 timestamp such as 2026-09-15T08:00:00Z, and any other form is refused. Entries recorded before it are left out. | ||
until |
string |
End time (RFC3339) | The value is an RFC 3339 timestamp such as 2026-09-15T18:00:00Z, and any other form is refused. Entries recorded after it are left out. | ||
count |
uint |
Maximum number of entries | The value is a whole number of 1 or more. The query stops after that many matching entries, oldest first. Absent, every matching entry is shown. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns min-tx, min-rx, and detect-multiplier after inheritance. Use 'show bfd profile' for every profile or 'show bfd profile name <name>' for one profile.
Mode: read-only | Wire: ze-bfd:show-profile
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: name
Give the profile name after the name keyword. The answer is one profile object, not a list. An unknown name fails with 'bfd: no profile named <name>'.
Mode: read-only | Wire: ze-bfd:show-profile
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Profile name | The name a bfd profile block declares in the configuration. The match is exact, and the values answered are the ones in effect after inheritance. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Pass the peer address. Returns local/remote discriminators, negotiated timers, detection time, and packet counters.
Mode: read-only | Wire: ze-bfd:show-session
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
address |
string |
yes | Peer address | An IPv4 or IPv6 address in its usual text form. A value that does not parse fails with bfd: invalid peer address before any lookup. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One line per session: peer address, state, negotiated tx/rx intervals, and detect multiplier.
Mode: read-only | Wire: ze-bfd:show-sessions
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Typed with no subcommand, lists every peer with state, ASN, prefixes received, and uptime. Optionally scope by address family: ipv4, ipv6, or l2vpn.
Mode: read-only | Wire: ze-bgp:overview
Answer shape: tab
Address fields: address
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Named chains:
-
peers-- The peer rows, without the aggregate fields (display peers) -
summary-- The aggregate fields, without the peer rows (display router-id local-as uptime peers-configured peers-established)
Subcommands: decode, encode, health, irr, peer, reject-asn, rib, update-delay
Mode: read-only
Answer shape: map
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Paste a hex BGP UPDATE and get back parsed attributes, NLRI, and withdrawn prefixes. Use it to read pcap captures or to debug wire issues. The web UI carries the same tool under tools.
Mode: read-only, offline | Wire: ze-bgp:show-decode
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
type |
enum |
open, update, notification, keepalive
|
Message type to decode as | Reads the message as this type. Without it, a message with a BGP header is read as the type its header names, and one without a header as an UPDATE body. | |
nlri |
string |
Decode as NLRI of this family | Reads the payload as NLRI alone, of this address family (afi/safi). | ||
family |
string |
Address family of an UPDATE | The address family an UPDATE body is decoded under (afi/safi). | ||
pcap |
string |
Capture file to decode | A packet capture to read every BGP message from, in the order the messages completed on the wire. | ||
plugin |
string |
Plugin that decodes first | A registered plugin that decodes capabilities and NLRI before the other registered decoders. The name alone forks the plugin, ze.<name> runs it in a goroutine and ze-<name> calls it in-process. A name no registered plugin decodes under is refused. A program path is taken only by the local ze bgp decode command's own option, since it names a program on the host the decode runs on. | ||
message |
string |
Hexadecimal message | The message in hexadecimal. Colons and spaces between the digits are stripped, so it may span several words. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Takes a route in API syntax and returns the BGP UPDATE as a hex string. Use it to build a test payload, to feed ze-test, or to verify that an announcement encodes correctly.
Mode: read-only, offline | Wire: ze-bgp:show-encode
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
family |
string |
Address family of the route | The address family the route is encoded for (afi/safi). Without it, ipv4/unicast. | ||
local-as |
uint |
Local AS number | The local AS number the UPDATE is built for. Without it, 65533. | ||
peer-as |
uint |
Peer AS number | The peer AS number. Equal to local-as, the UPDATE is built for an iBGP session. Without it, 65533. | ||
path-id |
enum |
include, omit
|
ADD-PATH path identifier | Whether each NLRI carries an ADD-PATH path identifier (RFC 7911). Without it, omit. | |
part |
enum |
message, body, nlri
|
Part of the UPDATE to answer | Which part of the UPDATE the answer carries: the whole message with its 19-octet header, the body without the header, or the NLRI alone. Without it, message. | |
asn-width |
enum |
two-octet, four-octet
|
AS number encoding width | How AS numbers are encoded: in two octets (RFC 4271) or in four (RFC 6793). Without it, four-octet. | |
announcement |
string |
Route to encode | The route in the API announcement syntax, such as route 10.0.0.0/24 next-hop 192.0.2.1. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists every peer with address, state, ASN, and uptime. Reports how many are not Established. Much faster than 'show bgp peer *' when you just need a status overview.
Mode: read-only | Wire: ze-bgp:show-health
Answer shape: tab
Address fields: peer
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: map
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each enrolled ASN with the AS-SET it is filtered by, the prefix counts of the stored copy the filter enforces, which copy that is (server, generation, checked-at, refreshed-at), and whether it could be read. The irr plugin fetches and stores the copies; show irr answers when each is due.
Mode: read-only | Wire: ze-bgp:show-irr-status
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: check, prefix
Reports whether the prefix would be accepted or rejected, and which entry matches.
Mode: read-only | Wire: ze-bgp:show-irr-check
Answer shape: doc
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
peer |
string |
yes | Peer address. | The address of an IRR-filtered peer, spelled as the configuration spells it. The prefix is evaluated against the list of the ASN that peer is enrolled under. An address no enrolled ASN carries is refused. | |
prefix |
string |
yes | Prefix to check (CIDR). | An IPv4 or IPv6 prefix in CIDR form, which Ze parses before the check. The answer echoes it and reports accepted true or false, with the entry that matched when one did. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists all IPv4 and IPv6 prefixes in the IRR-resolved prefix-list for the given peer address.
Mode: read-only | Wire: ze-bgp:show-irr-prefix
Answer shape: map
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
peer |
string |
yes | Peer address. | The address of an IRR-filtered peer, spelled as the configuration spells it. The plugin finds the ASN the peer is enrolled under and answers that ASN's prefix list. An address no enrolled ASN carries is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The row carries the peer address and the FSM state. Once the OPEN exchange completed, a negotiated map follows with the address families, the extended message capability, enhanced route refresh, and 4-byte ASN support. negotiated.paths-limit carries nonzero limits keyed by family: send is the peer's maximum paths per prefix enforced on our outbound updates; receive is our advertised receive request, not a locally enforced inbound limit. Zero or absent limits are omitted. A selector that matches no peer is refused with 'no matching peers'.
Mode: read-only | Wire: ze-bgp:peer-capabilities
Answer shape: tab
Address fields: peer
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. Every command under 'show bgp peer' reads the peers it matches, except 'list', which reads every peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each peer row carries the remote and local ASN, the router ID, the peer type, 'state' (the peer's lifecycle) and 'fsm-state' (the session's RFC 4271 Section 8.2.2 state, IDLE, ACTIVE, CONNECT, OPENSENT, OPENCONFIRM or ESTABLISHED), and four timers: receive hold time, send hold time, keepalive, and connect retry. The 'connect' and 'accept' flags say which directions this session opens. A 'messages' map counts OPEN, UPDATE, NOTIFICATION, KEEPALIVE, ROUTE-REFRESH and End-of-RIB in each direction. Negotiated nonzero PATHS-LIMIT values appear under capabilities.paths-limit, keyed by family: send is the peer's maximum paths per prefix enforced on our outbound updates; receive is our advertised receive request, not a locally enforced inbound limit. Zero or absent limits are omitted.
Mode: read-only | Wire: ze-bgp:peer-detail
Answer shape: tab
Address fields: local-ip, next-hop-address
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. Every command under 'show bgp peer' reads the peers it matches, except 'list', which reads every peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each row reads as a sentence: when the transition happened, the state it left, the state it reached, and the reason. Only the first matched peer is read, so a wildcard selector with no argument is refused with 'no peer specified'. A peer whose transitions were never recorded answers 'no history for peer'.
Mode: read-only | Wire: ze-bgp:peer-history
Answer shape: tab
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. Every command under 'show bgp peer' reads the peers it matches, except 'list', which reads every peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows name, address, ASN, state, and uptime. Quick overview without the per-peer detail.
Mode: read-only | Wire: ze-bgp:peer-list
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The command forwards to the RIB plugin with the peer selector attached, so the RIB plugin MUST be loaded for it to answer. 'show bgp rib' reads the same plugin without a peer scope.
Mode: read-only | Wire: ze-bgp:peer-rib
Answer shape: tab
Address fields: peer, next-hop
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. Every command under 'show bgp peer' reads the peers it matches, except 'list', which reads every peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each row carries the peer address, its ASN, the FSM state, and the session uptime. Six counters follow, for UPDATE, KEEPALIVE and End-of-RIB messages in each direction. Each rate is the cumulative counter divided by the uptime in seconds, so a session that is not established reports 0.
Mode: read-only | Wire: ze-bgp:peer-statistics
Answer shape: tab
Address fields: address
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. Every command under 'show bgp peer' reads the peers it matches, except 'list', which reads every peer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each configured reject-asn list with every ASN it holds, the effective position set for that ASN, the network the curated table names for it, and how many peers name the list on import and on export. An ASN the curated table does not know prints with no annotation.
Mode: read-only | Wire: ze-bgp:show-reject-asn
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Named chains:
-
peers-- The peer rows, without the aggregate fields (display peers) -
summary-- The aggregate fields, without the peer rows (display router-id local-as uptime peers-configured peers-established)
Subcommands: known, name
Prints the well-known transit-free ASNs as one `indirect [ ... ];` line to paste directly under `reject-asn NAME { }`, with the sources and the curated date as comments. Ze acts on no ASN it was not configured with, so this command is how the set reaches a config. After the paste the config holds the numbers, and a later change to the curated table cannot alter it.
Mode: read-only | Wire: ze-bgp:show-reject-asn-known-transit-free
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Named chains:
-
peers-- The peer rows, without the aggregate fields (display peers) -
summary-- The aggregate fields, without the peer rows (display router-id local-as uptime peers-configured peers-established)
The same answer for a single list, for a config that holds many.
Mode: read-only | Wire: ze-bgp:show-reject-asn-name
Answer shape: doc
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Reject-ASN list name | The name of one configured reject-asn list. A name no list carries is refused, and the answer names the missing list. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Named chains:
-
peers-- The peer rows, without the aggregate fields (display peers) -
summary-- The aggregate fields, without the peer rows (display router-id local-as uptime peers-configured peers-established)
Look at received or advertised routes with flexible filters: peer, family, prefix, AS path regex, community, match expression. Pipe operators: | count, | histogram, | graph. This is the main route inspection command.
Mode: read-only | Wire: ze-bgp:rib-routes
Answer shape: tab
Address fields: peer, next-hop
Task support: required
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Command-specific:
-
advertised-- Select advertised routes -
community<value>-- Filter by standard community -
count-- Count matching routes without serializing rows -
family<value>-- Filter by AFI/SAFI -
first<value>-- Take first N routes -
graph-- Render AS-path topology graph -
histogram-- Count routes by family and prefix length -
last<value>-- Take last N routes -
match<value>-- Cross-field structured match -
path<value>-- Filter by AS path -
peer<value>-- Filter by peer -
prefix<value>-- Filter by prefix -
received-- Select received routes
Subcommands: best, protocol, rpf, status
Same filters as 'show bgp rib'. Use '| reason' to see why each path was selected (local-pref, AS path length, MED, etc.).
Mode: read-only | Wire: ze-bgp:rib-best
Answer shape: tab
Address fields: best-peer, next-hop
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Command-specific:
-
community<value>-- Filter by standard community -
count-- Count matching best paths without serializing rows -
family<value>-- Filter by AFI/SAFI -
first<value>-- Take first N best paths -
graph-- Render AS-path topology graph -
histogram-- Count routes by family and prefix length -
last<value>-- Take last N best paths -
match<value>-- Cross-field structured match -
path<value>-- Filter by AS path -
peer<value>-- Filter by peer -
prefix<value>-- Filter by prefix -
reason-- Explain best-path selection
Subcommands: status
Reports idle, pending, or running, plus the last run duration.
Mode: read-only | Wire: ze-bgp:rib-best-status
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: map
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: map
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Answers the same rows as show bgp rib, limited to the Adj-RIB-In tables one protocol feeds. bgp reads the BGP peers. Every other protocol, bmp for example, reads the tables its monitored peers fill. The pipeline words after the protocol are the ones show bgp rib takes: peer <selector> limits the answer to the matching peers, then filters, then one terminal.
Mode: read-only | Wire: ze-bgp:rib-protocol
Answer shape: tab
Address fields: peer, next-hop
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
protocol |
string |
yes | Registered protocol name | The name of a registered protocol. The bgp-rib plugin refuses a name the protocol registry does not hold and names the registered ones. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Command-specific:
-
advertised-- Select advertised routes -
community<value>-- Filter by standard community -
count-- Count matching routes without serializing rows -
family<value>-- Filter by AFI/SAFI -
first<value>-- Take first N routes -
graph-- Render AS-path topology graph -
histogram-- Count routes by family and prefix length -
last<value>-- Take last N routes -
match<value>-- Cross-field structured match -
path<value>-- Filter by AS path -
peer<value>-- Filter by peer -
prefix<value>-- Filter by prefix -
received-- Select received routes
Performs a longest-prefix-match and returns the best-path entry. Use this to verify RPF checks would pass for a given source.
Mode: read-only | Wire: ze-bgp:rib-rpf
Answer shape: doc
Address fields: source, next-hop
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows total peers, received/accepted/advertised route counts, and per-family breakdowns. Use this to confirm convergence after a peer comes up.
Mode: read-only | Wire: ze-bgp:rib-status
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: tab
Address fields: address
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Named chains:
-
summary-- The validation counters, without the cache server rows (display vrp-count validation-enabled sessions-total sessions-established sessions-synced aspa-enabled aspa-records)
Mode: read-only
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: tab
Address fields: address
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: tab
Address fields: prefix
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: tab
Address fields: address
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill, resolve, origin
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The command takes no argument, because the hold belongs to the speaker and not to a peer. configured says an operator set bgp update-delay max-delay. holding says this speaker is withholding its first advertisement right now, and released says the hold has ended. reason names the condition that ended it: converged, establish-wait or max-delay. expected-peers, peers-held and peers-converged say what the hold is still waiting for, so you can name the neighbor that has not finished. Read this command when a speaker has come up and advertised nothing: it separates a hold that is working from a daemon that is wedged.
Mode: read-only | Wire: ze-bgp:update-delay
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists configured collectors with connection state, sent message counts, and error statistics. Check here if your collector is not receiving data.
Mode: read-only | Wire: ze-bgp:show-bmp-collectors
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists peers reported via BMP with their state and route statistics.
Mode: read-only | Wire: ze-bgp:show-bmp-peers
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the BMP RIB content. Use this to verify what your collector is seeing from remote peers.
Mode: read-only | Wire: ze-bgp:show-bmp-rib
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each session with connection state and message counters. Check here to confirm your BMP collector is receiving data.
Mode: read-only | Wire: ze-bgp:show-bmp-sessions
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer carries two keys, 'ids' and 'count'. An ID is listed while its entry is retained, or while that entry has not expired. The IDs come alone, with no retain flag and no consumer state beside them.
Mode: read-only | Wire: ze-bgp:cache-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns protocol messages you previously enabled capture for. Without a protocol keyword, shows all protocols. Use this to debug session establishment issues.
Mode: read-only | Wire: ze-diag:show-capture
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
protocol |
enum |
l2tp, bgp
|
Protocol filter. | Restricts the answer to one protocol key. Absent, the answer carries an l2tp key and a bgp key, each holding its messages or 'capture not enabled'. | |
tunnel-id |
string |
L2TP tunnel ID filter. | Keeps only the L2TP messages of the tunnel with this local tunnel ID. The BGP messages are not affected. | ||
count |
uint |
Maximum number of messages. | At most this many messages are returned for each protocol. Absent or 0, every buffered message is returned. | ||
peer |
string |
Peer address filter. | Keeps only the messages exchanged with this peer address, for L2TP and BGP alike. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: interface, raw
Uses AF_PACKET for zero-copy capture. Filter by protocol and port. Limit with count or duration. Output as pcap (for Wireshark) or text. Snap-len controls how many bytes per packet are captured.
Mode: read-only | Wire: ze-diag:show-capture-interface
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
iface |
string |
Interface name. | The interface name as the configuration spells it. Ze resolves it to the kernel device before it opens the socket. One capture at a time runs per interface, and a second call on the same name is refused. | ||
count |
uint |
Packet count. | The capture ends when this many packets have been read or when the duration has elapsed, whichever comes first. The default is 100. | ||
duration |
string |
Capture duration. | The time the socket stays open, from 1s to 60s. The default is 10s. The capture ends earlier when the packet count is reached. | ||
snap-len |
uint |
Snap length in bytes. | The number of bytes kept from the start of each packet. The default is 65535, which keeps whole packets. The value is written into the pcap file header. | ||
format |
enum |
pcap, text
|
Output format. | The default is pcap. Both forms carry a packets count with the data. | |
protocol |
string |
Protocol filter. | A pcap-filter word such as tcp or udp. Ze joins it to every other word after the interface name and compiles the whole expression to a BPF program on the socket. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Actions: start (begin capturing), stop (halt), dump (retrieve). Protocols: l2tp, bgp. Output formats: pcap (for Wireshark), json. Limit with count <N>.
Mode: read-only | Wire: ze-diag:show-capture-raw
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
action |
enum |
start, stop, dump
|
Capture action. | The verb the command performs. It is required, and a call without one is refused with the usage line. | |
protocol |
enum |
l2tp, bgp
|
Protocol to capture. | Narrows the action to one protocol. Absent, the action applies to every protocol with a raw capture, and the answer carries one key for each. | |
format |
enum |
pcap, json
|
Output format. | Read by dump alone. The default is json. With pcap the answer carries a <protocol>-pcap key holding the base64 file and a <protocol>-packets count. | |
count |
uint |
Maximum number of messages. | Read by dump alone. At most this many messages are returned for each protocol. Absent or 0, every captured message is returned. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Walks the YANG command tree and the local command registry, and prints one row per command with its summary.
Mode: read-only | Wire: ze-help:show-command-catalog
Answer shape: map
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
filter |
string |
Text a command's path or description must hold. | Keep only the commands whose path or description holds this text. A bare first word is the filter too. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns possible completions for the given input. Used internally by the CLI editor, but also callable for scripting.
Mode: read-only | Wire: ze-meta:bgp-command-complete
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Gives you the full description, expected arguments, and usage pattern for one command.
Mode: read-only | Wire: ze-meta:bgp-command-help
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns dispatch key and description for each. Useful for scripting or discovering commands not shown in the top-level help.
Mode: read-only | Wire: ze-meta:bgp-command-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The reference is generated from the registries of this binary, so it always matches the running version. With no section it prints a summary with counts.
Mode: read-only | Wire: ze-help:show-command-reference
Answer shape: blob
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
cli |
flag |
CLI subcommands. | Print the cli section: CLI subcommands. Sections combine. | ||
api |
flag |
Daemon API commands with parameters, update syntax, families and plugins. | Print the api section: Daemon API commands with parameters, update syntax, families and plugins. Sections combine. | ||
mcp |
flag |
MCP tools with parameters and examples. | Print the mcp section: MCP tools with parameters and examples. Sections combine. | ||
dispatch |
flag |
Dispatch keys for daemon commands. | Print the dispatch section: Dispatch keys for daemon commands. Sections combine. | ||
all |
flag |
Every section combined. | Print the all section: Every section combined. Sections combine. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Outputs the config as-is.
Mode: read-only, offline | Wire: ze-config-cli:show-config-cat
Answer shape: blob
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | Stored configuration snapshot id. | The value is a key that show config list prints. Ze reads that file from the configuration store and writes its bytes unchanged. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows what was added, removed, or changed. Commonly used with rollback revisions to review what changed before you roll back.
Mode: read-only, offline | Wire: ze-config-cli:show-config-diff
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Parses the config and outputs it after includes, defaults, and group inheritance have been applied. It reads the file you name, so it shows what the daemon would load from it. To see what a running daemon applied, use show config running.
Mode: read-only, offline | Wire: ze-config-cli:show-config-dump
Answer shape: doc
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
strip-private |
flag |
Replace sensitive values with a marker. | Replace every sensitive value in the answer with a marker, so the tree can be shared without its secrets. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Normalizes indentation and ordering. Output goes to stdout (read-only). To rewrite the file in place, use 'ze config fmt -w' from the CLI.
Mode: read-only, offline | Wire: ze-config-cli:show-config-fmt
Answer shape: blob
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
check |
flag |
Report whether formatting is needed | Answers whether the file needs formatting instead of the formatted text: exit 0 when it is formatted, 1 with the file named when it is not. | ||
diff |
flag |
Show what formatting would change | Answers the unified diff formatting would apply instead of the formatted text. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Prints the dependency graph of a config file as JSON. Inactive blocks are left out, so the graph is the one the daemon would build.
Mode: read-only, offline | Wire: ze-config-cli:show-config-graph
Answer shape: blob
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
file |
string |
yes | Config file path, or - for stdin. | The config file to read, or - to read it on stdin. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows revisions with timestamps and commit metadata. Pair with 'show config diff' to review changes before rolling back.
Mode: read-only, offline | Wire: ze-config-cli:show-config-history
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows archived snapshots and the active config.
Mode: read-only, offline | Wire: ze-config-cli:show-config-list
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The running daemon answers with the configuration it applied, from memory, not from a file. A reload the daemon refused leaves this answer unchanged, while the config file already holds the refused text. Secret values are replaced with a placeholder.
Mode: read-only | Wire: ze-config:show-config-running
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Both the grammar of the file and the meaning of its values are checked, and each problem is reported with the diagnostic code that explains it. Nothing is applied.
Mode: read-only, offline | Wire: ze-config-cli:show-config-validation
Answer shape: doc
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
file |
string |
yes | Config file path, or - for stdin. | The config file to check, or - to read it on stdin. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, lists every stored report with its kind: 'panic' for a Go panic this daemon caught, 'kernel' for a kernel fault recovered from the reserved region on the following boot. The listing also carries a readiness block, which reports configured and armed separately because the reservation is a kernel boot argument and a commit alone does not arm it. Use 'latest' to see the newest report or 'name <filename>' to print one. Send the output to support when reporting a crash.
Mode: read-only | Wire: ze-crashes:show-crashes
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Crash report name (used with 'name <filename>'). | The file name of one stored report, as the listing prints it. Ze reads that file from the crash directory and prints it. A name holding a slash or '..' is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Outputs the decoded value for the given storage key.
Mode: read-only, offline | Wire: ze-config-storage:show-data-cat
Answer shape: blob
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
key |
string |
yes | Storage key to print | The key of one entry, as show data list prints it. The bytes stored under it are written out unchanged, and a key the store does not hold is an error. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Checks every entry of the store and, when every entry decodes, its config history. The answer is the entry count and one row per corrupt entry and per history finding, with an error status when any row is an error. It reads the store and changes nothing, so it runs while ze runs; the daemon holds its own writes for the walk. ze data check prints the same rows on the host that holds the store.
Mode: read-only, offline | Wire: ze-config-storage:show-data-check
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists the keys in the selected store. Use 'show data cat <key>' to read one value.
Mode: read-only, offline | Wire: ze-config-storage:show-data-list
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists the storage key patterns registered by subsystems.
Mode: read-only, offline | Wire: ze-config-storage:show-data-registered
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The status names whether a rule is announced now, the target vector that rule covers, and whether the leak-probe is running.
Mode: read-only | Wire: ze-ddos:show-flowspec
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Per incident: the target vector (prefix/proto/port), attack family, top source addresses, peak pps/bps, start/end time, and whether it is still active.
Mode: read-only | Wire: ze-ddos:show-incidents
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer states whether an nft drop rule is installed now, and the target vector it covers: prefix, protocol, or port.
Mode: read-only | Wire: ze-ddos:show-local
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns whether the incident store is running, the number of active attacks, and the number of incidents the ring retains.
Mode: read-only | Wire: ze-ddos:show-status
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists every registered subsystem with its current log level and any active flag or scope filters. Unlike 'debug show' (which reads the stored profile), this reflects actual runtime state.
Mode: read-only | Wire: ze-debug:debug-state
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: profile
Reads debug.zefs and asks no daemon. With no argument it lists the profile names. name <name> prints that profile as a table of module, level, flags and scopes, and module <prefix> then keeps the rows under one subsystem subtree. Any other trailing word is refused rather than ignored.
Mode: read-only, offline | Wire: ze-debug:show-profile
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Profile name. | The stored profile to print. Absent, the command lists the profile names. | ||
module |
string |
Subsystem subtree to keep. | A subsystem prefix. Only the rows at or under that subtree are printed, and the keyword is read only after name. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer gives the meaning of the code, its likely cause and the recommended fix. It is read from the diagnostic catalog this binary carries and asks no daemon.
Mode: read-only, offline | Wire: ze-explain:show-diagnostic
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
code |
string |
yes | Diagnostic code. | A diagnostic code as a log line or an error message printed it. An unknown code is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
An entry whose TTL has run out is left out rather than reported as expired. The count beside the list is the number of entries reported.
Mode: read-only | Wire: ze-resolve:show-dns-cache-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The name must match the cache key exactly, and a reverse lookup is held under its in-addr.arpa or ip6.arpa name. A name that is not cached answers an empty list and a count of zero.
Mode: read-only | Wire: ze-resolve:show-dns-cache-record
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Record name to inspect. | The cache key, compared as an exact string. Each entry reported under it carries the name, the type, the records and the seconds of TTL left. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
It reads the counters and does not change the cache contents.
Mode: read-only | Wire: ze-resolve:show-dns-cache-stats
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Resolves <hostname> using the daemon's DNS resolver (falls back to the system resolver if no DNS component is configured). Default type is A. Returns records, TTL, and query time. Supports A, AAAA, MX, NS, TXT, CNAME, and PTR.
Mode: read-only | Wire: ze-resolve:show-dns-lookup
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
hostname |
string |
yes | Hostname to resolve. | A DNS name of at most 253 characters. The first word that is not the type keyword is taken as the name, and a call with no name is refused. | |
type |
enum |
A, AAAA, MX, NS, TXT, CNAME, PTR
|
DNS record type. | The record type to query, written after the type keyword. The default is A. Ze upper-cases the value, and a type outside this list is refused with the list of accepted ones. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Enabled, mode, listeners, allow-from count, upstreams, limits, the answer and negative cache entry counts, cache hits, misses and hit rate, the queries refused (by reason), rate-limited and dropped, and the upstream exchanges by result.
Mode: read-only | Wire: ze-dnsresolver:show-dns-resolver
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Verifies runtime dependencies: required files, sockets, ports, and kernel modules, and the checks the daemon's plugins declare. Each check reports pass or fail with a reason. ze doctor runs the same checks with no daemon, before first start or after changing the platform setup.
Mode: read-only | Wire: ze-doctor:show-doctor
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
config |
string |
Config file to check instead of the active config. | Check this config file instead of the active config in the store. On the daemon the file must lie in a config directory of the daemon's host. | ||
kernel-capabilities |
flag |
Probe every kernel feature Ze enrolls. | Probe every kernel feature Ze enrolls, whatever the configuration uses. The answer is ready only when every feature is present. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the variable name, current value, default, and what it controls.
Mode: read-only, offline | Wire: ze-env:show-get
Answer shape: tab
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Environment variable name | The variable's full name as Ze registered it, matched exactly. A name Ze never declared is refused, even when the process inherited it. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows which env vars are set and their defaults.
Mode: read-only, offline | Wire: ze-env:show-list
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Includes type, default, description, and whether it is currently set.
Mode: read-only, offline | Wire: ze-env:show-registered
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
This is the first place to look when something goes wrong. Filter with source <name> to narrow to one subsystem, count <N> to limit output.
Mode: read-only | Wire: ze-cmd:show-errors
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One block per peer, one row per `attach process` block on it: the event types that process is fed, and the message types it may send toward that peer. A token the event registry does not know is listed as unresolved and carries no edge. Answer to 'why does my program see nothing from this peer'.
Mode: read-only | Wire: ze-cmd:show-event-delivery
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows event name, category, and payload structure. Use this to discover what events are available before subscribing.
Mode: read-only | Wire: ze-meta:bgp-event-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Tells you which subsystems are generating events and how active they are.
Mode: read-only | Wire: ze-cmd:show-event-namespaces
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each event includes timestamp, namespace, and type. Filter with namespace <name> to focus on one area, count <N> to limit output. Useful for reconstructing what happened before an incident.
Mode: read-only | Wire: ze-cmd:show-event-recent
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each group with its names, the addresses Ze is enforcing for them, when each name last resolved, and what the last answer said. Read this before a commit to confirm a group has data.
Mode: read-only | Wire: ze-firewall:show-domain-group-status
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Group name; omit to list every group | A group from the firewall configuration. A name no group carries is an error that lists the groups present. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, lists all known groups. With a name, shows the set elements. Reads from the last applied config, not the kernel.
Mode: read-only | Wire: ze-firewall:show-group
Requires backend: nft
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each configured reference with the stored copy the firewall enforces for it: its status, prefix counts, server, generation, check and refresh times. Use this to confirm that IRR prefix-lists are stored and current before committing firewall config.
Mode: read-only | Wire: ze-firewall:show-irr-status
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: prefix
Lists all IPv4 and IPv6 prefixes the firewall enforces for the given ASN or AS-SET.
Mode: read-only | Wire: ze-firewall:show-irr-prefix
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | ASN or AS-SET name | The reference as the firewall config names it: an ASN in the form AS64500, or an AS-SET name. A name no rule references, or one with nothing stored, is an error. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Joins applied desired state with kernel counters from the nft backend.
Mode: read-only | Wire: ze-firewall:show-ruleset
Requires backend: nft
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Firewall table name | The table name as the configuration spells it, without the ze prefix the backend adds. A name no applied table carries is an error that lists the tables applied. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, lists all configured collectors. With 'name <name>', shows details for that collector including protocol stats and errors. Returns not-configured when no exporter is active.
Mode: read-only | Wire: ze-flowexport:show-flow-export
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Collector name (used with 'name <name>'). | The value is the key of a configured collector. Ze returns that one collector with its protocol counters and errors, and answers 'collector not found' for any other value. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, returns every ring record (oldest to newest, up to the configured recent-flow-ring capacity). With 'dst <prefix>', filters to flows whose destination is inside that prefix. The ring is fed only while conntrack export is enabled; the filter is by destination prefix (conntrack is host-global and carries no ingress interface).
Mode: read-only | Wire: ze-flowexport:show-flow-recent
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
dst |
string |
Destination prefix or address to filter by (used with 'dst <prefix>'). | The value is an IPv4 or IPv6 prefix in CIDR form, or a bare address, which Ze reads as a /32 or a /128. Ze keeps only the ring records whose destination is inside that prefix. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns whether the server is enabled, the bind addresses and port, and the client-IP source mode. It also returns the zones, the nameserver, host-set and source counts, and the current SOA serial.
Mode: read-only | Wire: ze-geodns:show-geodns
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns listen address, TLS details, authentication mode, and the number of active streaming subscribers.
Mode: read-only | Wire: ze-gnmi:show-gnmi
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns per-component health (bgp, fib, iface, plugins, l2tp, etc.) plus an overall status. Each component reports healthy, degraded, or unhealthy with a reason. Start here when troubleshooting. This runs a probe NOW and reports what the daemon is doing at this moment. 'show plugin list' answers the other question, by replaying the setup outcome each plugin recorded once, before main(), when it set itself up.
Mode: read-only | Wire: ze-cmd:show-health
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sections: cpu, nic, dmi, memory, thermal, storage, kernel, platform. Use a subcommand for one section, or 'show host all' for everything. The bare 'show host' is an alias of 'show host all'.
Mode: read-only | Wire: ze-host:show-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: all, cpu, dmi, kernel, memory, nic, platform, storage, thermal
Returns every section (cpu, nic, dmi, memory, thermal, storage, kernel, platform) as a single JSON response. Ideal for support bundles or automated inventory collection.
Mode: read-only | Wire: ze-host:show-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns vendor, model, core/thread topology, hybrid layout, scaling driver, current/min/max frequencies, and throttle counts.
Mode: read-only | Wire: ze-host:show-cpu
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns system vendor, board name, BIOS version, and chassis type. Useful for inventory or confirming which hardware model you are on.
Mode: read-only | Wire: ze-host:show-dmi
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns kernel release, command line, CPU microcode revision, boot time, and security-relevant CPU flags (spectre mitigations, etc.).
Mode: read-only | Wire: ze-host:show-kernel
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns DIMM sizes and, when the edac driver is present, correctable and uncorrectable error counters. Non-zero ECC counts mean you should plan a DIMM replacement.
Mode: read-only | Wire: ze-host:show-memory
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns driver, PCI vendor/device IDs, link speed, queue counts, and firmware version. Virtual interfaces are excluded. Use this to confirm NIC firmware before an upgrade.
Mode: read-only | Wire: ze-host:show-nic
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Reports read-only root, privilege level, systemd presence, gokrazy update socket, reboot-allowed flag, persistent-storage writability, and fd limits. Helps you understand what operations are possible on this particular deployment.
Mode: read-only | Wire: ze-host:show-platform
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns size, model, transport type (nvme, sata, mmc, virtio), rotational flag, and NVMe firmware version where applicable.
Mode: read-only | Wire: ze-host:show-storage
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns hwmon sensor readings and per-CPU throttle counters. Non-zero throttle counts mean the box has been running hot enough to slow down.
Mode: read-only | Wire: ze-host:show-thermal
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, returns all interfaces with full detail. Subcommands: brief, type <t>, errors, rate [<name>], pppoe-client, delegated-prefix, name <name> detail, name <name> counters.
Mode: read-only, offline | Wire: ze-iface:show-interface
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: brief, delegated-prefix, errors, name, pppoe-client, rate, scan, type
It is the quick way to see what is up and what addresses are assigned.
Mode: read-only | Wire: ze-iface:show-interface-brief
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One object per delegated-prefix entry of every enabled unit, sorted by interface, unit and source: interface, unit, source (the pppoe-client whose lease delegates the prefix), subnet-id, and state. state is installed when the unit holds its address, which adds device, address (the unit's address with its /64 length), prefix (the derived /64), delegated (the whole delegated prefix), valid-lifetime and preferred-lifetime (whole seconds remaining, 4294967295 meaning infinite). waiting means the source holds no delegated prefix; too-small means the delegated prefix cannot hold the subnet-id; not-installed means the address install failed. Each of those three carries a reason, and the last two name the delegated prefix.
Mode: read-only | Wire: ze-iface:show-interface-delegated-prefix
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Filters to only interfaces with non-zero Rx/Tx error or drop counters. It is the quick way to find troubled links.
Mode: read-only | Wire: ze-iface:show-interface-errors
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer is the interface name and its Rx and Tx statistics. A backend that keeps no statistics for the interface answers no counters available rather than an error.
Mode: read-only | Wire: ze-iface:show-interface-counters
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface whose statistics are read. The answer repeats this name beside the Rx and Tx values. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer is the whole record the backend holds for that interface, and the counters are part of it. An unknown name is reported as the backend's own error.
Mode: read-only | Wire: ze-iface:show-interface-detail
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Interface name | The interface whose record is shown. The backend looks it up by this name, and an unknown name answers the backend's error. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One object per configured PPPoE client: its state, source interface, session id, local and peer address, uptime, and the DNS servers learned from IPCP (RFC 1877), primary first. dns-servers is an empty list when the access concentrator supplied none; a configured system name-server still takes precedence in resolv.conf. delegated-prefixes lists each prefix the client's DHCPv6 lease holds (RFC 9915 IA_PD) as prefix, valid-lifetime and preferred-lifetime, sorted by prefix: the lifetimes are the whole seconds that remain at the moment of the answer, 4294967295 meaning infinite, and the list is empty when no prefix is delegated.
Mode: read-only | Wire: ze-iface:show-interface-pppoe-client
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns rx/tx bytes and packets per second. Pass an interface name to narrow the output. Requires the rate tracker. For continuous monitoring, use 'monitor interface rate' instead.
Mode: read-only | Wire: ze-iface:show-interface-rate
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns name, Ze type (ethernet, bridge, vxlan, etc.), and MAC for each interface found. Pipe to table, yaml, or json for different views. Use it during initial setup to see what the box has.
Mode: read-only | Wire: ze-iface:show-interface-scan
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Types include ethernet, bridge, vxlan, wireguard, tunnel, bond, and more. If you pick an invalid type, the error lists all valid ones.
Mode: read-only | Wire: ze-iface:show-interface-type
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
type |
string |
yes | Ze interface type to filter by | The type name the backend reports for an interface, compared without regard to case. When no interface has it, the error lists the types present. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One row per stored AS-SET: the server it came from, the prefix counts, when the server last answered, when the next refresh is due, and the consumers that enforce it. With refresh-interval 0 the schedule reads manual.
Mode: read-only | Wire: ze-irr:show-irr
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each LSP with its LSP ID, sequence number, remaining lifetime, checksum, and overload bit, across Level-1 and Level-2. The own field is true on the LSPs this node originated and false on the LSPs it learned from a neighbor.
Mode: read-only | Wire: ze-isis:show-database
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
Expands each LSP into its decoded TLVs (type, length, value) so you can read exactly what each node advertises. It carries the same fields as the summary view, the own field included.
Mode: read-only | Wire: ze-isis:show-database-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Maps each System ID to the hostname it advertises in TLV 137.
Mode: read-only | Wire: ze-isis:show-hostname
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns level, circuit type, metric, hello interval, hold multiplier, passive flag, DIS state, and the count of Up adjacencies per circuit.
Mode: read-only | Wire: ze-isis:show-interface
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the neighbor System ID, interface, level, adjacency state, and hold time for each IS-IS neighbor.
Mode: read-only | Wire: ze-isis:show-neighbor
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each prefix the SPF installed with its metric, level, up/down bit, and next-hops (address and outgoing interface).
Mode: read-only | Wire: ze-isis:show-route
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: ipv6
Lists each IPv6 prefix the SPF installed with its metric, level, and next-hops (link-local address and outgoing interface).
Mode: read-only | Wire: ze-isis:show-route-ipv6
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the most recent SPF runs with their timestamp, level, trigger, duration, and node count.
Mode: read-only | Wire: ze-isis:show-spf-log
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without a subcommand, shows a summary of tunnels and sessions.
Mode: read-only | Wire: ze-l2tp:summary
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: config, cqm, echo, health, listeners, observer, reliable, session, sessions, statistics, tunnel, tunnels
Returns the effective config after defaults and overrides. Confirms what the daemon uses.
Mode: read-only | Wire: ze-l2tp:config
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Pass a login name for one subscriber or 'summary' for an overview. Use it to diagnose a poor subscriber experience.
Mode: read-only | Wire: ze-l2tp:cqm
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns echo request and reply counters and round-trip times. Rising loss or high RTT indicates a degraded line.
Mode: read-only | Wire: ze-l2tp:echo
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sorts sessions by echo loss ratio (worst first). Shows subscriber login, session state, echo count, average RTT, and CQM bucket count. Reports how many sessions are degraded.
Mode: read-only | Wire: ze-l2tp:show-health
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each bound address, port, and the number of tunnels on it.
Mode: read-only | Wire: ze-l2tp:listeners
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the event ring buffer for one session ID or 'all'. Use it to find why a session failed to establish.
Mode: read-only | Wire: ze-l2tp:observer
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns send and receive sequence numbers, window size, and retransmit queue depth. Check here when tunnel control messages stop moving.
Mode: read-only | Wire: ze-l2tp:reliable
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Timestamped FSM entries for session establishment. Use this when a subscriber's session fails to come up.
Mode: read-only | Wire: ze-l2tp:session-history
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Pass the local session ID. Returns PPP state, assigned addresses, negotiated LCP/NCP options, and traffic counters.
Mode: read-only | Wire: ze-l2tp:session
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | Local session ID. | The decimal local session ID from the show l2tp session table. Zero is refused because RFC 2661 reserves it, and an unknown ID is refused with 'no session with local-sid'. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns byte and packet counts, error counters, and current rates. Compare with CQM data to get the full picture of subscriber health.
Mode: read-only | Wire: ze-l2tp:session-traffic
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One line per session: local/remote ID, parent tunnel, subscriber login, and uptime.
Mode: read-only | Wire: ze-l2tp:sessions
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Tunnels and sessions established, control messages sent and received, retransmits, and errors. It is the first command to run for L2TP health.
Mode: read-only | Wire: ze-l2tp:statistics
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Timestamped FSM entries showing how the tunnel reached its current state. Use this to diagnose a tunnel establishment failure.
Mode: read-only | Wire: ze-l2tp:tunnel-history
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Pass the local tunnel ID. Returns control channel state, peer endpoint, hello interval, and all assigned sessions.
Mode: read-only | Wire: ze-l2tp:tunnel
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | Local tunnel ID. | The decimal local tunnel ID from the show l2tp tunnel table. Zero is refused because RFC 2661 reserves it, and an unknown ID is refused with 'no tunnel with local-tid'. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One line per tunnel: local/remote ID, peer address, session count, and uptime.
Mode: read-only | Wire: ze-l2tp:tunnels
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists local and remote label bindings for each FEC (prefix). Use this to verify label distribution is working.
Mode: read-only | Wire: ze-ldp:show-binding
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns peer address, transport address, session state, and hold time for each LDP neighbor.
Mode: read-only | Wire: ze-ldp:show-neighbor
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists every registered logger with its current level. Use 'request log level' to change a level at runtime without restarting.
Mode: read-only | Wire: ze-log:bgp-log-levels
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Filters (all optional): level <lvl>, component <name>, count <N>. Newest entries first. Useful when you cannot access the log file directly.
Mode: read-only | Wire: ze-log:bgp-log-recent
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
level |
enum |
disabled, debug, info, warn, err
|
Filter by log level | Keeps the entries whose level equals this value, and no other level. Without it every level is shown. | |
component |
string |
Filter by component name | Keeps the entries whose component name equals this value exactly. Without it every component is shown. | ||
count |
uint |
Maximum number of entries | Stops the answer after this many entries, newest first. It MUST be 1 or more, and without it every buffered entry is shown. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Useful for discovering what metrics exist before querying them.
Mode: read-only | Wire: ze-cmd:bgp-metrics-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns matching time series from the internal registry. Multiple label filters are ANDed. More targeted than the full metrics dump.
Mode: read-only | Wire: ze-cmd:show-metrics-query
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Prometheus metric name | The value is the whole metric name, such as ze_bgp_connect_retry_counter, compared as text with the start of each sample line. A name that matches no sample answers an empty list. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: label
Returns allocated entries, reference counts, and deduplication hit rates per attribute type. Watch the dedup rate to gauge how much memory pooling is saving you.
Mode: read-only | Wire: ze-bgp:pool-stats
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Outputs every registered metric with labels and values. Suitable for feeding into Prometheus, Grafana, or curl-based monitoring.
Mode: read-only | Wire: ze-cmd:bgp-metrics-values
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each entry shows the incoming label, swap/push/pop operation, and outgoing next-hop. Ze reads the data plane that 'interface backend' selects: the kernel MPLS table, or VPP MPLS table 0. Pass 'limit N' to cap large tables.
Mode: read-only | Wire: ze-mpls:show-forwarding
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
limit |
uint |
Maximum number of entries. | The value is a positive integer. Ze returns at most that many entries and sets truncated to true when the data plane holds more. Absent, the value is 100000. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Measures the path MTU to every configured IPsec peer and to the reference address, derives the ESP ceiling of each tunnel from its negotiated transform, and reports whether each tunnel interface is oversized, tight, under-utilized or correct, with the configuration commands that fix it. The run changes nothing on the router. With host <address>, one address is measured instead of the peers.
Mode: read-only | Wire: ze-mtu:show-mtu
Answer shape: doc
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
host |
union |
Measure one address instead of the IPsec peers. | The value follows the host keyword and is one IPv4 or IPv6 address. Ze measures the path MTU to that address alone and skips the peers and the reference address. A name is refused: the run sends probes to the address as typed. | ||
search |
enum |
exhaustive |
exhaustive: a slower run that probes every size and discards the cached and reported path MTU. | The bare word exhaustive makes the run slower and its figure comes from probing every size on the wire: the path MTU the kernel remembered and the value a router reported are both discarded, so a stale or poisoned cache value cannot reach the answer. | |
view |
enum |
detail |
detail: report every probe sent and every reply received. | The bare word detail adds, per target, the size of every probe sent and the answer each one received, so an operator can follow how the value was found. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists IPv4 ARP and IPv6 ND entries with MAC addresses and states. Pass ipv4 or ipv6 to filter by address family. No argument shows both. For the IPv4-only view, 'show arp' is a shortcut.
Mode: read-only | Wire: ze-iface:show-neighbor
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
family |
enum |
ipv4, ipv6, any, all
|
Address family filter | Selects the address family the answer carries. The default when it is absent is both families. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the router-id, the areas, the ABR and ASBR status, and the stub-router (max-metric) state.
Mode: read-only | Wire: ze-ospf:show-ospf
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: border-routers, database, graceful-restart, instance, interface, ipv6, ldp-sync, neighbor, route, segment-routing, spf, te-database, virtual-links
Lists each reachable ABR/ASBR with its router-id, cost, next-hops, and area.
Mode: read-only | Wire: ze-ospf:show-border-routers
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each LSA with its LS Type, Link State ID, Advertising Router, sequence number, age, and checksum.
Mode: read-only | Wire: ze-ospf:show-database
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: asbr-summary, external, network, nssa-external, opaque-area, opaque-as, opaque-link, router, router-information, summary
RFC 2328 Section 12.4.3 states that a Type 4 Summary-LSA describes a route to an AS boundary router. A Type 3 describes a route to a network instead. Both come from an area border router, and both are flooded through one area.
Mode: read-only | Wire: ze-ospf:show-database-asbr-summary
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 2328 Section 12.4.4 states that an AS boundary router originates an AS-external-LSA. The LSA describes a route to a destination in another Autonomous System, and it is flooded throughout the AS. Ze reads the AS-wide store for it, so no area appears in the answer.
Mode: read-only | Wire: ze-ospf:show-database-external
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 2328 Section 12.4.2 states that the Designated Router originates a Network-LSA for a broadcast or NBMA network. The LSA lists the routers connected to that network. It is flooded throughout a single area only. A point-to-point link has no Designated Router, so it produces none.
Mode: read-only | Wire: ze-ospf:show-database-network
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 3101 Section 2.3 states that a Type 7 LSA is advertised only within a single NSSA. A border router does not flood it into the backbone. It translates selected Type 7 LSAs into Type 5 instead, so a translated route appears under the AS-external view and not here.
Mode: read-only | Wire: ze-ospf:show-database-nssa-external
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 5250 Section 3 gives link-state type-10 an area-local scope: a type-10 opaque LSA is not flooded beyond the borders of its area. So this view is per area, and an area border router does not carry what it lists into the backbone.
Mode: read-only | Wire: ze-ospf:show-database-opaque-area
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
A body with a typed decoder returns its TLVs, which are TE, Router-Information, Extended and Segment-Routing. Every other body returns a generic type, length and hex view (spec-ospf-ext-14).
Mode: read-only | Wire: ze-ospf:show-database-opaque-area-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 5250 Section 3 floods link-state type-11 throughout the autonomous system. It takes the scope of an AS-external (type-5) LSA. A type-11 opaque LSA reaches every transit area. It is not flooded into a stub area or an NSSA. A router does not originate one into a connected stub area or NSSA. One received from a neighbor inside such an area is rejected.
Mode: read-only | Wire: ze-ospf:show-database-opaque-as
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
A body with a typed decoder returns its TLVs, which are TE, Router-Information, Extended and Segment-Routing. Every other body returns a generic type, length and hex view (spec-ospf-ext-14).
Mode: read-only | Wire: ze-ospf:show-database-opaque-as-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 5250 Section 3 gives link-state type-9 a link-local scope. A type-9 opaque LSA is not flooded beyond the local subnetwork. This view is therefore per link. No other link holds an LSA listed here, and no router past the local segment holds one.
Mode: read-only | Wire: ze-ospf:show-database-opaque-link
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
A body with a typed decoder returns its TLVs, which are TE, Router-Information, Extended and Segment-Routing. Every other body returns a generic type, length and hex view (spec-ospf-ext-14).
Mode: read-only | Wire: ze-ospf:show-database-opaque-link-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 2328 Section 12.4.1 states that every router originates a Router-LSA. The LSA describes the collected states of the router's interfaces to one area. It is flooded throughout a single area only, and Ze reads the per-area store for it.
Mode: read-only | Wire: ze-ospf:show-database-router
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
OSPFv2 opaque type 4 and OSPFv3 function code 12, decoded into the advertised informational capability bits and the TLV list.
Mode: read-only | Wire: ze-ospf:show-database-router-information
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 2328 Section 12.4.3 states that an area border router originates a Summary-LSA. A Type 3 Summary-LSA describes a route to a network outside the area and inside the AS. Ze reads the per-area store for it.
Mode: read-only | Wire: ze-ospf:show-database-summary
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The restarter state (in-restart or not, grace end, reason) and the per-neighbor helper sessions (which neighbors are being helped and their remaining grace).
Mode: read-only | Wire: ze-ospf:show-graceful-restart
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each Instance ID with its router-id and the size of its isolated area, interface, neighbor, and link-state database state.
Mode: read-only | Wire: ze-ospf:show-instance
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns area, network-type, cost, ISM state, DR/BDR, hello/dead intervals, priority, and passive flag per interface.
Mode: read-only | Wire: ze-ospf:show-interface
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
Returns the ISM state, the DR and BDR election detail, all three timers, and the opaque-capable neighbor count.
Mode: read-only | Wire: ze-ospf:show-interface-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each configured address family (ipv6-unicast, ipv6-multicast, ipv4-unicast, ipv4-multicast) with its Instance ID, router-id, and neighbor/interface counts, so multiple AF instances on a link are distinguishable.
Mode: read-only | Wire: ze-ospf:show-ipv6
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: database, graceful-restart, instance, interface, neighbor, segment-routing, spf
Base types decode into named fields; unknown function codes fall back to a scope-aware header + body-hex view (spec-ospf-ext-14).
Mode: read-only | Wire: ze-ospf:show-ospfv3-database
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail, extended, router, router-information, scope, segment-routing
The parent command decodes the base types only. This form decodes every LSA body. An unknown function code then arrives as a scope-aware header beside its body hex, rather than as a named record.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Covers E-Router, E-Network, E-Inter-Area, E-AS-External, E-Link and E-Intra-Area-Prefix. Each LSA decodes into named TLVs.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-extended
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each body decodes into its interface records: the type, the metric, the Interface ID, the neighbor Interface ID and the neighbor Router ID. RFC 5340 Section 2.2 states that a Router-LSA no longer contains a network address and expresses topology only.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-router-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The LSA carries function code 12. Each one decodes into its capability bits and its TLVs.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-router-information
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 5340 Section 2.3 gives area scope to the router-LSA, the network-LSA, the inter-area-prefix-LSA, the inter-area-router-LSA and the intra-area-prefix-LSA. Ze reads the per-area store for them.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-scope-area
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
RFC 5340 Section 2.3 states that an AS-scope LSA is flooded throughout the routing domain, and that a router which originates one is an AS Boundary Router. Ze reads the AS-wide store for it, and no area appears in the answer.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-scope-as
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze reads the per-interface Link-LSA store as well as the area store, so a Link-LSA appears here beside its interface. RFC 5340 Section 2.3 states that a link-local LSA is flooded on the local link and no further.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-scope-link
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
This is a summary rather than a decode. The Segment Routing content lives in the Router Information LSA and in the extended LSAs, and the two commands above decode those LSAs in full.
Mode: read-only | Wire: ze-ospf:show-ospfv3-database-segment-routing
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The restarter state (in-restart or not, grace end, reason) and the per-neighbor helper sessions (which neighbors are being helped and their remaining grace).
Mode: read-only | Wire: ze-ospf:show-ipv6-graceful-restart
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each instance carries its address family, its Instance ID, its area count, and its neighbor count.
Mode: read-only | Wire: ze-ospf:show-ospfv3-instance
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns per interface whether IPsec is configured, the protocol (ah/esp) and SPI, and whether the kernel SA is installed. The key is never shown.
Mode: read-only | Wire: ze-ospf:show-ipv6-interface
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
Returns the ISM state, the DR and BDR by Router ID, the timers, the local Interface ID, and the Instance ID.
Mode: read-only | Wire: ze-ospf:show-ospfv3-interface-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each neighbor carries the link-local address as its identity, the adjacency state, the DR and BDR by Router ID, and the dead time.
Mode: read-only | Wire: ze-ospf:show-ospfv3-neighbor
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
Returns the advertised Interface ID, the DD sequence, the decoded Options (R/V6/E/N/AF), the list sizes, the last NSM event, and the timers.
Mode: read-only | Wire: ze-ospf:show-ospfv3-neighbor-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The configured SRGB/SRLB label ranges, the advertised SR-Algorithm, this node's node Prefix-SIDs, and the Adjacency-SIDs allocated per adjacency.
Mode: read-only | Wire: ze-ospf:show-ipv6-segment-routing
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The history is read from the IPv6 unicast engine alone. Another address family is not covered here. A router that runs no OSPFv3 engine answers an empty list rather than an error. That reads the same as a router whose engine has run no SPF yet.
Mode: read-only | Wire: ze-ospf:show-ospfv3-spf
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
The command is read-only.
Mode: read-only | Wire: ze-ospf:show-ospfv3-spf-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each ldp-sync interface with its state (not-synchronized / hold-down / synchronized), remaining hold-down, effective metric, and whether it is stuck not-synchronized after having been synchronized.
Mode: read-only | Wire: ze-ospf:show-ldp-sync
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns each neighbor's router-id, interface, adjacency state, DR/BDR, priority, dead time, and address.
Mode: read-only | Wire: ze-ospf:show-neighbor
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
Returns the DD sequence, the decoded Options including the RFC 5250 O-bit, the request and summary list sizes, the last NSM event, and the timers.
Mode: read-only | Wire: ze-ospf:show-neighbor-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each prefix with its path type (intra/inter/external-1/2), cost, next-hops, and area.
Mode: read-only | Wire: ze-ospf:show-route
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: fast-reroute
Lists each prefix's primary next-hops with their pre-computed loop-free backup, protection class (node/link/downstream), and TI-LFA repair label stack. Unprotected primaries are shown as unprotected.
Mode: read-only | Wire: ze-ospf:show-route-fast-reroute
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The configured SRGB/SRLB label ranges, the advertised SR-Algorithm, this node's node Prefix-SIDs, and the Adjacency-SIDs allocated per adjacency.
Mode: read-only | Wire: ze-ospf:show-segment-routing
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the most recent per-area SPF runs with their timestamp, duration, node count, and pending state.
Mode: read-only | Wire: ze-ospf:show-spf
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: detail
Returns the candidate paths considered for each prefix, the winning cost, and the RFC 2328 section 16.4 path-preference tie-break. The command is read-only, so the route table and the SPF run count do not change.
Mode: read-only | Wire: ze-ospf:show-spf-detail
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Router addresses plus TE links with their Link ID, local/remote address, link type, TE metric, bandwidths, admin group, and (for inter-AS links) remote AS and remote ASBR.
Mode: read-only | Wire: ze-ospf:show-te-database
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each configured virtual link with its transit area, remote router-id, adjacency state, computed cost, and transit next hop.
Mode: read-only | Wire: ze-ospf:show-virtual-links
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends ICMP echo requests to <dest> (IP or hostname). Default count is 5. Timeout uses Go duration syntax (e.g. 3s, 500ms). Confirms reachability from this box, not from your workstation.
Mode: read-only, offline | Wire: ze-ping:show-ping
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
dest |
string |
Target host or IP address. | The value is the first bare word of the command. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6. | ||
count |
uint |
Number of ping packets. | The value is the number of echo requests Ze sends, 1 to 100, paced 10 milliseconds apart. Absent, the value is 5. | ||
size |
uint |
ICMP echo payload size in bytes (1-65507). Omit for the engine default. | Ze fills the payload to exactly this many bytes, with its marker copied into the front so a capture still identifies the sender. | ||
timeout |
string |
Timeout duration. | The value is the time Ze waits for each reply, in Go duration syntax, 1s to 30s. Absent, the value is 5s. | ||
do-not-fragment |
enum |
honor-cache, bypass-cache
|
Set the Don't Fragment bit; honor-cache obeys the cached path MTU, bypass-cache ignores it. | The keyword takes one of two values. honor-cache sets the Don't Fragment bit and honors the kernel's cached path MTU: a probe larger than the cached value is refused at send time, and a router's Fragmentation Needed answer updates the cache. bypass-cache sets the bit and ignores the cached value, so the probe is put on the wire at its full size. Absent, the kernel fragments a probe larger than the path, which is the behavior of before the keyword existed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each export form is a command of its own.
Mode: read-only | Wire: ze-pki:show-certificate
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Certificate name | The name of a CA or device certificate in the store. An unknown name is refused, and the refusal lists the names the store holds. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: bundle, fingerprint, pem
Device certificates only: a CA certificate in the store holds no private key.
Mode: read-only | Wire: ze-pki:show-certificate-bundle-pem
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Certificate name | The name of a device certificate in the store. A CA name and a device certificate with no private key are each refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without an algorithm, SHA-256.
Mode: read-only | Wire: ze-pki:show-certificate-fingerprint
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Certificate name | The name of a CA or device certificate in the store. The hash is taken over its DER bytes. An unknown name is refused, and the refusal lists the names the store holds. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Use this form to give the certificate to another system.
Mode: read-only | Wire: ze-pki:show-certificate-pem
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Certificate name | The name of a CA or device certificate in the store. An unknown name is refused, and the refusal lists the names the store holds. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows name, type (CA or device), subject, issuer, expiry, and validity status. Check here to find certificates approaching expiration.
Mode: read-only | Wire: ze-pki:show-certificates
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Give this text to each client that must trust this node, in its `pki ca <name> certificate` block. The output holds the certificate only: the root private key never leaves the daemon.
Mode: read-only | Wire: ze-pki:show-local-ca-pem
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each row names one plugin, says whether its code is in this binary or in another one, and carries the commands it serves and the pipe aliases it puts on them. Add 'config <path>' and the plugins that file declares gain a row too, external ones included. A plugin whose declaration could not be read keeps its row and says why in the state field, so a plugin is never missing from the answer. 'show plugin list' answers the other question, which plugins this binary carries and what each plugin's own init() recorded.
Mode: read-only, offline | Wire: ze-plugin:show-declarations
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: config
The keyword types the value after it, so the reader of the command line knows the token is a config file and not a plugin name. The file is read with the daemon's own loader, so the answer covers the plugins the daemon would start from it.
Mode: read-only, offline | Wire: ze-plugin:show-declarations-config
Answer shape: tab
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
path |
string |
yes | Path of the config file whose plugin blocks are read | One filesystem path, or - for a config arriving on stdin. A path that names no readable file is refused before the read, and a second path after it is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each row carries the plugin name, what it does, the address families it handles, the RFCs it implements, the BGP capability codes it owns, the config roots that load it, the plugins it depends on, uses when present or starts after, its features, whether it carries a YANG schema, an NLRI decoder or an NLRI encoder, the setup outcome its own init() recorded (succeeded, soft-failure, hard-failure or unknown) and the reason the plugin gave. A plugin that recorded nothing is listed as unknown, never omitted, and a plugin that recorded and then did not register keeps its row. The outcome replays a past event: it was recorded once, before main(), and this command reads it back. 'show health' answers the other question, by running a probe now and reporting what the daemon is doing at this moment.
Mode: read-only, offline | Wire: ze-plugin:show-list
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The selector (IP, name, as<N>) and the optional direction are parsed by the handler. Shows the effective chain after group inheritance is resolved. Without a direction keyword, shows both import and export.
Mode: read-only | Wire: ze-bgp:show-policy-chain
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | Peer selector | The value is an IP address, a peer name, an AS pattern such as as65001, or * for every peer. The chain of each peer it matches is shown. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows each filter type and its implementing plugin. Check here when building a new policy chain to see what filters you can use.
Mode: read-only | Wire: ze-cmd:show-policy-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists PBR rules with match criteria and routing actions.
Mode: read-only | Wire: ze-policyroute:show-policy-routes
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Feed a hex-encoded BGP UPDATE through a peer's external policy chain and see its final decision and attribute modifications. Named in-process protocol checks are marked not-evaluated, not simulated; the result does not establish that those checks would accept a live UPDATE. Selecting one as a single-filter override is refused. Read-only: no routes are actually forwarded. The selector and the direction, filter, update and source-asn4 tokens are parsed by the handler, so the peer selector can be a free-form name or address and the tokens can arrive in any order.
Mode: read-only | Wire: ze-bgp:show-policy-test
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | Peer selector | The value is an IP address, a peer name, or an AS pattern such as as65001. It MUST match exactly one peer: no match, and a match of several peers, are each refused. | |
direction |
enum |
yes |
import, export
|
Which half of the chain to test | The word is required, and a call without it is refused. It picks which of the peer's two chains the UPDATE is fed through. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: filter, source-asn4, update
Without a subcommand, shows a summary of active sessions.
Mode: read-only | Wire: ze-l2tp:pppoe-summary
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: interfaces, session, sessions, statistics
Lists each PPPoE-enabled interface with its service name, session limit, and how many sessions are active now.
Mode: read-only | Wire: ze-l2tp:pppoe-interfaces
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Pass the session ID. Returns discovery tags, LCP/NCP state, assigned addresses, and traffic counters.
Mode: read-only | Wire: ze-l2tp:pppoe-session
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | PPPoE session ID. | The decimal sid column of the show pppoe session table. Zero is refused because RFC 2516 reserves it, and an unknown id is refused with 'no session with sid'. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
One line per session: session ID, MAC, subscriber login, uptime, and assigned addresses.
Mode: read-only | Wire: ze-l2tp:pppoe-sessions
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns PADI, PADO, PADR, PADS, PADT counts, active sessions, and errors. A rising PADI count with flat PADS means sessions are not completing.
Mode: read-only | Wire: ze-l2tp:pppoe-statistics
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Sends all probes concurrently for faster results than sequential traceroute. Returns per-hop RTT and IP. Use probes and max-hops to tune accuracy vs speed.
Mode: read-only | Wire: ze-traceroute:show-probe-round
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
dest |
string |
Target host or IP address. | The value is the first bare word of the command. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6. | ||
probes |
uint |
Number of probes per hop. | The value is accepted in the range 1 to 10 and then not read: a probe round sends one probe at each time-to-live. | ||
max-hops |
uint |
Maximum number of hops. | The value is the largest time-to-live Ze probes, 1 to 64. Absent, or set to 30, the round probes 16 hops. | ||
timeout |
string |
Timeout duration. | The value is accepted in Go duration syntax, 1s to 30s, and then not read: a probe round waits one second for every answer. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns a generation counter, the outcome of the most recent reload (applied or failed), and when it finished. The counter advances on every processed reload, including one that rejected or changed nothing, so you can confirm a SIGHUP was acted on even when it deliberately left the running config alone.
Mode: read-only | Wire: ze-cmd:show-reload-status
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Reads the RIR delegation table that ships with the binary, or the newer copy an earlier 'update resolve rir' stored. Reaches no network. Reports the registry, its whois server, and the delegated range that holds the AS number. An AS number in no delegated range and a table that cannot be read are two different answers.
Mode: read-only | Wire: ze-resolve:show-rir
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
asn |
union |
yes | AS number to look up. | The AS number in plain decimal or in asdot notation, which Ze parses to one 32-bit value before it searches the delegation table. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists, per prefix, every path a protocol offered: the selected one, the ones standing by, and the ones an import chain hid. Each path shows its source, next hop, distance and metric, its tag, IS-IS level or OSPF route type when it carries one, and for a hidden path the chain that hid it: `source` (the protocol's own `filter import`) or `central` (`rib filter import`). `prefix <prefix>` limits the answer to one prefix.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists installed routes with next-hop, interface, protocol, and metric. Pass a CIDR prefix or 'default' to filter, or a route limit to cap the output.
Mode: read-only | Wire: ze-iface:show-route
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
prefix |
string |
CIDR prefix filter | A prefix in CIDR form, or the word default. Only routes for that prefix are listed, and every route is listed when it is absent. | ||
limit |
uint |
Maximum number of routes | The largest number of routes the answer carries, given after the word limit. The default is 100000, and the answer says when it was truncated. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: lookup
Performs a longest-prefix-match and returns the matching route with gateway, interface, protocol, and metric.
Mode: read-only | Wire: ze-iface:show-route-lookup
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
ip |
string |
yes | Destination IP address to look up | One IPv4 or IPv6 address without a prefix length. The kernel answers with the route it selects for a packet to that address. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each RR client with session state and reflected route counts.
Mode: read-only | Wire: ze-bgp:show-rr-peers
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns cluster ID, running state, and summary statistics (reflected routes, client count).
Mode: read-only | Wire: ze-bgp:show-rr-status
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns each configured facility-backup bypass LSP and each protected LSP with its armed bypass, mode, and whether local protection is available and in use.
Mode: read-only | Wire: ze-rsvpte:show-rsvp-te-fast-reroute
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns reserved, available, and maximum bandwidth for each TE-enabled interface.
Mode: read-only | Wire: ze-rsvpte:show-rsvp-te-interface
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns state, role (ingress/transit/egress, or unspecified while the message or configuration that created the LSP is still being handled), reserved bandwidth, and in/out labels for each LSP.
Mode: read-only | Wire: ze-rsvpte:show-rsvp-te-lsp
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns tunnel name, endpoints, signaling state, and active LSP.
Mode: read-only | Wire: ze-rsvpte:show-rsvp-te-tunnel
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns allocated bytes, heap in-use, total allocations, GC cycles, and last GC pause duration. Compare over time to spot leaks. For the OS-level process memory (RSS/VSZ) use 'show system memory'.
Mode: read-only | Wire: ze-cmd:show-system-memory
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows which events a plugin can subscribe to.
Mode: read-only, offline | Wire: ze-config-schema:show-schema-events
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Maps module names to their implementing Go handler.
Mode: read-only, offline | Wire: ze-config-schema:show-schema-handlers
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows module name, namespace, and revision for each schema.
Mode: read-only, offline | Wire: ze-config-schema:show-schema-list
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Useful for plugin developers to discover available operations.
Mode: read-only, offline | Wire: ze-config-schema:show-schema-methods
Answer shape: tab
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Useful for checking compatibility between Ze versions.
Mode: read-only, offline | Wire: ze-config-schema:show-schema-protocol
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Prints the named skill's Markdown document.
Mode: read-only, offline | Wire: ze-skills:show-skill
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Skill name. | A skill name as show skills prints it. An unknown name is refused. | |
full |
flag |
Return expanded content (with examples and patterns). | Print the expanded document, with examples and patterns, where the skill carries one. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each skill is a Markdown document bundled with the binary, so it always matches the running version. Prints each bundled skill with its one-line description.
Mode: read-only, offline | Wire: ze-skills:show-skills
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each static route with its prefix, next-hop, and interface.
Mode: read-only | Wire: ze-static:show-static
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer carries the uptime, the peer count and the daemon start time. This command needs a running reactor, so a daemon that has none refuses it.
Mode: read-only | Wire: ze-plugin:system-daemon-status
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns health status, temperature, power-on hours, and self-test schedule for each block device. Replace drives that report failing health before they cause data loss.
Mode: read-only | Wire: ze-storage:show-smart
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Counts by access type (PPPoE, L2TP, IPoE) with totals. It is the quick way to see how many subscribers are online.
Mode: read-only | Wire: ze-l2tp:subscriber-summary
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: id
Pass the session ID. Returns access type, assigned addresses, authentication state, uptime, and traffic counters.
Mode: read-only | Wire: ze-l2tp:subscriber-detail
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
id |
string |
yes | Subscriber session ID. | The id column of the show subscriber table. An L2TP session is named l2tp-<tunnel-id>-<session-id> and a PPPoE session pppoe-<ifindex>-<session-id>. An unknown id is refused with 'session not found'. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns conntrack entry count, table size, timeouts, and loaded modules. Requires the nft backend. Check this when you suspect conntrack table exhaustion is dropping traffic.
Mode: read-only | Wire: ze-firewall:show-system-conntrack
Requires backend: nft
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns goroutine count, logical CPU count, and GOMAXPROCS setting. Useful when the box feels sluggish and you want to see if Ze is hogging threads.
Mode: read-only | Wire: ze-cmd:show-system-cpu
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Useful for correlating log timestamps when the box is in a different timezone than you are.
Mode: read-only | Wire: ze-cmd:show-system-date
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer lists every learned resolver record (its origin, interface, unit, addresses, when it was received and when it expires), then every dns-source consumer's selection: the router's own under the consumer name system, and each consumer that published one (the LAN resolver, each DHCP subnet, each RA unit, each subscriber pool). Each selection carries its config path, the instance it belongs to, the sources and mode evaluated, default true while the built-in default list applies, the classes used and the servers handed on. A consumer that has not published yet is absent: its plugin is not running or has not received the first snapshot. A plugin removed while the daemon runs withdraws its selection, so it is absent too.
Mode: read-only | Wire: ze-system-dns:show-system-dns
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Summary mode: totals by type (socket, pipe, file). Detail mode: every fd with its path and type. Linux only (reads /proc/self/fd). Check this when you suspect fd exhaustion.
Mode: read-only | Wire: ze-cmd:show-system-file-descriptors
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
mode |
enum |
summary, detail
|
Display mode. | The word is optional and the default is summary. Detail keeps the totals and appends the descriptor rows, so the output grows with the number of open files. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Modes: summary (groups by state), blocked (only lock/channel waiters), full (all stacks). Default: summary. Share the output with support when the daemon stops responding.
Mode: read-only | Wire: ze-cmd:show-system-goroutines
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
mode |
enum |
summary, blocked, full
|
Display mode. | The word is optional and the default is summary. The blocked list carries each waiting goroutine with its id, its state and its stack, after the same totals. A full dump is one text block of up to 16 MB, so keep it for a hang. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Reads from /dev/kmsg. Filter by syslog level (emerg through debug) and limit with count. Without count, you get the newest 50 messages. Linux only. Useful for spotting NIC errors or OOM events.
Mode: read-only | Wire: ze-host:show-system-kernel-log
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
level |
enum |
emerg, alert, crit, err, warning, notice, info, debug
|
Filter by syslog level. | The word is the highest syslog level to show, and every more severe level is included with it. A digit from 0 to 7 is accepted in its place. Absent, or not a known level, nothing is filtered. | |
count |
uint |
Maximum number of messages. | The value is from 1 to 10000 and the default is 50. Ze reads the whole ring buffer, applies the level filter, then keeps the newest count messages. A value outside the range is ignored and the default applies. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns VmRSS, VmSize, VmSwap, and thread count from /proc/self/status (Linux only). This is what the operating system reports the process is using. For the Go runtime allocator view (heap, GC), use 'show runtime memory'.
Mode: read-only | Wire: ze-cmd:show-system-memory-map
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer carries enabled false alone when NTP is off. It carries the same when the daemon has recorded no state yet, so the two cases read alike. An enabled client answers whether it is synced, its source, the offset, the stratum and the poll interval. The last-sync time is present only after a synchronization has happened.
Mode: read-only | Wire: ze-ntp:show-system-ntp
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: peers
Tells you whether your clock is synced and how far off each NTP server thinks you are.
Mode: read-only | Wire: ze-ntp:show-system-ntp-peers
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Reports whether this is gokrazy, systemd, container, plain-linux, or darwin, along with platform-specific capabilities.
Mode: read-only | Wire: ze-cmd:show-system-platform
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Types: cpu (requires duration, e.g. 30s), heap, goroutine, allocs (instant snapshots). Output is pprof format you can open with 'go tool pprof'. Send the file to support for deep analysis.
Mode: read-only | Wire: ze-cmd:show-system-profile
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
type |
enum |
cpu, heap, goroutine, allocs
|
Profile type. | The word is optional and the default is heap. Only cpu runs for a time and reads duration. The three others return at once. The response carries the pprof bytes as base64 in data, with format pprof-base64. | |
duration |
string |
Profile duration. | The value is a Go duration with a unit, from 1s to 60s, and the default is 10s. Only a cpu profile reads it. A second cpu profile is refused while one runs. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Every filter is optional and they combine. States use kernel names (ESTABLISHED, LISTEN, TIME_WAIT). Linux only. Good for confirming listeners or spotting stuck connections.
Mode: read-only | Wire: ze-cmd:show-system-sockets
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
protocol |
enum |
tcp, udp
|
Filter by protocol. | The word is optional. Absent, the list carries both protocols. Ze reads /proc/net/tcp and /proc/net/tcp6 for tcp, and the udp pair for udp. | |
state |
string |
Filter by socket state. | The value is a kernel state name such as established, listen or time_wait, in any letter case. Only sockets in that state are listed. A UDP socket has no state to match. | ||
port |
uint |
Filter by port number. | The value is a port number from 1 to 65535. A socket is listed when its local port or its remote port equals it. A value outside that range is ignored and the list is not filtered. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows you which components (bgp, dns, web, l2tp, etc.) are active, stopped, or failed.
Mode: read-only | Wire: ze-cmd:show-system-subsystem-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows the running version, latest available version, and when the last check ran. Use 'update system firmware check' to trigger an immediate re-check.
Mode: read-only | Wire: ze-update:show-system-update
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: history
Lists the last 20 update events: checks, downloads, installs, and rollbacks with timestamps and outcomes.
Mode: read-only | Wire: ze-update:show-system-update-history
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Tries to open a TCP connection and reports success or failure with the connection time. Use 'source <IP>' to bind a specific local address. Quick way to verify a peer's BGP port is reachable.
Mode: read-only | Wire: ze-diag:show-tcp-check
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
host |
string |
yes | Target host. | An IP address or a DNS name of at most 253 characters, which the dialer resolves. The answer echoes it in the host key. | |
port |
uint |
yes | Target port. | The TCP port to connect to, from 1 to 65535. Ze joins it to the host and dials that one endpoint. | |
source |
string |
Source IP address. | A local IP address the connection binds to before it dials. An address the host does not hold makes the dial fail. Absent, the kernel picks the source. | ||
timeout |
string |
Connection timeout. | How long the dial waits before it reports timeout, from 1s to 30s. The default is 5s. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows each hop with its IP and round-trip time. Dest can be an IP or hostname. Defaults: 30 max hops, 3 probes per hop. Increase probes for more reliable RTT measurements.
Mode: read-only, offline | Wire: ze-traceroute:show-traceroute
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
dest |
string |
Target host or IP address. | The value is the first bare word of the command. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6. | ||
max-hops |
uint |
Maximum number of hops. | The value is the largest time-to-live Ze probes, 1 to 64. The trace stops early when the target answers. Absent, the value is 30. | ||
timeout |
string |
Timeout duration. | The value is the time Ze waits for one probe, in Go duration syntax, 1s to 30s. Absent, the value is 3s. | ||
probes |
uint |
Number of probes per hop. | The value is the number of probes Ze sends at each time-to-live, 1 to 10, and each probe reports its own round-trip time. Absent, the value is 3. | ||
do-not-fragment |
enum |
honor-cache, bypass-cache
|
Set the Don't Fragment bit; honor-cache obeys the cached path MTU, bypass-cache ignores it. | The keyword takes one of two values. honor-cache sets the Don't Fragment bit and honors the kernel's cached path MTU: a probe larger than the cached value is refused at send time, and a router's Fragmentation Needed answer updates the cache. bypass-cache sets the bit and ignores the cached value, so the probe is put on the wire at its full size. Absent, the kernel fragments a probe larger than the path, which is the behavior of before the keyword existed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, lists every interface with its qdisc type and class/filter counts. With an interface name, shows the full qdisc and class breakdown. Use this to verify your shaping is applied.
Mode: read-only | Wire: ze-traffic:show-traffic
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The signals are fan-out (distinct destinations), out/in byte ratio (exfiltration), destination-port entropy, new-peer, rare-port/proto, and coarse beaconing. Without arguments, shows the top source entities. With 'name <address>', filters to one source.
Mode: read-only | Wire: ze-trafficfeature:show-traffic-feature
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Source address filter | A source IP address, compared as text against each entry's address. Only the entries with that exact address are listed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Without arguments, shows all interfaces. With 'name <interface>', filters to one interface.
Mode: read-only | Wire: ze-trafficstat:show-traffic-stat
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Interface name filter | The name of one interface, matched exactly against the interface names in the snapshot. A name in no row leaves the answer empty. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Per destination/source port and protocol counters are always present; per-IP top-talker counters appear when track-ip is enabled. Without arguments, lists all monitored interfaces. With 'name <interface>', shows that one interface.
Mode: read-only | Wire: ze-trafficusage:show-traffic-usage
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
Interface name (used with 'name <interface>') | The kernel interface name, as configured under traffic usage. An interface the plugin does not monitor fails with interface not monitored. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns the start time and elapsed uptime. Handy after a maintenance window to confirm the process restarted.
Mode: read-only | Wire: ze-cmd:show-uptime
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
You can verify which release is deployed on this box.
Mode: read-only, offline | Wire: ze-cmd:show-version
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Reports each Child SA the engine counts as installed whose expected identity the kernel SAD does not hold. The command exits non-zero when it finds drift, so a script CAN test it. A rekey window holds two SPIs and is not drift.
Mode: read-only | Wire: ze-ike:show-vpn-ipsec-dataplane-drift
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each policy with its selector prefixes and ports, direction, priority, upper-layer protocol, if_id, interface index, tunnel endpoints, and the peer that installed it. Each policy also names the SPD that holds it (spd: node for if_id 0, the bound XFRM interface, or if-id and the number) and the job Ze installed it for (role), which reads unknown for a policy Ze did not install. A per-socket policy, which overrides every SPD entry for its one socket, reads spd socket, its direction in, out or fwd, and role esp-form-socket for Ze's own ESP form reader or socket-override for any other process's. A policy with no matching SA is the failure this command exists to show. RFC 4301 Section 4.4 keeps the SPD and the SAD separate, and so does this tree.
Mode: read-only | Wire: ze-ike:show-vpn-ipsec-dataplane-policy
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists each installed ESP SA with its SPI, addresses, mode, algorithms, replay window, byte and packet counters, and timestamps. Give 'spi <spi>' to show all matching SAs. Without a selector the command dumps every SA, which on a device with many tunnels is one row per SA.
Mode: read-only | Wire: ze-ike:show-vpn-ipsec-dataplane-sa
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
spi |
uint |
Show all SAs with this SPI. | The value is decimal. Ze keeps only the SAs whose SPI equals it, and the inbound SA and the outbound SA of one tunnel carry different SPIs, so one value names one direction. The value 0 is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns IKE SA state, all child SAs with traffic selectors, and byte counts.
Mode: read-only | Wire: ze-ike:show-vpn-ipsec-peer
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Configured IPsec peer name. | The value is the key of a site-to-site peer entry, at most 255 characters. Ze returns every IKE SA that peer holds, and answers 'peer not found' when none is up. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists every SA with peer, negotiated algorithms, byte counts, rekey timers, and uptime. Includes SPIs, NAT detection, and child SA traffic selectors. It is the main IPsec status command.
Mode: read-only | Wire: ze-ike:show-vpn-ipsec-sa
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Reports whether the IKE engine is running, how many peers are configured, and how many IKE SAs are Established.
Mode: read-only | Wire: ze-ike:show-vpn-ipsec-status
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Returns per-node packet counts, vectors, clocks, and suspends. Helps you find which node is the bottleneck. Requires the VPP backend.
Mode: read-only | Wire: ze-iface:show-vpp-runtime
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Clears all packets so you can start a fresh trace. Requires the VPP backend.
Mode: read-only | Wire: ze-iface:show-vpp-trace-clear
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows per-packet VPP graph node traversal. Requires the VPP backend.
Mode: read-only | Wire: ze-iface:show-vpp-trace-show
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Default input node is dpdk-input, default count is 100 (max 10000). After starting, use 'show vpp trace show' to retrieve the captured packets. Requires the VPP backend.
Mode: read-only | Wire: ze-iface:show-vpp-trace-start
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Per router: its group name, VRID, address family, state (initialize, backup, master), configured and effective priority, virtual addresses, and the macvlan device that carries the virtual MAC.
Mode: read-only | Wire: ze-vrrp:show-vrrp
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: interface, statistics
One interface can host several virtual routers. Each one has its own VRID and its own election. This view can therefore report more than one state for one link.
Mode: read-only
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: name
Pass the interface name: show vrrp interface name <interface>.
Mode: read-only | Wire: ze-vrrp:show-interface
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
value |
string |
Parent interface name | The name of the parent interface whose virtual routers the answer lists. The word after the name keyword is the value, and a bare word with no keyword is accepted from a programmatic sender. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Advertisements sent and received, priority-zero advertisements, gratuitous ARP and unsolicited neighbor advertisement bursts, receive-validation errors by reason, and the derived skew and master-down timers in microseconds (a VRRPv3 skew is sub-millisecond).
Mode: read-only | Wire: ze-vrrp:show-statistics
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Displays any conditions that need your attention (degraded peers, resource limits approaching, etc.). Use 'source <name>' to filter to a single subsystem.
Mode: read-only | Wire: ze-cmd:show-warnings
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Lists every valid completion point in the command tree.
Mode: read-only, offline | Wire: ze-config-yang:show-yang-completion
Answer shape: tab
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
min-prefix |
uint |
Minimum disambiguation depth to report | The shortest disambiguation depth a collision is reported at. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Produces structured documentation with descriptions, arguments, and usage patterns for every registered command.
Mode: read-only, offline | Wire: ze-config-yang:show-yang-doc
Answer shape: blob
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
list |
flag |
List every documented command | Answers the list of every documented command instead of one command's page. | ||
command |
string |
Command to document | The command whose page is answered, as its words are typed. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Shows node types, data types, and config-vs-state annotations. Similar to 'pyang -f tree'. Useful for understanding the config or command structure.
Mode: read-only, offline | Wire: ze-config-yang:show-yang-tree
Answer shape: tab
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
commands |
flag |
Show only the command nodes | Answers only the command nodes of the tree. Giving it with config is refused. | ||
config |
flag |
Show only the config nodes | Answers only the config nodes of the tree. Giving it with commands is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save, match, count, first, last, display, fill
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
system command complete |
read-only | List the completion candidates for a partial command. |
system command help |
read-only | Show the detailed help for one command. |
system command list |
read-only | List every command the daemon knows. |
system dispatch |
read-only | Dispatch a text command through the command dispatcher. |
system help |
read-only | List the subcommands the system verb accepts. |
system subsystem list |
read-only | List the subsystems registered in the daemon. |
system version api |
read-only | Show the IPC protocol version. |
system version software |
read-only | Show the ze software version. |
Ze completes a command NAME from the partial text. Write 'args' before the command name to complete an ARGUMENT of that command instead, in the form 'system command complete args <cmd> [<completed>...] [<partial>]'. With no partial it lists every candidate. A builtin answers from the daemon's own state, a plugin command from the plugin that registered it.
Mode: read-only | Wire: ze-plugin:system-command-complete
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
partial |
string |
yes | Partial command text | The text typed so far. The candidates match it on a case-insensitive prefix, and a prefix that matches nothing answers an empty list. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer carries command, short-help, description and source. A command a plugin registered also carries args and its timeout. An unknown name fails with 'unknown command: <name>'.
Mode: read-only | Wire: ze-plugin:system-command-help
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Command name | The full command name, as command list prints it. A name in neither registry fails with unknown command. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The rows carry the built-in commands first, then the commands the plugins registered. Each row carries the command name, its summary and its long explanation. Add the word verbose to put the source of each row beside it.
Mode: read-only | Wire: ze-plugin:system-command-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Ze joins the words after the keyword into one command string and runs it through the text dispatcher the CLI uses. A plugin command is reachable this way. With no dispatcher, the command fails with 'dispatcher not available'.
Mode: read-only | Wire: ze-plugin:system-dispatch
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The list carries the built-in commands first, then the commands the plugins registered, each written as 'name - description'. A plugin command marked hidden is left out. With no dispatcher, Ze answers a short fixed list instead.
Mode: read-only | Wire: ze-plugin:system-help
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Each row carries the process name, its stage, a running flag and a command count. The command count comes from the dispatcher registry, which is what counts the commands the process actually registered.
Mode: read-only | Wire: ze-plugin:system-subsystem-list
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer carries one version key. It holds the IPC protocol number that the daemon and its clients agree on, and it is not the ze software version.
Mode: read-only | Wire: ze-plugin:system-version-api
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer carries a version key and a build-date key. Both come from the values the build stamped into the binary, so a daemon that was never rebuilt reports the same pair after a restart.
Mode: read-only | Wire: ze-plugin:system-version-software
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
| Command | Mode | Description |
|---|---|---|
update bgp config |
daemon | Write the running peer set to the configuration file. |
update bgp peer prefix |
daemon | Refresh max-prefix limits from PeeringDB. |
update data config |
daemon | Import one config into the daemon's store as a new version. |
update data key |
daemon | Write one runtime-state key into the daemon's store. |
update firewall domain-group |
daemon | Resolve a domain group's DNS names now and program its set. |
update irr all |
daemon | Fetch every referenced IRR dataset now. |
update irr as-set |
daemon | Fetch the IRR dataset of an AS-SET now. |
update irr asn |
daemon | Fetch the IRR dataset of an AS number now. |
update resolve rir |
daemon | Refresh the RIR delegation table from the five registry delegation files. |
update serve |
daemon, offline | Show the update server's status, or start, stop and pause it. |
update serve pause |
daemon | Toggle the update server's pause. |
update serve start |
daemon | Start the update server and answer its listen address. |
update serve stop |
daemon | Stop the update server. |
update system firmware apply |
daemon | Full upgrade: download, verify, stage, and restart. |
update system firmware check |
daemon | Check for a new firmware version right now. |
update system firmware download |
daemon | Download the latest firmware image right now. |
update system firmware restart |
daemon | Reboot into the already-staged firmware. |
update system firmware rollback |
daemon | Roll back to the previous firmware and restart. |
Ze writes the running peer set into the configuration file. A peer 'create bgp peer' built is added to the file, and a peer the file declares that 'delete bgp peer' removed is taken out of it. A peer both sides already hold is left exactly as it was written. The running daemon does not change: the file is brought to it. The command takes no selector, because after a delete no peer is left to name and that absence is half of what the command persists. A created peer is written under a name derived from its address, such as 'peer-192.0.2.7', because a peer name cannot start with a digit. The answer names what was added, what was removed, and the file that was written.
Mode: daemon | Wire: ze-bgp:peer-save
Answer shape: doc
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Queries PeeringDB for each matched peer's ASN, applies the configured margin, and writes the result to the config draft. Run 'config commit' to apply.
Mode: daemon | Wire: ze-bgp:update-peer-prefix
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
selector |
string |
yes | * for every peer, or an address, a peer name or an AS pattern | The value is an IP address, a peer name, an AS pattern such as as65001, a glob, or * for every peer. 'prefix' refreshes the maximums of each peer it matches. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Imports one config through the store the daemon owns, so it works while ze runs. For the daemon's own config, the content is staged as the candidate and the same reload a SIGHUP runs promotes it: the config becomes active only when the reload accepts it, and a refused config leaves the active config, its pointers and the daemon unchanged, with the reload's reason in the refusal. The import is refused while a confirmed-commit window is open, with the window's own refusal, and while another change is staged. For any other name, the content is committed as a new active version, the previous one kept as rollback, and nothing reloads. The answer carries the name, the version stamp and the byte count. The content is never recorded: the audit log, the accounting record, the SSH exec log and the session transcript hold a placeholder in its place.
Mode: daemon | Wire: ze-config:data-config-update
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Config file name, with no directory | The config's file name with no directory, as show config list prints it. A path, . and .. are refused. | |
content |
string |
yes | Config bytes in base64, at most 195,840 bytes | The config's bytes, base64-encoded (RFC 4648 Section 4, with padding): 1 to 195,840 bytes, at most 261,120 characters. The value is never recorded. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Writes one runtime-state key (a key under meta/ outside meta/config/) through the store the daemon owns, so it works while ze runs. The key is created, or replaced when it exists, with the bytes content decodes to, and the answer carries the key and the byte count. A configuration key (under file/ or meta/config/, or outside both) is refused before the store is touched, because a raw write bypasses its versions, pointers and history. A key a plugin is granted is refused while that plugin runs, because the plugin manages the key while it runs; the refusal names the plugin and its restart. Until the daemon has started its plugins, such a key is refused, because the daemon cannot tell yet whether the plugin runs. The content is never recorded: the audit log, the accounting record, the SSH exec log and the session transcript hold a placeholder in its place.
Mode: daemon | Wire: ze-config:data-key-update
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
key |
string |
yes | Store key, as show data list prints it | The key to write, as show data list prints it. | |
content |
string |
yes | Key bytes in base64, at most 195,840 bytes | The bytes to write, base64-encoded (RFC 4648 Section 4, with padding): 1 to 195,840 bytes, at most 261,120 characters. The value is never recorded. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Asks for each name in the group at once rather than waiting for its TTL. A name that fails to resolve keeps the addresses Ze already had for it, and only a name that answers NXDOMAIN empties its own contribution.
Mode: daemon | Wire: ze-firewall:update-domain-group
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
name |
string |
yes | Domain group name | A group from the firewall configuration. Every name in that group is resolved, and a name no group carries is an error that lists the groups present. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Fetches every AS-SET a consumer enforces, and answers the counts of each one.
Mode: daemon | Wire: ze-irr:update-irr-all
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Fetches and stores the prefixes of one AS-SET. A firewall commit naming an AS-SET with nothing stored is refused until this has run.
Mode: daemon | Wire: ze-irr:update-irr-as-set
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
as-set |
string |
yes | AS-SET name. | The RPSL set name, for example AS-EXAMPLE or RIPE::AS-EXAMPLE. Letters, digits, hyphen, underscore, colon and period are accepted. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Asks PeeringDB for the AS-SET of the AS number, stores that binding, then fetches and stores the AS-SET's prefixes.
Mode: daemon | Wire: ze-irr:update-irr-asn
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
asn |
union |
yes | AS number. | The AS number in plain decimal or in asdot notation, which Ze parses to one 32-bit value: 0 to 4294967295 in plain decimal, 0.0 to 65535.65535 in asdot. A spelling that parses to no AS number is refused. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Fetches the delegation file of each of the five Regional Internet Registries, parses them, and stores one table under the meta/rir/delegation key. All-or-nothing: a run in which any fetch or parse fails stores nothing and leaves the previous copy in place.
Mode: daemon | Wire: ze-resolve:update-rir
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The daemon serves its running binary and a version manifest for update checks, until it is told to stop. A daemon runs one such server at a time. Through the daemon, 'update serve' alone answers that server's status: whether it runs, the address it listens on and whether it is paused. The foreground 'ze update serve', given the address to listen on, runs the same server in the operator's own process instead.
Mode: daemon, offline | Wire: ze-update:update-serve
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Subcommands: pause, start, stop
Each call toggles the pause, and the answer says which state it left. A paused server still answers, and its manifest says paused, so update clients hold off. The update-paused file beside the binary pauses it too, whatever this state says.
Mode: daemon | Wire: ze-update:update-serve-pause
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
The answer names the address the server listens on, the bound port included when the listen leaf asked for port 0. A second start while one server runs is refused: stop it first with 'update serve stop'. Meant for build infrastructure rather than for a router in production.
Mode: daemon | Wire: ze-update:update-serve-start
Arguments:
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
listen |
string |
Listen on this host:port (default :8080). | The address the server listens on, as host:port, an IPv6 host in brackets. An empty host listens on every address. Without it, the server listens on :8080. |
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Requests in flight get five seconds to finish before their connections are closed. The command answers once the server has ended.
Mode: daemon | Wire: ze-update:update-serve-stop
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Runs the complete update cycle in one command. Only available on platforms where Ze owns the update lifecycle (e.g. gokrazy). The box will reboot into the new version.
Mode: daemon | Wire: ze-update:system-firmware-apply
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Bypasses the scheduled interval timer and contacts the update server immediately. Compare the result with 'show system update'.
Mode: daemon | Wire: ze-update:system-firmware-check
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Bypasses the maintenance window and spread timers. The image is staged but not applied. Use 'update system firmware apply' or 'restart' to activate it.
Mode: daemon | Wire: ze-update:system-firmware-download
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
No download happens. Use this after 'update system firmware download' when you are ready to activate the new version.
Mode: daemon | Wire: ze-update:system-firmware-restart
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
Reverts to the prior image. Only available on platforms with A/B partitioning (e.g. gokrazy). Use this if the new version has issues.
Mode: daemon | Wire: ze-update:system-firmware-rollback
Pipes:
Always: json, ndjson, table, text, yaml, raw, no-more, save
When the answer has rows: match, count, first, last, display, fill -- this command has not declared its answer shape, so each of these applies to an answer that carries rows and is refused by name over one that does not.
While the command keeps answering: log
Local process only: save -- daemon-expanded SSH and web chains refuse these operators.
507 commands total.
Unreviewed draft. This wiki was authored in bulk and has not been reviewed. File corrections on the issue tracker.
- Install
- Docker
- netlab
- Appliance
- Quick Start
- Use Ze with an AI agent
- ExaBGP Migration
- CLI Tour
- Web UI Tour
- Overview
- YANG Model
- Editor Workflow
- Archive and Rollback
- Backup and Restore
- System
- Interfaces
- VRRP
- BFD
- FIB
- OSPF
- IS-IS
- MPLS / LDP / RSVP-TE
- RSVP-TE
- SRv6
- Static Routes
- Policy Routing
- Firewall
- Traffic Control
- Class of Service
- L2TP/PPP
- PPPoE
- VPP Data Plane
- RPKI
- IPsec VPN
- Path MTU
- TACACS+ AAA
- RADIUS AAA
- AS112 DNS
- DNS
- Authorization
- Fleet
- BGP
- Starting and Stopping
- Show Commands
- Monitoring
- Telemetry
- Flow Export
- DDoS Mitigation
- Anomaly Detection
- Health Checks
- Audit Trail
- Production Diagnostics
- Logging
- Operational Reports
- Healthcheck
- Self-Update
- Zero-Touch Provisioning
- MRT Analysis
- Upgrade and Restart
- Storage
- Policy
- Core
- Resilience
- Validation
- Link State
- Capabilities
- Address Families
- Protocol
- Subsystems
- Infrastructure
- Route Server at an IXP
- Transit Edge with RPKI
- Public Looking Glass
- ExaBGP Migration Walkthrough
- FlowSpec Injection
- Chaos-Tested Peering
- AS Path Topology