Command map

clear bgp rib advertised

Withdraw every route advertised to a peer.

Ze command

Registry path
clear bgp rib advertised
Usage
clear bgp rib advertised <selector> [family <family>]
Mode
Daemon
Wire method
ze-bgp:rib-clear-advertised
Backends
any backend
Task support
forbidden: the MCP server never answers with a task handle
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

Withdraws every route the selected peers' sessions hold in their Adj-RIB-Out,
configured routes included, and the peers are left with nothing from Ze until
routes are announced again. clear bgp rib out resends the same table instead.
The selector is mandatory: clear bgp rib advertised alone is refused, and * is
the explicit form for every peer. A family typed after its keyword, as family
ipv4/unicast, limits the withdrawal to that family.

Arguments

NameTypeRequiredValuesSummaryDescription
selectorstringyesany value of this type* for every peer, or an address, a peer name or an AS patternThe value is an IP address, a peer name, an AS pattern such as as65001, a glob, a comma-separated list of those, or * for every peer. A selector that matches no peer is refused.
familystringnoany value of this typeAddress family to withdraw, such as ipv4/unicastAn address family such as ipv4/unicast. Absent, every family is withdrawn.

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.