Overview

4 steps to configure RIPng.

  • Define a RIPng group
  • Assign interfaces to the RIPng group
  • Define a routing policy to export routes
  • Assign the routing policy to the RIPng group

Configuration

Define a RIPng group.

cmd

set protocols ripng group RIPNG-GROUP
            

Assign interfaces to the RIPng group.

cmd

set protocols ripng group RIPNG-GROUP neighbor ge-0/0/2.0
            

Define a routing policy to export routes.

cmd

set policy-options policy-statement EXPORT-RIPNG term 1 from protocol direct
set policy-options policy-statement EXPORT-RIPNG term 1 from protocol ripng
set policy-options policy-statement EXPORT-RIPNG term 1 then accept
            

Assign the routing policy to the RIPng group.

cmd

set protocols ripng group RIPNG-GROUP export EXPORT-RIPNG
            

Topology

P1R1

cmd

set protocols ripng group RIPNG-GROUP
set protocols ripng group RIPNG-GROUP neighbor ge-0/0/2.0
set policy-options policy-statement EXPORT-RIPNG term 1 from protocol direct
set policy-options policy-statement EXPORT-RIPNG term 1 from protocol ripng
set policy-options policy-statement EXPORT-RIPNG term 1 then accept
set protocols ripng group RIPNG-GROUP export EXPORT-RIPNG
            

P1R2

cmd

set protocols ripng group RIPNG-GROUP
set protocols ripng group RIPNG-GROUP neighbor ge-0/0/1.0
set policy-options policy-statement EXPORT-RIPNG term 1 from protocol direct
set policy-options policy-statement EXPORT-RIPNG term 1 from protocol ripng
set policy-options policy-statement EXPORT-RIPNG term 1 then accept
set protocols ripng group RIPNG-GROUP export EXPORT-RIPNG
            

Verification

Show RIPng neighbors.

cmd

show ripng neighbor

# output
                    Source                           Dest               In
Neighbor     State  Address                          Address  Send Recv Met
--------     -----  -------                          -------  ---- ---- ---
ge-0/0/2.0      Up fe80::2ab7:adff:feb3:559d        ff02::9  yes yes    1
            

Show RIPng routing table.

cmd

show route protocol ripng

# output
inet.0: 49 destinations, 49 routes (49 active, 0 holddown, 0 hidden)

inet6.0: 94 destinations, 95 routes (94 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

fd00:10:1:12::/64   [RIPng/100] 00:01:31, metric 2, tag 0
                    > to fe80::2ab7:adff:fedc:fde3 via ge-0/0/2.0
<snip>
fd00:10:1:28::/64  *[RIPng/100] 00:01:31, metric 2, tag 0
                    > to fe80::2ab7:adff:fedc:fde3 via ge-0/0/2.0
fd00:10:255:1::2/128
                   *[RIPng/100] 00:01:31, metric 2, tag 0
                    > to fe80::2ab7:adff:fedc:fde3 via ge-0/0/2.0
ff02::9/128        *[RIPng/100] 00:02:06, metric 1
                      MultiRecv
            

Show advertised RIPng routes.

cmd

show route advertising-protocol ripng fe80::2ab7:adff:feb3:559d

# output
inet6.0: 94 destinations, 95 routes (94 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

fd00:10:1:12::/64  *[Direct/0] 03:42:47
                    > via ge-0/0/2.0
                    [RIPng/100] 00:04:53, metric 2, tag 0
                    > to fe80::2ab7:adff:fedc:fde3 via ge-0/0/2.0
<snip>
fd00:10:1:18::/64  *[Direct/0] 03:42:47
                    > via ge-0/0/8.0
fd00:10:255:1::1/128
                   *[Direct/0] 03:42:58
                    > via lo0.0
            

Show received RIPng routes.

cmd

show route receive-protocol ripng fe80::2ab7:adff:fedc:fde3

# output
inet.0: 49 destinations, 49 routes (49 active, 0 holddown, 0 hidden)

inet6.0: 94 destinations, 95 routes (94 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

fd00:10:1:12::/64   [RIPng/100] 00:07:28, metric 2, tag 0
                    > to fe80::2ab7:adff:fedc:fde3 via ge-0/0/2.0
<snip>
fd00:10:1:28::/64  *[RIPng/100] 00:07:28, metric 2, tag 0
                    > to fe80::2ab7:adff:fedc:fde3 via ge-0/0/2.0
fd00:10:255:1::2/128
                   *[RIPng/100] 00:07:28, metric 2, tag 0
                    > to fe80::2ab7:adff:fedc:fde3 via ge-0/0/2.0
            

Show RIPng message exchange.

cmd

show ripng statistics

# output
RIPng info: port 521; holddown 120s.
    rts learned  rts held down  rqsts dropped  resps dropped
              8              0              0              0

ge-0/0/2.0:  8 routes learned; 8 routes advertised; timeout 180s; update interval 30s
Counter                         Total   Last 5 min  Last minute
-------                   -----------  -----------  -----------
Updates Sent                       19           10            2
Triggered Updates Sent              2            0            0
Responses Sent                      0            0            0
Bad Messages                        0            0            0
Updates Received                   19           10            2
Bad Route Entries                   0            0            0
Updates Ignored                     0            0            0
RIPng Requests Received             1            0            0
RIPng Requests Ignored              0            0            0