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

_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to