Command map

show bgp peer rib

Show RIB data scoped to one peer.

Ze command

Registry path
show bgp peer rib
Usage
show bgp peer <selector> rib [sent|advertised|received|sent-received]
Mode
Read-only
Wire method
ze-bgp:peer-rib
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
scope
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
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

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.

Arguments

NameTypeRequiredValuesSummaryDescription
selectorstringyesany value of this typePeer selectorThe 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.

Mapping intents

Routes received from one BGP peer

Category: BGP

Routes advertised to one BGP peer

Category: BGP

Ze uses pipe filters on the peer RIB command for received and advertised views.

Juniper Junos MX

Routes received from one BGP peer

show route receive-protocol bgp <peer> verified source: show route family

Routes advertised to one BGP peer

show route advertising-protocol bgp <peer> verified source: show route family

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.