Enabling and configuring RIPng interfaces

After enabling RIPng globally, you must enable it on individual device interfaces.
  1. You can enable RIPng on physical as well as virtual routing interfaces. For example, to enable RIPng on Ethernet interface 1/3/1, enter the following commands.
    device# configure terminal
    device(config)# interface ethernet 1/3/1
    device(config-if-e1000-1/3/1)# ipv6 rip enable
    

    Note: To disable RIPng on an individual device interface, use the no form of this command.

  2. (Optional) Enable default route learning.
    device(config-if-e1000-1/3/1)# ipv6 rip default-information originate
    
    This example originates IPv6 default routes and includes all other routes in updates sent from Ethernet interface 1/3/1.
  3. (Optional) Configure the interface so that it advertises IPv6 address summaries instead of the original route.
    device(config-if-e1000-1/3/1)# ipv6 address 2001:db8:0:adff:8935:e838:78:
    e0ff /64
    device(config-if-e1000-1/3/1)# ipv6 rip summary-address 2001:db8::/36
    
    This example advertises the summarized prefix 2001:db8::/36 instead of the original IPv6 address from Ethernet interface 1/3/1.
  4. (Optional) Change the metric offset that the interface adds for learned or advertised routes.
    device(config-if-e1000-1/3/1)# ipv6 rip metric-offset 2
    device(config-if-e1000-1/3/1)# ipv6 rip metric-offset out 3
    

    In this example, if Ethernet interface 1/3/1 learns about an incoming route, it will increase the incoming metric by two. if the interface 1/3/1 advertises an outgoing route, it will increase the metric offset by 3.

  5. (Optional) Apply a prefix-list to the interface for learned and/or advertised routes.
    device(config-if-e1000-1/3/1)# ipv6 rip prefix-list test1 in
    device(config-if-e1000-1/3/1)# ipv6 rip prefix-list test2 out

    In this example, the prefix-list test1 is applied to learned routes, and the prefix-list test2 is applied to advertised routes.

The following example enables RIPng on port 1/3/1. It enables learning of default RIPng routes and all other routes. It modifies the interface to send route summaries. It changes the metric for learned routes to 2 and the metric for advertised routes to 3. Finally, it applies a pre-configured prefix list to filter incoming (learned) routes.

device# configure terminal
device(config)# interface ethernet 1/3/1
device(config-if-e1000-1/3/1)# ipv6 rip enable
device(config-if-e1000-1/3/1)# ipv6 rip default-information originate
device(config-if-e1000-1/3/1)# ipv6 address 2001:db8:0:adff:8935:e838:78:e0ff/64
device(config-if-e1000-1/3/1)# ipv6 rip summary-address 2001:db8::/36
device(config-if-e1000-1/3/1)# ipv6 rip metric-offset 2
device(config-if-e1000-1/3/1)# ipv6 rip metric-offset out 3
device(config-if-e1000-1/3/1)# ipv6 rip prefix-list test1 in