cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
540
Views
5
Helpful
2
Replies

route-map continue clause

anton.elita
Level 1
Level 1

Dear Colleagues,

how could I make a route-map to respect "continue" clause? I have already tried many IOS versions, as well as different route-map configurations. Please regard the following sample setup.

two routers:

AS999 (c7200-ik9o3s-mz.124-8a.bin)

AS666 (c3550-ipservicesk9-mz.122-25.SEE1.bin)

are running eBGP, redistributing routes to each other, through a route-map with

a "continue" clause, which is simply not working, as if omitted.

AS999:

router bgp 999

no synchronization

bgp log-neighbor-changes

network 101.1.1.1 mask 255.255.255.255

neighbor 192.168.50.2 remote-as 666

neighbor 192.168.50.2 route-map out out

no auto-summary

!

ip route 101.1.1.1 255.255.255.255 Null0

!

route-map out permit 10

continue

!

route-map out permit 20

set as-path prepend 999 999

!

AS999#sh ip bgp

*> 3.3.3.3/32 192.168.50.2 0 0 666 i

*> 101.1.1.1/32 0.0.0.0 0 32768 i

AS666:

interface Loopback0

ip address 3.3.3.3 255.255.255.255

!

router bgp 666

no synchronization

bgp log-neighbor-changes

network 3.3.3.3 mask 255.255.255.255

neighbor 192.168.50.1 remote-as 999

neighbor 192.168.50.1 route-map out out

no auto-summary

!

route-map out permit 10

continue

!

route-map out permit 20

set as-path prepend 666 666 666

!

AS666#sh ip bgp

*> 3.3.3.3/32 0.0.0.0 0 32768 i

*> 101.1.1.1/32 192.168.50.1 0 0 999 i

That's the most simple config, that should make a double prepend to AS-Path, in

both directions. If I delete seq 10 from the route-map, it will certainly do.

What could be wrong?

Any help will be greatly appreciated.

Anton Elita

2 Replies 2

vijayasankar
Level 4
Level 4

Hi,

As per the docs provided in the site, it looks like a valid usage.

However i couldn't see this as a supported feature in the feature navigator, for the versions that you have mentioned for 7200.

Kindly check on this.

-

VJ

Hi,

you are fully right. I misunderstood the phrase "Continue clauses are supported in outbound route maps only in Cisco IOS Release 12.0(31)S and subsequent releases." from cisco site. Indeed, I should have checked the FeatureNavigator first.

This feature is supported for 7200vxr only in 12.0(32)S4 and 12.4T Trains. The both are not what I would like to see on my 7606vxr boxes...

Thank you for the good point.

Anton