Re: Tag BGP external routes?

From: Mirco Orlandi <mirco.orlandi_at_gmail.com>
Date: Mon, 22 Mar 2010 16:35:55 +0100

Very good point Ryan,
if there are external routes in eigrp originated from other protocols (ex:
redistribute static), we cannot match only "external type" because task said
to set tag 999 only for bgp originated routes.

So, we can do:

route-map set-tag permit 10
  match tag <bgp as>
  set tag 999

....or both:

route-map set-tag permit 10
  match route-type external
  match tag <bgp as>
  set tag 999

Thanx,
-mirco.

On Mon, Mar 22, 2010 at 4:19 PM, Ryan West <rwest_at_zyedge.com> wrote:

> > -----Original Message-----
> > Sent: Monday, March 22, 2010 10:59 AM
> > To: Mirco Orlandi
> > Cc: Ivan Hrvatska; Marc La Porte; Cisco certification
> > Subject: Re: Tag BGP external routes?
> >
> > Micro is right - all routes will be taged with 999. The taging must be
> done
> > iwth a route-map. The tag command on a redistribution config will tag
> ALL
> > redistributed routes.
> >
>
> EBGP redistributed routes will be, by default, tagged with their origin AS
> number when redistributed into IGP. Might not be the tag you're looking
> for, but if you need to match on a tag for a later routing decision, those
> tags are there for your selection.
>
> -ryan

Blogs and organic groups at http://www.ccie.net
Received on Mon Mar 22 2010 - 16:35:55 ART

This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 07:26:35 ART