[c-nsp] Cisco IOS XR Redistribution

Tim Kleefass tim at haitabu.net
Thu May 29 08:15:44 EDT 2014


On 29.05.2014 1:51 PM, M K wrote:
> route-policy CONNECTED
>   if source in (192.168.200.0/24, 192.168.201.0/24) then

s/source/destination/

>     pass
>   endif
> end-policy
> 
> RP/0/0/CPU0:XR2(config)#router ospf 1
> RP/0/0/CPU0:XR2(config-ospf)#redistribute connected route-policy CONNECTED
> 
> Am getting the below error
> 
> router ospf 1
>  redistribute connected route-policy CONNECTED
> !!% Could not find entry in list: Policy [CONNECTED] uses the 'source' attribute. There is no 'source' attribute at the ospf redistribution attach point.
> 
> I tried it using a prefix-set but the same issue 

Use destination instead of source in the route-policy.

Should be the same as for filtering in BGP sessions.

Cheers,
	Tim



More information about the cisco-nsp mailing list