RIPng Configuration

Basic elements for configuration

Starting RIPng can be done by using a very simple configuration. Example below illustrates a basic configuration setup with one network configured. Automatically, RIPng will operate over all the interfaces where an IP address is defined, whose network address is included in the provided network prefix. Network addresses included in this prefix and defined on these interfaces will be advertised.

It is worth to be noted that RIPng does not announce the link-local prefixes (fe80::).

vrf main
    routing ripng
      network 2001::/16
      ..
    ..
    commit

As mentioned in above config, RIPng is activated, with providing network prefix. It is also possible to provide interface name. If an interface name is provided, RIPng will then be activated on this interface and all IPv6 network prefixes defined on this interface will be advertised.

vrf main
    routing ripng
      interface eth1_0

RIPng can be stopped by using following command:

vrf main
    del routing ripng
    commit

Alternatively, it is also possible to just disable RIPng without having to remove the whole configuration.

vrf main
    routing ripng enabled false
    commit

Currently, RIPng is only supported in VRF main.

Verifying RIPng configuration

The following commands can be used to verify RIPng operation.

show ripng

This command displays the RIB of the RIPng protocol.

vrouter> show ripng
  Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP
  Sub-codes:
        (n) - normal, (s) - static, (d) - default, (r) - redistribute,
        (i) - interface, (a/S) - aggregated/Suppressed

     Network           Next Hop                    Via     Metric Tag Time
  R(n) fec0:1::/64     fe80::dced:3ff:fe4a:8933    ntfp3      2    0  02:39
  C(i) fec0:2::/64     ::                          self       1    0

show ripng status

This command displays Turbo Router running state of RIPng.

vrouter> show ripng status
 Routing Protocol is "RIPng"
   Sending updates every 30 seconds with +/-50%, next due in 2 seconds
   Timeout after 180 seconds, garbage collect after 120 seconds
   Outgoing update filter list for all interface is not set
   Incoming update filter list for all interface is not set
   Default redistribution metric is 1
   Redistributing:
   Default version control: send version 1, receive version 1
     Interface        Send  Recv
     eth1_0            1     1
   Routing for Networks:
     eth1_0
   Routing Information Sources:
     Gateway                  BadPackets BadRoutes  Distance Last Update
     fe80::dced:3ff:fe4a:8933     0           0        120      00:00:04