> route-policy CONNECTED
>  if source in (192.168.200.0/24, 192.168.201.0/24) then
>    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

you need to match "destination", I.e.

  if destination in (192.168.200.0/24, 192.168.201.0/24) then
    pass
  endif
        
        oli


_______________________________________________
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