Use of route tagging?

From: Chuck Church (cchurch@xxxxxxxxxxxx)
Date: Tue Sep 04 2001 - 00:12:49 GMT-3


   
Hey all,

    I'm playing around with tagging routes. I've got 3 routers in a row, 1,
3, and 4. Each router is it's own AS, with a matching number. What I'm
trying to do is have router 3 tag all routes coming from router 4. But when
I do a sh ip route x.x.x.x on these on router 1, they have a tag of 3, which
is router 3's AS number. Is this how it's supposed to work? Here's a
snippet of R3 tagging:

router bgp 3
 table-map settag
 bgp log-neighbor-changes
 network 3.3.3.0 mask 255.255.255.0
 neighbor 10.10.1.1 remote-as 1
 neighbor 34.34.34.4 remote-as 4
!
ip classless
!
access-list 2 permit 34.34.34.4 (This ip address is r4's interface to r3)
access-list 3 permit any
route-map settag permit 10
 match ip route-source 2
 set tag 99
!
route-map settag permit 20
 match ip address 3
 set tag 200

But R1 doesn't see the tag:

r1#sh ip route 4.4.6.0
Routing entry for 4.4.6.0/25
  Known via "bgp 1", distance 20, metric 0
  Tag 3, type external
  Last update from 10.10.1.3 00:08:20 ago
  Routing Descriptor Blocks:
  * 10.10.1.3, from 10.10.1.3, 00:08:20 ago
      Route metric is 0, traffic share count is 1
      AS Hops 2

Any ideas? I'm thinking you can only set tags when redistributing, but
haven't seen anything verifying that on CCO.

Thanks in advance,
Chuck Church
CCNP, CCDP, MCNE, MCSE
Sr. Network Engineer
Magnacom Technologies
140 N. Rt. 303
Valley Cottage, NY 10989
845-267-4000 x218
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:14 GMT-3