
Configuring Route Policies for RIP: Example
The following example shows how to configure inbound and outbound route policies that are used to control
which route updates are received by a RIP interface or sent out from a RIP interface.
prefix-set pf1
10.1.0.0/24
end-set
!
prefix-set pf2
150.10.1.0/24
end-set
!
route-policy policy_in
if destination in pf1 then
pass
endif
end-policy
!
route-policy pass-all
pass
end-policy
!
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
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
378
Implementing RIP
Configuring Route Policies for RIP: Example