: dump routing peer advertised routes
Focus
Focus

dump routing peer advertised routes

Table of Contents

dump routing peer advertised routes

Use the dump routing peer advertised routes command to display the routes advertised to BGP peers. Information displayed includes details on network, next hop, metrics, path, and weight along with status codes.

Command

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

Options

allEnter all to display routes advertised to all BGP peers.
vrf-idEnter a VRF ID to display routes advertised to a specific BGP peer. Release 6.3.1
peer-ipEnter an IP address to display routes advertised to a specific BGP peer with both IPv4 and IPv6 address..
address-familyEnter an address family (IPv4 or IPv6) to display the learned routes advertised to a specific BGP peer. Release 6.3.1
vrf-nameEnter a VRF name to display routes advertised to a specific BGP peer. Release 6.3.1

Command Notes

RoleSuper, Read Only, Monitor
Related Commands
Introduced inRelease 5.0.1

Example

dump routing peer advertised-routes all BGP table version is 0, local router ID is 192.168.106.2 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 10.10.60.0/30 192.168.106.2 0 32768 i 10.24.24.176/30 10.24.24.35 0 32768 i Total number of prefixes 2 BGP table version is 0, local router ID is 192.168.106.2 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 10.10.60.0/30 15.15.15.0 0 32768 i 10.24.24.176/30 15.15.15.0 0 32768 i
dump routing peer advertised-routes all Default BGP instance not found 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 *> 7.7.8.0/24 0.0.0.0 0 32768 i Total number of prefixes 1 BGP table version is 2, local router ID is 6.6.8.8, vrf id 31 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 *> 6.6.8.0/24 0.0.0.0 0 32768 i dump routing peer advertised-routes vrf-name=IOT-Data peer-ip 6.6.8.254 BGP table version is 2, local router ID is 6.6.8.8, vrf id 31 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 *> 6.6.8.0/24 0.0.0.0 0 32768 i Total number of prefixes 1
dump routing peer advertised-routes peer-ip 10.2.68.2 address-family=ipv4 BGP table version is 208, 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 *> 0.0.0.0/0 0.0.0.0 0 32768 i *> 10.2.1.0/24 0.0.0.0 0 32768 i *> 10.2.2.0/24 0.0.0.0 0 32768 i *> 10.2.3.0/24 0.0.0.0 0 32768 i *> 10.2.4.0/24 0.0.0.0 0 32768 i *> 10.2.5.0/24 0.0.0.0 0 32768 i *> 10.2.6.0/24 0.0.0.0 0 32768 i *> 10.2.7.0/24 0.0.0.0 0 32768 i *> 10.2.8.0/24 0.0.0.0 0 32768 i *> 10.2.9.0/24 0.0.0.0 0 32768 i *> 10.2.10.0/24 0.0.0.0 0 32768 i *> 10.2.15.0/24 0.0.0.0 0 32768 i *> 10.2.20.0/24 0.0.0.0 0 32768 i *> 10.2.21.0/24 0.0.0.0 0 32768 i *> 10.2.22.0/24 0.0.0.0 0 32768 i *> 10.2.23.0/24 0.0.0.0 0 32768 i *> 10.2.24.0/24 0.0.0.0 0 32768 i *> 10.2.49.0/24 0.0.0.0 0 32768 i *> 10.2.50.0/24 0.0.0.0 0 32768 i *> 10.2.51.0/24 0.0.0.0 0 32768 i *> 10.2.64.0/24 0.0.0.0 0 32768 i *> 10.2.65.0/24 0.0.0.0 0 32768 i *> 10.2.67.0/24 0.0.0.0 0 32768 i *> 10.2.68.0/24 0.0.0.0 0 32768 i *> 10.2.69.0/24 0.0.0.0 0 32768 i *> 10.2.76.0/24 0.0.0.0 0 32768 i *> 10.2.81.0/24 0.0.0.0 0 32768 i *> 10.2.105.0/24 0.0.0.0 0 32768 i *> 10.2.202.0/24 0.0.0.0 0 32768 i *> 10.3.20.0/24 0.0.0.0 0 32768 i *> 10.9.10.0/24 0.0.0.0 0 32768 i *> 10.9.11.0/24 0.0.0.0 0 32768 i *> 10.11.2.0/24 0.0.0.0 0 32768 i *> 10.66.34.0/24 0.0.0.0 0 32768 i *> 11.2.3.0/24 0.0.0.0 0 32768 i *> 18.1.1.1/32 0.0.0.0 0 32768 i *> 19.1.1.1/32 0.0.0.0 0 32768 i *> 25.1.1.0/24 0.0.0.0 0 32768 i *> 55.55.55.55/32 0.0.0.0 0 32768 i *> 100.127.255.246/32 0.0.0.0 0 32768 i *> 165.120.165.165/32 0.0.0.0 0 32768 i *> 175.120.175.175/32 0.0.0.0 0 32768 i *> 192.168.4.0/24 0.0.0.0 0 32768 i *> 210.2.1.0/24 0.0.0.0 0 32768 i Total number of prefixes 44