20 set extcommunity, Set extcommunity – PLANET XGS3-24042 User Manual

Page 486

Advertising
background image


31-125

route do not announce outside the local AS (but can announce among the sub AS within the

confederation), [no-advertise] means this route do not send to any neighbor, [no-export] means

this route do not send to EBGP neighbors, [none] means delete the community attributes from the

prefix of this route, [additive] means add following existing community attributes.

Command Mode:

route-map mode

Usage Guide:

To use this command, one match clause should at first be defined.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#set community local-as additive

31.20 set extcommunity

Command:

set extcommunity <rt | soo> <AA:NN>

no set extcommunity <rt | soo> [<AA:NN>]

Function:

Configure the extended community attributes of the BGP routing message. The “no set

extcommunity <rt | soo> [<AA:NN>]” command deletes this configuration.

Parameter:

<rt> is the route target, <soo> is the site of origin, <AA:NN> is the value of community attributes,

amongst AA is AS number, ranging from 1 to 4294967295, it can be shown in decimal notation

(such as 6553700) or delimiter method (such as 100.100), NN is a random two byte number.

Command Mode:

route-map mode

Usage Guide:

To use this command, one match clause should at first be defined.

Example:

Set rt as 100:10

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#set extcommunity rt 100:10

Set soo as 200.200:10

Advertising
This manual is related to the following products: