API Guide

Supported
Releases
10.4.0E(R1) or later
set extcomm-list delete
Remove communities in the specified list from the EXTCOMMUNITY attribute in a matching inbound or outbound BGP route.
Syntax
set extcomm-list extcommunity-list-name delete
Parameter extcommunity-list-name Enter the name of an established extcommunity list. A maximum of 140
characters.
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
Access Control Lists 1183