Users Guide

Table Of Contents
Example
OS10(config)# route-map bgp
OS10(conf-route-map)# set extcommunity rt 10.10.10.2:325
Supported
Releases
10.3.0E or later
set local-preference
Sets the preference value for the AS path.
Syntax
set local-preference value
Parameters value Enter a number as the LOCAL_PREF attribute value, from 0 to 4294967295.
Default Not configured
Command Mode ROUTE-MAP
Usage
Information
This command changes the LOCAL_PREF attribute for routes meeting the route map criteria. To change
the LOCAL_PREF for all routes, use the bgp default local-preference command. The no
version of this command removes the LOCAL_PREF attribute.
Example
OS10(conf-route-map)# set local-preference 200
Supported
Releases
10.2.0E or later
set metric
Set a metric value for a routing protocol.
Syntax
set metric [+ | -] metric-value
Parameters
+ (Optional) Add a metric value to the redistributed routes.
- (Optional) Subtract a metric value from the redistributed routes.
metric-value Enter a new metric value, from 0 to 4294967295.
Default Not configured
Command Mode ROUTE-MAP
Usage
Information
To establish an absolute metric, do not enter a plus or minus sign before the metric value. To establish a
relative metric, enter a plus or minus sign immediately preceding the metric value. The value is added to
or subtracted from the metric of any routes matching the route map. You cannot use both an absolute
metric and a relative metric within the same route map sequence. Setting either metric overrides any
previously configured value. The no version of this command removes the filter.
Example
(Absolute)
OS10(conf-route-map)# set metric 10
Example
(Relative)
OS10(conf-route-map)# set metric -25
Supported
Releases
10.2.0E or later
set metric-type
Set the metric type for the a redistributed routel.
Syntax
set metric-type {type-1 | type-2 | external}
1304 Access Control Lists