published: 7th of February 2019
4 steps to configure RIPng.
Define a RIPng group.
set protocols ripng group RIPNG-GROUP
Assign interfaces to the RIPng group.
set protocols ripng group RIPNG-GROUP neighbor ge-0/0/2.0
Define a routing policy to export routes.
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.
set protocols ripng group RIPNG-GROUP export EXPORT-RIPNG
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
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
Show RIPng neighbors.
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.
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.
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.
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.
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
https://www.juniper.net/documentation/en_US/junos/topics/topic-map/rip-and-ripng-overview.html
https://www.juniper.net/documentation/en_US/junos/topics/topic-map/basic-ripng-configuration.html