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

IOS-XR question

Ahmede
Level 1
Level 1

When I try to convert route map in IOS to RPL in IOS-XR, Cisco documenatation has this example..

ip prefix-list 101

10 permit 10.48.0.0/16 le 32

20 permit 172.48.0.0/19 le 32

30 permit 172.10.10.0/24

40 permit 172.11.1.0/24

50 permit 192.168.3.0/24

60 permit 192.168.8.0/21

70 permit 192.168.32.0/21

In IOS_XR it will be

prefix-set ps101

10.48.0.0/16 le 32

172.48.0.0/19 le 32

172.10.10.0/24

172.11.1.0/24

192.168.3.0/24

192.168.8.0/21

192.168.32.0/21

end-set

Now, in XR there's no permit or deny.. So if I have route map like this

ip prefix-list 101

10 permit 10.48.0.0/16 le 32

20 permit 172.48.0.0/19 le 32

30 permit 172.10.10.0/24

35 deny 172.11.1.5/32

40 permit 172.11.1.0/24

50 permit 192.168.3.0/24

60 permit 192.168.8.0/21

70 permit 192.168.32.0/21

How can we convert that? How to distinguish between the permit and the deny?

1 Reply 1

Harold Ritter
Cisco Employee
Cisco Employee

Ahmed,

You would configure the following prefix-set without the 172.11.1.5/32 as follow:

prefix-set ps 101

10.48.0.0/16 le 32

172.48.0.0/19 le 32

172.10.10.0/24

172.11.1.0/24

192.168.3.0/24

192.168.8.0/21

192.168.32.0/21

end-set

use it in the route-policy as follow:

if destination in ps101 then

set local-preference 100

endif

172.11.1.5/32 would not match the condition.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card