API Guide

set tag
Sets a tag for redistributed routes.
Syntax
set tag tag-value
Parameters tag-value Enter a tag number for the route to redistribute, from 0 to 4294967295.
Default Not configured
Command Mode CONFIGURATION
Usage
Information
The no version of this command deletes the set clause from a route map.
Example
OS10(conf-route-map)# set tag 23
Supported
Releases
10.2.0E or later
set weight
Set the BGP weight for the routing table.
Syntax
set weight weight
Parameters weight Enter a number as the weight the route uses to meet the route map specification, from 0 to
65535.
Default Default router-originated is 32768 all other routes are 0.
Command Mode ROUTE-MAP
Usage
Information
The no version of the command deletes the set clause from the route map.
Example
OS10(conf-route-map)# set weight 200
Supported
Releases
10.2.0E or later
show route-map
Displays the current route map configurations.
Syntax
show route-map [map-name]
Parameters map-name (Optional) Specify the name of a configured route map. A maximum of 140 characters.
Defaults None
Command Mode EXEC
Usage
Information
None
Example
OS10# show route-map
route-map abc, permit, sequence 10
Match clauses:
ip address (access-lists): hello
as-path abc
community hello
metric 2
origin egp
route-type external type-1
1186 Access Control Lists