dump routing route
Focus
Focus

dump routing route

Table of Contents

dump routing route

Use the dump routing route command to display the routes learned from BGP peers.

Command

dump routing route ( all | peer-ip = Peer IP )

Options

allEnter all to display routes learned from all BGP peers.
peer-ipEnter an IP address to display routes learned from a specific BGP peer.

Command Notes

RoleSuper, Read Only, Monitor
Related Commands
Introduced inRelease 5.0.1

Example

dump routing route prefix=10.10.100.0/24 Routes learnt from peers: BGP routing table entry for 10.10.100.0/24 Paths: (2 available, best #2, table Default-IP-Routing-Table) Not advertised to any peer 7702 7701 6600 6666 10.10.152.1 from 10.10.152.1 (7.7.7.7) Origin incomplete, local pref 100, valid, external Last update: Tue Jun 19 17:40:56 20187701 6600 6666 10.10.151.1 from 10.10.151.1 (7.7.7.1) Origin incomplete, localpref 500, valid, external, best Last update: Fri Jun 8 02:05:55 2018 Routes lookup tree information: {"data": null} Forwarding Information (FIB): Path ID: 15084910001440094, Path Type: privwan, Status: true Prefix: 10.10.100.0/24 Type:D Cost:0 Admin distance:5
dump routing route prefix=3001:10:2:202::2 Routes learnt from view 1 for prefix 3001:10:2:202::2: View/Vrf 1 is unknown Routes lookup tree information: ------------------------------- { "data": { "cnh_node": [], "address_family": "ipv6", "nh_items": [ { "nexthop": "2001:10:2:65::2", "best_source_id": "1927427249", "best_opq_data": "0", "best_type": "1", "nh_objs": [ { "source_id": "16045690981097406464", "active": true, "sequence": " 2001:10:2:65::2 -> 2001:10:2:65::/64 " } ], "best_ad": "1", "ad_items": [ { "real_cost_2": "0", "real_cost_0": "0", "real_cost_1": "0", "ad": "1", "cost": "0", "source_id": "1927427249" } ], "best_cost": "0" } ], "entry_type": "route", "route_objs": [ { "term_id": "16045690981097406464", "cost": "0", "type": "1", "ad": "1", "sequence": " 3001:10:2:202::/64 -> 2001:10:2:65::2 -> 2001:10:2:65::/64 " } ], "prefix": "3001:10:2:202::/64" } } Forwarding Information (FIB):