Command map

show system sockets

Show open TCP and UDP sockets on this box.

Ze command

Registry path
show system sockets
Usage
show system sockets [protocol <tcp|udp>] [state <state>] [port <port>]
Mode
Read-only
Wire method
ze-show:system-sockets
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
none: this command takes no subcommand
Pipes, always
json, ndjson, table, text, yaml, raw, no-more, save
Pipes, when the answer has rows
match, count, first, last, display, fill
Pipes, while streaming
log
Pipes, local process only
save

Description

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.

Arguments

NameTypeRequiredValues
protocolenumnotcp udp
statestringnoany value of this type
portuintnoany value of this type

Mapping status

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

Juniper Junos MX

No equivalent is listed for this vendor yet.

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

No equivalent is listed for this vendor yet.

VyOS

No equivalent is listed for this vendor yet.