Solved

understanding Route-Map Sequences

Posted on 2013-01-01
8
583 Views
Last Modified: 2013-01-03
I would like to know when the Route Map means AND and when it Means OR:

For instance:

Route-Map OSPF2EIGRP 10
Match tag 5
Match Route-Type Internal
Does this mean match them both or the condition is false.
=======
Route-Map OSPF2EIGRP 10
Match tag 5

Route-Map OSPF2EIGRP 10
Match Route-Type Internal

Does this mean Match either the routes with tag 5 OR type Internal ?
=======

Thank you
0
Comment
Question by:jskfan
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 17

Assisted Solution

by:Garry-G
Garry-G earned 168 total points
ID: 38735690
If you have multiple match commands in a single route-map entry, all must match for that entry to be "true". The second example, I don't understand - there can only be one entry with sequence "10" at the same time. If you want a logical "or", you will need to create to separate entries with different sequence numbers, with the same "set" statements in it.
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 83 total points
ID: 38735778
yups, all must match.
0
 
LVL 1

Assisted Solution

by:thpipfh
thpipfh earned 83 total points
ID: 38735962
0
 
LVL 22

Assisted Solution

by:Jody Lemoine
Jody Lemoine earned 166 total points
ID: 38736562
Multiple match statements in the same sequence are AND. If you want to do OR, you use different sequences. To use an example for overloaded NAT on multiple interfaces:

object-group network og-rfc-1918
 10.0.0.0 255.0.0.0
 172.16.0.0 255.240.0.0
 192.168.0.0 255.255.0.0
!
ip access-list extended acl-nat
 deny ip object-group og-rfc1918 object-group og-rfc1918
 permit ip object-group og-rfc1918 any
!
route-map rm-internet permit 10
 match ip address acl-nat
 match interface GigabitEthernet0/0
!
route-map rm-internet permit 20
 match ip address acl-nat
 match interface GigabitEthernet0/1

The first sequence in the route map requires that the traffic match acl-nat AND that it be leaving the router via interface GigabitEthernet0/0. The second sequence catches traffic that matches acl-nat AND leaving the router via interface GigabitEthernet0/1. Within a single sequence, everything is AND. Collectively, the sequences allow the entire route map to cover traffic leaving via GigabitEthernet0/0 OR GigabitEthernet0/1.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 22

Assisted Solution

by:Jody Lemoine
Jody Lemoine earned 166 total points
ID: 38736601
If you enter the configuration in your question:

Route-Map OSPF2EIGRP 10
Match tag 5

Route-Map OSPF2EIGRP 10
Match Route-Type Internal

You'll get the following in your configuration:

Route-Map OSPF2EIGRP 10
Match tag 5
Match Route-Type Internal

This is an AND comparison. If you want OR, you'll have to use different sequences. The only time you can do OR in the same sequence is if you're matching multiple items on the same line:

route-map OSPF2EIGRP
 match tag 5 10 15 20
 match route-type internal

That sequence will require that the route be tagged with (5, 10, 15 OR 20) AND be an internal route.
0
 

Author Comment

by:jskfan
ID: 38739353
Sorry for the typo in the OR case:

Route-Map OSPF2EIGRP 10
Match tag 5
Match Route-Type Internal
=======
Route-Map OSPF2EIGRP 10
Match tag 5

Route-Map OSPF2EIGRP 20
Match Route-Type Internal
=====================================

So Multiple Match in one sequence is an AND
Multiple match in difference sequences is an OR

Correct?
0
 
LVL 17

Accepted Solution

by:
Garry-G earned 168 total points
ID: 38739379
Correct ...
For the "or" case, just make sure you have the appropriate/required set-operations like next hop, etc. in sync ...
0
 

Author Closing Comment

by:jskfan
ID: 38742830
thank you
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The Cisco RV042 router is a popular small network interfacing device that is often used as an internet gateway. Network administrators need to get at the management interface to make settings, change passwords, etc. This access is generally done usi…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now