Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Confirm advertised routes

To view which routes are being advertised by R1 and which routes have been learned from peers, perform the following steps in operational mode.

Table 1. Confirm routes advertised and learned by r1

Step

Commands

Display routes advertised by R1.

vyatta@R1# show ip bgp ipv6 unicast neighbors 2001:db8:2::2 advertised-routes 
BGP table version is 0, local router ID is 172.16.117.128
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 LocPrf Weight Path
*> 2001:db8:1::/64  2001:db8:2::1            1         32768 ?
*> 2001:db8:2::/64  2001:db8:2::1            1         32768 ?

Total number of prefixes 2

Display routes learned by R1.

vyatta@R1# show ip bgp ipv6 unicast neighbors 2001:db8:2::2 routes 
BGP table version is 0, local router ID is 172.16.117.128
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 LocPrf Weight Path
*  2001:db8:2::/64  2001:db8:2::2            1             0 2 ?
*> 2001:db8:3::/64  2001:db8:2::2            1             0 2 ?

Total number of prefixes 2

Display the routing table.

vyatta@R1# show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
       I - ISIS, B - BGP, * - FIB route.

C>* ::1/128 is directly connected, lo
C>* 2001:db8:1::/64 is directly connected, dp0p1p1
C>* 2001:db8:2::/64 is directly connected, dp0p1p3
B>* 2001:db8:3::/64 [20/1] via fe80::20c:29ff:fe4e:fcb6, dp0p1p3, 00:22:47
C * fe80::/64 is directly connected, dp0p1p3
C>* fe80::/64 is directly connected, dp0p1p1

Commit the change.

vyatta@R1# commit