bgp
Lists BGP routes from BGP Control Plane RIB.
Retrieves routes from BGP Control Plane RIB filtered by parameters you specify. Deprecated: This will be removed in the future.
get/bgp/routes
Query parameters
table_type'loc-rib' | 'adj-rib-in' | 'adj-rib-out' required
BGP Routing Information Base (RIB) table type
afistring required
Address Family Indicator (AFI) of a BGP route
safistring required
Subsequent Address Family Indicator (SAFI) of a BGP route
router_asninteger
Autonomous System Number (ASN) identifying a BGP virtual router instance. If not specified, all virtual router instances are selected.
neighborstring
IP address specifying a BGP neighbor. Has to be specified only when table type is adj-rib-in or adj-rib-out.
Response
Success