Aggregate-Address

Scenario to verify RIPng aggregate-address configuration for route aggregation. This command enables route aggregation in RIPng. When configured, the router advertises a single aggregated route instead of multiple specific routes, reducing the routing table size and improving network efficiency.

Test RIPng Aggregate Address

Description

Test RIPng aggregate-address configuration where DUT0 aggregates multiple /64 networks (2001:db8:100:1::/64, 2001:db8:100:2::/64, 2001:db8:100:3::/64) into a single /48 aggregate route (2001:db8:100::/48). DUT1 should receive the aggregated route instead of the individual /64 routes.

Scenario

Step 1: Set the following configuration in DUT0 :

set interfaces dummy dum0 address '2001:db8:100:1::1/64'
set interfaces dummy dum1 address '2001:db8:100:2::1/64'
set interfaces dummy dum2 address '2001:db8:100:3::1/64'
set interfaces ethernet eth0 address '2001:db8:1::100/64'
set protocols ripng aggregate-address '2001:db8:100::/48'
set protocols ripng network '2001:db8:1::/64'
set protocols ripng redistribute connected
set protocols ripng timers update 5
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Step 2: Set the following configuration in DUT1 :

set interfaces ethernet eth0 address '2001:db8:1::50/64'
set protocols ripng network '2001:db8:1::/64'
set protocols ripng timers update 5
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Attention

Verify that DUT1 receives the aggregate route 2001:db8:100::/48 via RIPng

Step 3: Run command protocols ripng show at DUT1 and check if output matches the following regular expressions:

R\(n\) 2001:db8:100::/48
Show output
Codes: K - kernel route, C - connected, L - local, S - static,
       R - RIPng, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric, t - Table-Direct
Sub-codes:
      (n) - normal, (s) - static, (d) - default, (r) - redistribute,
      (i) - interface, (a/S) - aggregated/Suppressed

   Network      Next Hop                      Via     Metric Tag Time
C(i) 2001:db8:1::/64
                  ::                          self       1    0
R(n) 2001:db8:100::/48
                  fe80::dcad:beff:feef:6c00   eth0       2    0  02:58

Attention

Verify that aggregate route is installed in routing table

Step 4: Run command protocols ipv6 show route at DUT1 and check if output matches the following regular expressions:

R>\* 2001:db8:100::/48
Show output
Codes: K - kernel route, C - connected, L - local, S - static,
       R - RIPng, O - OSPFv3, I - IS-IS, B - BGP, N - NHRP,
       T - Table, v - VNC, V - VNC-Direct, A - Babel, F - PBR,
       f - OpenFabric, t - Table-Direct,
       > - selected route, * - FIB route, q - queued, r - rejected, b - backup
       t - trapped, o - offload failure

IPv6 unicast VRF default:
C>* 2001:db8:1::/64 is directly connected, eth0, weight 1, 00:00:03
K * 2001:db8:1::/64 [0/256] is directly connected, eth0, weight 1, 00:00:05
L>* 2001:db8:1::50/128 is directly connected, eth0, weight 1, 00:00:03
R>* 2001:db8:100::/48 [120/2] via fe80::dcad:beff:feef:6c00, eth0, weight 1, 00:00:02
C>* fe80::/64 is directly connected, eth0, weight 1, 00:00:03

Attention

Verify connectivity to one of the aggregated networks

Step 5: Ping IP address 2001:db8:100:1::1 from DUT1:

admin@DUT1$ ping 2001:db8:100:1::1 count 1 size 56 timeout 1
Show output
PING 2001:db8:100:1::1(2001:db8:100:1::1) 56 data bytes
64 bytes from 2001:db8:100:1::1: icmp_seq=1 ttl=64 time=0.648 ms

--- 2001:db8:100:1::1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.648/0.648/0.648/0.000 ms