From: Jens Petter (jenseike@start.no)
Date: Sun Nov 26 2006 - 11:52:02 ART
If you want to modify only some data, you must configure second route map
section with an explicit match specified:
Route-map set_match_tag permit 10
Match tag 333
Route-map set_match_tag permit 20
Set tag 777
This should work...
Mvh
Jens Petter Eikeland
Mob 98247550
Hipercom AS
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
cadet
Sent: 25. november 2006 21:03
To: ccielab@groupstudy.com
Subject: OSPF: distribute-list route-map
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