cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
161
Views
3
Helpful
1
Replies

Route-Map Config

Rawa Salah
Beginner
Beginner

HI All

i configured the route-map on router ,

r

oute-map Client_side_map permit 20

match ip address Client_side2

set ip next-hop xx.xx.xx.xx 

but when i enter show run  i see the following config thats marvel

!

route-map Client_side_map permit 20
match ip address Client_side2 Internet_side1
set ip next-hop xx.xx.xx.xx  xx.xx.xx.xx
!

any one can tell me what is the underline ?

1 Reply 1

cadet alain
Mentor
Mentor

Hi,

R4(config)#access-list 100 permit ip any any

R4(config)#access-list 101 permit ip any any

R4(config)#route-map test p 10

R4(config-route-map)#match ip add 100

R4(config-route-map)#set ip next

R4(config-route-map)#set ip next-hop 20.20.20.20

R4(config-route-map)#do sh route-map

route-map test, permit, sequence 10

  Match clauses:

    ip address (access-lists): 100

  Set clauses:

    ip next-hop 20.20.20.20

  Policy routing matches: 0 packets, 0 bytes

R4(config-route-map)#match ip add 101

R4(config-route-map)#set ip nex

R4(config-route-map)#set ip next-hop 22.22.22.22

R4(config-route-map)#do sh route-map

route-map test, permit, sequence 10

  Match clauses:

    ip address (access-lists): 100 101

  Set clauses:

    ip next-hop 20.20.20.20 22.22.22.22

  Policy routing matches: 0 packets, 0 bytes

As you see in this example multiple  same match or set statement are automatically rearranged in a OR fashion instead of  a AND fashion.

So I presume you already had a 20 clause in your route-map and so you edited it in the way I showed above.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
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:

Recognize Your Peers