From: Scott Morris (swm@emanon.com)
Date: Sun Mar 09 2003 - 00:44:29 GMT-3
The table map does just that! It makes adjustments from the BGP RIB on
the way into the routing table! Kinda cool, and just the esoteric type
of modification that the CCIE lab would love to have you do!
If it's weird, count on it! (grin)
Scott
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Joe Chang
Sent: Saturday, March 08, 2003 8:47 PM
To: Gery Pang; ccielab
Subject: Re: table-map command
Gery, your configuration using the table map worked. Look at the metric
value for the IP routing table, not at the metric in the BGP table.
----- Original Message -----
From: "Gery Pang" <pang_gery@yahoo.com.hk>
To: "ccielab" <ccielab@groupstudy.com>
Sent: Saturday, March 08, 2003 7:37 AM
Subject: BGP: table-map command
> Hi Group,
>
> I want to know when the table-map command should be used?
> The document said it is to set the tag and route metric.
>
> I have tried to set the route metric with the command and the
> route-map method. The difference is only in the metric value in the
> bgp routing
table.
> With table-map, it is not changed but metric is changed with the
route-map.
> So, what is the function of the table-map? How to use it?
>
>
> TABLE-MAP
>
> router bgp 34
> table-map tag
> neighbor 172.16.13.1 remote-as 100
>
> route-map tag permit 10
> match ip address 22
> set metric 10034
> !
> route-map tag permit 20
>
> Network Next Hop Metric LocPrf Weight Path
>
> *> 192.168.10.0/28 172.16.13.1 0 0 100 i
> *> 192.168.10.16/28 172.16.13.1 0 0 100 i
>
> R3#sir 192.168.10.0 255.255.255.240
> Routing entry for 192.168.10.0/28
> Known via "bgp 34", distance 20, metric 10034
> Tag 100, type external
> Redistributing via ospf 10
> Advertised by ospf 10 subnets route-map b2o
> Last update from 172.16.13.1 00:00:31 ago
> Routing Descriptor Blocks:
> * 172.16.13.1, from 172.16.13.1, 00:00:31 ago
> Route metric is 10034, traffic share count is 1
> AS Hops 1
>
> ROUTE-MAP
>
> router bgp 34
> neighbor 172.16.13.1 remote-as 100
> neighbor 172.16.13.1 route-map tag in
>
> route-map tag permit 10
> match ip address 22
> set metric 10034
> !
> route-map tag permit 20
>
>
> Network Next Hop Metric LocPrf Weight Path
>
> *> 192.168.10.0/28 172.16.13.1 10034 0 100 i
> *> 192.168.10.16/28 172.16.13.1 10034 0 100 i
>
> R3#sir 192.168.10.0 255.255.255.240
> Routing entry for 192.168.10.0/28
> Known via "bgp 34", distance 20, metric 10034
> Tag 100, type external
> Redistributing via ospf 10
> Advertised by ospf 10 subnets route-map b2o
> Last update from 172.16.13.1 00:02:56 ago
> Routing Descriptor Blocks:
> * 172.16.13.1, from 172.16.13.1, 00:02:56 ago
> Route metric is 10034, traffic share count is 1
> AS Hops 1
>
>
> Thanks in advance.
>
> Regards,
>
>
> Gery
This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:35 GMT-3