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

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

NameTypeRequiredValues
selectorstringyesany value of this type

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.