Users Guide

Table Of Contents
Defaults None
Command Mode ROUTE-MAP
Usage
Information
To add communities in an extcommunity list to the EXTCOMMUNITY attribute in a BGP route, use the
set extcomm-list add command.
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; for example, 165535:14294967295.
asn4:nnnn Enter an AS number in 4-byte format; for example, 14294967295:165535 or 1
65535.165535:165535.
ip-addr:nn Enter an AS number in dotted format, from 1 to 65535.
Default Not configured
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 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
1310 Access Control Lists