[c-nsp] Cisco IOS XR Redistribution

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Thu May 29 08:10:46 EDT 2014


> 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




More information about the cisco-nsp mailing list