RE: match ip next-hop and match ip route-source

From: ccie2be (ccie2be@nyc.rr.com)
Date: Mon Aug 29 2005 - 07:38:33 GMT-3


Shun,

When wouldn't the route-source and the next hop be the same?

I'm thinking when using ospf because with ospf the route-source is the
router-id.

But, otherwise, if using any other protocol, the route-source and next-hop
would be the same.

Do you agree?

Tim

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
kumara.shunmugam@wipro.com
Sent: Monday, August 29, 2005 3:28 AM
To: moelkomy@cisco.com; ccielab@groupstudy.com
Subject: RE: match ip next-hop and match ip route-source

No.. It is not that both the commands will match the source of the updates.

  
Match IP route-source
Use the match ip route-source command to create an entry in a route map to
test routes based on whether the route has been advertised by specific
routers at the addresses specified in ACL.

Match IP next hop:

Use the match ip next-hop command to create an entry in a route map to test
routes based on a next-hop router address specified in the access lists.

Both the Matching is applied in route-maps that affect outbound routes
only.Useful for redistribution purposes some times

Shun

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Mohammed El-Komy (moelkomy)
Sent: Saturday, August 27, 2005 12:57 PM
To: ccielab@groupstudy.com
Subject: match ip next-hop and match ip route-source

Guys,

Both commands match on the source of updates, so what's the difference?
And if you could plz clarify with an example.

Regards,

-------------------------------------------------------------------

Mohamed ElKomy

Cisco Systems, Systems Engineer

Office: +2024885300

GSM: +20121022297

FAX: +2024885400

moelkomy@cisco.com



This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:01:20 GMT-3