PREV NEXT INDEX

Avici Systems Inc.


set tag


Sets the route tag value.

Syntax: set tag tag-value

no set tag

tag-value

Valid values are integers between 1 and 4294967295.

Description: Use the set tag command to define tag value of the destination routing protocol when a criteria (defined by the match tag command) in the route map is matched.

Use the no set tag command to delete the entry in the route map.

Route maps consist of sets of match and set commands. Match commands define the match criteria for route maps. Routes that match one or more match criteria are processed according to the actions defined by the set commands. Routes that do not match at least one of the match criteria in the route map are ignored.

Use the route-map command to create a route map. Use the various match (to define match criteria) and set commands (to define the actions taken if a match is made) to define the conditions for redistributing routes between protocols or between instances of the same protocol.

Route tags are used to communicate information between autonomous system boundary routers. OSPF supports tags. Other protocols have a tag of zero. You can select the source of exported routes based on tags. This is useful when routes classified by tag are exported into a given routing protocol.

Factory Default: If not defined using the set tag command, the default is to forward the tag (if any) from in the source routing protocol to the destination protocol.

Command Mode: Route map configuration.

Example: In the following example:

router(config)#route-map set-tag permit 10

router(config-route-map)#match as-path 3

router(config-route-map)#set tag 5

router(config-route-map)#end

router(config)#

Related Commands: route-map
match as-path
match community
match ip address
match ip next-hop
match ip route-source
match metric
show route-map
match route-type
match tag
set as-path
set community
set community
set ip next-hop
set level
set local-preference
set metric
set metric-type
set origin
set weight


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: Routing_Pol.fm
    HTML File Name: Routing_Pol40.html
    Last Updated: 05/10/04 at 16:38:37

Please email suggestions and comments to: doc@avici.com