Re: Tag

From: Elias Chari (elias.chari@gmail.com)
Date: Mon Jul 03 2006 - 08:21:00 ART


No, the `tag is just a number you add to a route to allow you to do certain
route manipulation. Below is an example of two routes redistributed into
ospf which are tagged.

The tag now allows you to match the routes. For example if you redistribute
from ospf to rip you may chose to deny or permit those tagged routes, set
the metric etc...

Rgds
Elias
=======
Rack1R6#sh route-map LOO6
route-map LOO6, permit, sequence 10
  Match clauses:
    interface Loopback6
  Set clauses:
    tag 66
  Policy routing matches: 0 packets, 0 bytes
route-map LOO6, permit, sequence 20
  Match clauses:
    interface Loopback7
  Set clauses:
    tag 77
  Policy routing matches: 0 packets, 0 bytes

Rack1R1#ir 7.7.7.7
Routing entry for 7.7.7.0/24
  Known via "ospf 1", distance 110, metric 20
  Tag 77, type extern 2, forward metric 65
  Last update from 163.1.12.2 on Serial0/0, 00:00:06 ago
  Routing Descriptor Blocks:
  * 163.1.12.2, from 150.1.6.6, 00:00:06 ago, via Serial0/0
      Route metric is 20, traffic share count is 1
      Route tag 77

Rack1R1#ir 6.6.6.6
Routing entry for 6.6.6.0/24
  Known via "ospf 1", distance 110, metric 20
  Tag 66, type extern 2, forward metric 65
  Last update from 163.1.12.2 on Serial0/0, 00:00:15 ago
  Routing Descriptor Blocks:
  * 163.1.12.2, from 150.1.6.6, 00:00:15 ago, via Serial0/0
      Route metric is 20, traffic share count is 1
      Route tag 66

On 7/3/06, Sami <sy1977@gmail.com> wrote:
>
> Group,
>
> Just want to clarify , if in a route-map if I say set tag 10 , does it it
> will have metric 10 ? I used tag in redistribuion just for permit and deny
> purpose but in one of solution guide use set tag xx for rip metric.
>
> Thanks
> Sami
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:46 ART