OSPF: distribute-list route-map

From: cadet (cadet22@gmail.com)
Date: Sat Nov 25 2006 - 17:02:38 ART


Hi GROUP !
I know that using "distribute-list route-map" in OSPF I may
permit/deny routes according the VALUE of the TAG.
Are there possibility change TAG VALUE specific routes based on the
INCOMING TAG VALUE ?

For example, I want change INCOMING routes with TAG VALUE 333 to TAG
VALUE 777 using distribute-list route-map in.

router ospf 1
 distribute-list route-map metric in

route-map test permit 10
 match tag 333
 set tag 777
route-map test permit 20

BEFORE:
r1#sh ip route 10.10.12.0
Routing entry for 10.10.12.0/24
  Known via "ospf 1", distance 110, metric 124
  Tag 333, type extern 1
  Last update from 14.14.10.2 on Serial0/0, 00:00:02 ago
  Routing Descriptor Blocks:
  * 14.14.10.2, from 14.14.8.8, 00:00:02 ago, via Serial0/0
      Route metric is 124, traffic share count is 1

AFTER:
r1#sh ip route 10.10.12.0
Routing entry for 10.10.12.0/24
  Known via "ospf 1", distance 110, metric 124
  Tag 333, type extern 1
  Last update from 14.14.10.2 on Serial0/0, 00:00:02 ago
  Routing Descriptor Blocks:
  * 14.14.10.2, from 14.14.8.8, 00:00:02 ago, via Serial0/0
      Route metric is 124, traffic share count is 1

Are there any idea ?
How I may change this tag value ?

Regards. Max.



This archive was generated by hypermail 2.1.4 : Fri Dec 01 2006 - 08:05:48 ART