Reference Guide

set extcommunity
Sets the extended community attributes in a route map for BGP updates.
Syntax
set extcommunity rt {asn2:nn | asn4:nnnn | ip-addr:nn}
Parameters
asn2:nn — Enter an AS number in 2-byte format; for example, 1–65535:1–4294967295.
asn4:nnnn — Enter an AS number in 4-byte format; for example, 1–4294967295:1–65535 or 1–65535.1–
65535:1–65535.
ip-addr:nn — Enter an AS number in dotted format, from 1 to 65535.
Default Not congured
Command Mode ROUTE-MAP
Usage Information The no version of this command deletes the set clause from a route map.
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 congured
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.
554 Access Control Lists