Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

IOS-IOX ip prefix-list / prefix-set

Hi ,

Based on below IOS prefix-list, how can I convert it to prefix-set in IOX, when prefix-set do not have 'permit/deny' statement ?

ip prefix-list InFilter description Networks which shouldn't be accepted
ip prefix-list InFilter seq 5 deny 10.0.0.0/8 le 32
ip prefix-list InFilter seq 10 deny 127.0.0.0/8 le 32
ip prefix-list InFilter seq 15 deny 169.254.0.0/16 le 32
ip prefix-list InFilter seq 20 deny 172.16.0.0/12 le 32
ip prefix-list InFilter seq 25 deny 192.0.2.0/24 le 32
ip prefix-list InFilter seq 30 deny 192.168.0.0/16 le 32
ip prefix-list InFilter seq 35 deny 211.49.192.0/20 le 32
ip prefix-list InFilter seq 55 deny 224.0.0.0/3 le 32
ip prefix-list InFilter seq 60 deny 0.0.0.0/0 ge 25
ip prefix-list InFilter seq 65 deny 0.0.0.0/0
ip prefix-list InFilter seq 70 permit 0.0.0.0/0 le 32

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: IOS-IOX ip prefix-list / prefix-set

Hi,

You will use RPL to achieve the same logic. You will create a prefix-set which describes all your prefixes and then create a policy like this:

if destination in then drop else pass

with a prefix-set listing all the prefixes you want to reject.

http://www.cisco.com/en/US/docs/routers/xr12000/software/xr12k_r4.0/routing/configuration/guide/rc40xr12k_chapter7.html

HTH

Laurent.

1 REPLY
Cisco Employee

Re: IOS-IOX ip prefix-list / prefix-set

Hi,

You will use RPL to achieve the same logic. You will create a prefix-set which describes all your prefixes and then create a policy like this:

if destination in then drop else pass

with a prefix-set listing all the prefixes you want to reject.

http://www.cisco.com/en/US/docs/routers/xr12000/software/xr12k_r4.0/routing/configuration/guide/rc40xr12k_chapter7.html

HTH

Laurent.

3582
Views
0
Helpful
1
Replies
CreatePlease to create content