Implementing RIP on Cisco IOS XR Software
Additional References

RC-350

Cisco IOS XR Routing Configuration Guide
OL-14356-01
route-policy infil
if destination in pf2 then
add rip-metric 2
pass
endif
end-policy
!
router rip
interface GigabitEthernet0/6/0/0
route-policy policy_in in
!
interface GigabitEthernet0/6/0/2
!
route-policy infil in
route-policy pass-all out
Configuring Passive Interfaces and Explicit Neighbors for RIP: Example

The following example shows how to configure passive interfaces and explicit neighbors. When an

interface is passive, it only accepts routing updates. In other words, no updates are sent out of an

interface except to neighbors configured explicitly.

router rip
interface GigabitEthernet0/6/0/0
passive-interface
!
interface GigabitEthernet0/6/0/2
!
neighbor 172.17.0.1
neighbor 172.18.0.5
!
Controlling RIP Routes: Example

The following example shows how to use the distance command to install RIP routes in the Routing

Information Base (RIB). The maximum-paths command controls the number of maximum paths

allowed per RIP route.

router rip
interface GigabitEthernet0/6/0/0
route-policy polin in
!
distance 110
maximum-paths 8
!
Additional References

The following sections provide references related to implementing RIP on CiscoIOS XR software.