Command map

show bgp rib protocol

Query the routes one protocol feeds into the RIB.

Ze command

Registry path
show bgp rib protocol
Usage
show bgp rib protocol <protocol>
Mode
Read-only
Wire method
ze-bgp:rib-protocol
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, match, count, first, last, display, fill, resolve, origin
Pipes, while streaming
log
Pipes, local process only
save
Command pipes
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
Answer shape
tab
Address fields
peer, next-hop
Column order
peer, direction, family, prefix, next-hop, path-id, as-path, origin, local-pref, med, communities

Description

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.

Arguments

NameTypeRequiredValuesSummaryDescription
protocolstringyesany value of this typeRegistered protocol nameThe name of a registered protocol. The bgp-rib plugin refuses a name the protocol registry does not hold and names the registered ones.

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.