cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4325
Views
0
Helpful
1
Replies

IOS-IOX ip prefix-list / prefix-set

tckoon
Level 1
Level 1

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

Laurent Aubert
Cisco Employee
Cisco Employee

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.

View solution in original post

1 Reply 1

Laurent Aubert
Cisco Employee
Cisco Employee

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.