Reference Guide

Defaults None
Command Mode ROUTE-MAP
Usage Information
The no version of this command inserts the community list into the EXTCOMMUNITY attribute.
Example
OS10(config)# route-map bgp
OS10(conf-route-map)# set extcomm-list TestList delete
Supported Releases 10.3.0E or later
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 (1–65535:1–4294967295).
asn4:nnnn — Enter an AS number in 4-byte format (1–4294967295:1–65535 or 1–65535.1–65535:1–
65535).
ip-addr:nn — Enter an AS number in dotted format (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 (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
Access Control Lists 439