Configuring Route Policies For Rip: Example - Cisco NCS 6000 Series Configuration Manual

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Configuring Route Policies for RIP: Example

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
end-set
!
prefix-set pf2
end-set
!
route-policy policy_in
end-policy
!
route-policy pass-all
end-policy
!
route-policy infil
end-policy
!
router rip
interface GigabitEthernet0/6/0/0
!
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
!
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
10.1.0.0/24
150.10.1.0/24
if destination in pf1 then
pass
endif
pass
if destination in pf2 then
add rip-metric 2
pass
endif
route-policy policy_in in
passive-interface
Implementing RIP

Advertisement

Table of Contents
loading

Table of Contents