Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a route-map configured on my cisco router with name say s1 and sequence number 10(default) which contains a match tag 10. If i again try to configure the same route-map name with same sequence number 10 (default) with a newer match tag 20 it is actually appending the match tag 20 with 10. Is it expected. since I have changed from permit to deny should it not flush out previous values ???

R1(config)#route-map s1 per
R1(config)#route-map s1 permit
R1(config-route-map)#match tag
R1(config-route-map)#match tag 10
R1(config-route-map)#do sh route-map
route-map s1, permit, sequence 10
Match clauses:
tag 10
Set clauses:
Policy routing matches: 0 packets, 0 bytes
R1(config)#route-map s1 deny
R1(config)#route-map s1 deny
R1(config-route-map)#match tag
R1(config-route-map)#match tag 20
R1(config-route-map)#do sh route-map
route-map s1, deny, sequence 10
Match clauses:
tag 10 20
Set clauses:
Policy routing matches: 0 packets, 0 bytes

share|improve this question
up vote 1 down vote accepted

Yes - this is expected. A given sequence number can be either a permit or deny and changing from one to the other doesn't eliminate the contents. As to the contents themselves (i.e. match statements) you're essentially telling the route-map to perform a logical OR on the two tags. If you want to only match on 20 then you should issue "no route-map s1 permit 10"

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.