Command:

table-map


Mode:

Router(config-router)#

Router(config-router-af)#


Syntax:

table-map map-name
no table-map map-name

 

Syntax Description:

This command has no arguments or keywords.

 

Command Description:

To modify metric and tag values when the IP routing table is updated with BGP learned routes, use the table-map command in address family or router configuration mode. To disable this function, use the no form of the command.

This command is disabled by default.

This command adds the route map name defined by the route-map command to the IP routing table. This command is used to set the tag name and the route metric to implement redistribution.

You can use match clauses of route maps in the table-map command. IP access list, autonomous system paths, and next hop match clauses are supported.


Example:

In the following router configuration mode example, the Cisco IOS software is configured to automatically compute the tag value for the BGP learned routes and to update the IP routing table:

Router(config)#route-map tag
Router(config-route-map)#match as path 10
Router(config-route-map)#set automatic-tag

Router(config)#router bgp 100
Router(config-router)#table-map tag
 

In the following address family configuration mode example, the Cisco IOS software is configured to automatically compute the tag value for the BGP learned routes and to update the IP routing table:

Router(config)#route-map tag
Router(config-route-map)#match as path 10
Router(config-route-map)#set automatic-tag

Router(config)#router bgp 100
Router(config-router)#address-family ipv4 unicast
Router(config-router-af)#table-map tag


Misconceptions:

None


Related Commands:

address-family ipv4
match as-path
match ip address
match ip next-hop
route-map

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)