Command map

show route

Show the kernel routing table.

Ze command

Registry path
show route
Usage
show route [prefix <prefix>] [limit <limit>]
Mode
Read-only
Wire method
ze-show:route
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
lookup
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

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.

Arguments

NameTypeRequiredValuesSummaryDescription
prefixstringnoany value of this typeCIDR prefix filterA prefix in CIDR form, or the word default. Only routes for that prefix are listed, and every route is listed when it is absent.
limituintnoany value of this typeMaximum number of routesThe largest number of routes the answer carries, given after the word limit. The default is 100000, and the answer says when it was truncated.

Mapping intents

Routing table

Category: Routing

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

No equivalent is listed for this vendor yet.