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

Changing Route Map Question

ALIAOF_
Level 6
Level 6

I have a question related to modifying a route map.  Here is my existing route map below.  If I need to modify it and add another prefix list do I need to type the full line again otherwise it will override with only one?  For instance:

ip prefix-list map_4 permit 192.168.1.10.0/24

route-map bgp_Advertise permit 10

 match ip address prefix-list map_1 map_2 map_3 map_4

or do I just do it like this?

ip prefix-list map_4 permit 192.168.1.10.0/24

route-map bgp_Advertise permit 10

 match ip address prefix-list map_4

1 Accepted Solution

Accepted Solutions

Anton Abik
Level 4
Level 4

Hi,

just tested on IOS Version 12.4(25d). You can just type the one you want to add and it will be prepended.

This is my test:

PE-2#show route-map
route-map redistribute_CE-2, permit, sequence 10
Match clauses:
ip address prefix-lists: allow_ce2
Set clauses:
Policy routing matches: 0 packets, 0 bytes

*****Adding the prefix list

PE-2(config)#route-map redistribute_CE-2

PE-2(config-route-map)#match ip address prefix-list test

PE-2(config-route-map)#do show route-map
route-map redistribute_CE-2, permit, sequence 10
Match clauses:
ip address prefix-lists: allow_ce2 test
Set clauses:
Policy routing matches: 0 packets, 0 bytes

PE-2#show run | sec route-map
route-map redistribute_CE-2 permit 10
match ip address prefix-list allow_ce2 test

Hope it helps

View solution in original post

1 Reply 1

Anton Abik
Level 4
Level 4

Hi,

just tested on IOS Version 12.4(25d). You can just type the one you want to add and it will be prepended.

This is my test:

PE-2#show route-map
route-map redistribute_CE-2, permit, sequence 10
Match clauses:
ip address prefix-lists: allow_ce2
Set clauses:
Policy routing matches: 0 packets, 0 bytes

*****Adding the prefix list

PE-2(config)#route-map redistribute_CE-2

PE-2(config-route-map)#match ip address prefix-list test

PE-2(config-route-map)#do show route-map
route-map redistribute_CE-2, permit, sequence 10
Match clauses:
ip address prefix-lists: allow_ce2 test
Set clauses:
Policy routing matches: 0 packets, 0 bytes

PE-2#show run | sec route-map
route-map redistribute_CE-2 permit 10
match ip address prefix-list allow_ce2 test

Hope it helps

Review Cisco Networking products for a $25 gift card