OcNOS SP : Layer 3 Guide : Routing Information Protocol Configuration : RIPng
RIPng
This chapter contains a basic RIPng configuration example.
For details about the commands used in these examples, see the Routing Information Protocol Command Reference.
Topology
The diagram shows the minimum configuration required to enable RIPng on an interface. R1 and R2 are two routers connected to network 3ffe:11::/64. To enable RIPng, first define the RIPng routing process, then enable RIPng on each interface.
RIPng Topology
Configuration
R1
 
#configure terminal
Enter Configure mode.
(config)#interface eth1
Specify the interface (eth1)to configure, and enter Interface mode.
(config-if)#ipv6 router rip
Enable RIPng routing on interface eth1.
(config-if)#exit
Exit Interface mode, and enter Configure mode.
(config)#interface eth2
Specify the interface (eth2)to configure, and enter Interface mode.
(config-if)#ipv6 router rip
Enable RIPng routing on interface eth2.
(config-if)#exit
Exit Interface mode, and enter Configure mode.
(config)#router ipv6 rip
Define a RIPng routing process, and enter Router mode.
(config)# commit
Commit the transaction.
R2
 
#configure terminal
Enter Configure mode.
(config)#interface eth1
Specify the interface (eth1)to configure, and enter Interface mode.
(config-if)#ipv6 router rip
Enable RIPng routing on interface eth1.
(config-if)#exit
Exit Interface mode, and enter Configure mode.
(config)#interface eth2
Specify the interface (eth2)to configure, and enter Interface mode.
(config-if)#ipv6 router rip
Enable RIPng routing on interface eth2.
(config-if)#exit
Exit Interface mode, and enter Configure mode.
(config)#router ipv6 rip
Define a RIPng routing process, and enter Router mode.
(config)# commit
Commit the transaction.
Validation
R1
R1#show ipv6 rip
 
Codes: R - RIP, Rc - RIP connected, Rs - RIP static, Ra - RIP aggregated,
Rcx - RIP connect suppressed, Rsx - RIP static suppressed,
K - Kernel, C - Connected, S - Static, O - OSPF, I - IS-IS, B - BGP
 
Network Next Hop If Met Tag Time
Rc 3ffe:10::/64 :: eth1 1 0
Rc 3ffe:11::/64 :: eth2 1 0
R 3ffe:12::/64 fe80::aa2b:b5ff:fe1c:c561 eth2 2 0 02:40
 
R1#show ipv6 rip interface
lo.management is up, line protocol is up
RIPng is not enabled on this interface
eth1 is up, line protocol is up
Routing Protocol: RIPng
Passive interface: Disabled
Split horizon: Enabled with Poisoned Reversed
IPv6 interface address:
3ffe:11::10/64
fe80::aa2b:b5ff:fe2f:41cb/64
eth2 is up, line protocol is up
Routing Protocol: RIPng
Passive interface: Disabled
Split horizon: Enabled with Poisoned Reversed
IPv6 interface address:
3ffe:10::10/64
fe80::aa2b:b5ff:fe2f:41cb/64
 
R1#show ipv6 protocols rip
Routing Protocol is "ripng"
 
Sending updates every 30 seconds with +/-50%, next due in 4294967295 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 redistribute metric is 1
Redistributing:
Interface
xe48
ce49
Routing for Networks:
 
R1#show ipv6 route
IPv6 Routing Table
Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF,
IA - OSPF inter area, E1 - OSPF external type 1,
E2 - OSPF external type 2, E - EVPN N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, i - IS-IS, B - BGP
Timers: Uptime
 
IP Route Table for VRF "default"
C ::1/128 via ::, lo, 4d19h49m
C 3ffe:10::/64 via ::, eth1, 00:10:53
C 3ffe:11::/64 via ::, eth2, 00:10:08
R 3ffe:12::/64 [120/2] via fe80::aa2b:b5ff:fe1c:c561, eth2, 00:04:26
C fe80::/64 via ::, eth2, 00:54:20
R2
R2#show ipv6 rip
 
Codes: R - RIP, Rc - RIP connected, Rs - RIP static, Ra - RIP aggregated,
Rcx - RIP connect suppressed, Rsx - RIP static suppressed,
K - Kernel, C - Connected, S - Static, O - OSPF, I - IS-IS, B - BGP
 
Network Next Hop If Met Tag Time
R 3ffe:10::/64 fe80::aa2b:b5ff:fe2f:41cb eth1 2 0 02:36
Rc 3ffe:11::/64 :: eth1 1 0
Rc 3ffe:12::/64 :: eth2 1 0
 
R2#show ipv6 rip interface
eth1 is up, line protocol is up
Routing Protocol: RIPng
Passive interface: Disabled
Split horizon: Enabled with Poisoned Reversed
IPv6 interface address:
3ffe:11::50/64
fe80::aa2b:b5ff:fe1c:c561/64
eth2 is up, line protocol is up
Routing Protocol: RIPng
Passive interface: Disabled
Split horizon: Enabled with Poisoned Reversed
IPv6 interface address:
3ffe:12::10/64
fe80::aa2b:b5ff:fe1c:c561/64