Re: Cannot set interface for route manipulation in Route-map

From: Herbert Maosa (asawilunda@googlemail.com)
Date: Sun Jan 13 2008 - 05:11:12 ARST


Ben,

You can send a default in RIP to a particular interface without a problem by
using the *set interface action *in a route-map attached to the
*default-information
originate *command. I think the issue here is not whether this can be done
or not ( we know it can be done ), the issue is whether this can be done
when the media is multiaccess such as Ethernet.

I posted a config here where I showed I successfully used a route-map to
direct a defaut route in RIP to a specific fastethernet interface other
than to all interfaces, using the *set interface *action in a route-map
attached to the *default infomation-originate *command. I can replicate
this config in a lab and post it again, but the one I posted was a saved
config from my lab and it worked.

Herbert.

On Jan 12, 2008 12:19 AM, Ben Holko <ben@holnet.net> wrote:

> According to the doc CD, the "set interface" route-map command does
> this:
>
> "Indicates where to output packets that pass a match clause of a route
> map for policy routing"
>
> RIP doesn't work by interface like you are thinking, in that you cannot
> advertise a route out only one of your enabled interfaces. If you want
> to show your default prefix out only one interface, you will need to
> filter it out of the remaining RIP-enabled interfaces with a
> distribute-list.
>
> Ben
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
> seyfert22@googlemail.com
> Sent: Thursday, 10 January 2008 7:16 PM
> To: ccielab@groupstudy.com
> Subject: Cannot set interface for route manipulation in Route-map
>
> I want to generate a default route in Rip ,just for particular interface
> (e0/1).
> I know,that I can use distribute-list for this .
> But I hear that I can use "set int" for this..
>
>
> router rip
> default-info originate route-map DEFAULT
>
> R4(config)#route-map DEFAULT permit 10
> R4(config-route-map)#set int e0/1
> % route-map:can not set interface.
> % Use P2P interfaces for set interface clause
>
>
> any sollution for this?
>
> thanks be4
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Feb 01 2008 - 10:37:59 ARST