dump routing peer routes
Focus
Focus

dump routing peer routes

Table of Contents

dump routing peer routes

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

Command

dump routing peer routes ( all | peer-ip = Peer IP | vrf-name=vrf name | address-family= (ipv4 or ipv6) )

Options

allEnter all to display learned routes from all BGP peers.
vrf-nameEnter a VRF name to display the configuration for a specific BGP peer. Release 6.3.1
address-familyEnter an address family to display the learned routes of IPv4 or IPv6 for a specific BGP peer. Release 6.3.1
peer-ipEnter an IP address to display routes learned from a specific BGP peer with both IPv4 and IPv6 address..

Command Notes

RoleSuper, Read Only, Monitor
Related Commands
Introduced inRelease 5.0.1

Example

dump routing peer routes peer-ip 10.24.24.34 BGP table version is 0, local router ID is 172.16.1.86 Status codes: s suppressed, d damped, h history, * valid, > best,i - internal,r RIB-failure, S Stale, R Removed Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric Loc Prf Weight Path 0.0.0.0 10.24.24.34 0 2000 65000 1111i 10.24.24.0/29 10.24.24.34 0 2000 65000 1111 1101? . . . 192.168.168.4/30 10.24.24.34 0 2000 65000 ? Total number of prefixes 37
dump routing peer routes vrf-name=IOT-Voice BGP table version is 10, local router ID is 7.7.8.8, vrf id 27 Default local pref 100, local AS 1200 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path *> 99.9.9.0/24 7.7.8.254(vyos) 0 0 1300 i Displayed 1 routes and 2 total paths dump routing peer routes peer-ip 10.2.68.2 address-family=ipv6 BGP table version is 192, local router ID is 4.4.4.4, vrf id 0 Default local pref 100, local AS 2001 Status codes: s suppressed, d damped, h history, * valid, > best, = multipath, i internal, r RIB-failure, S Stale, R Removed Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path * 2001:10:2:68::/64 fe80::250:56ff:fe95:2a6f(BR2L3SW) 0 0 2002 ? * 2001:10:2:69::/64 fe80::250:56ff:fe95:2a6f(BR2L3SW) 0 0 2002 ? *> 2001:10:2:70::/64 fe80::250:56ff:fe95:2a6f(BR2L3SW) 0 0 2002 ? *> 2001:10:2:72::/64 fe80::250:56ff:fe95:2a6f(BR2L3SW) 0 0 2002 ? *> 3aaa:3aaa:3aaa:3aaa::/65 fe80::250:56ff:fe95:2a6f(BR2L3SW) 0 0 2002 ? Displayed 5 routes and 50 total paths