17 set extcommunity, 18 set ip next-hop – Accton Technology ES4626 User Manual
Page 375

375
Command: set community [AA:NN] [internet] [local-AS] [no-advertise] [no-export]
[none] [additive]
no set community [AA:NN] [internet] [local-AS] [no-advertise]
[no-export] [none] [additive]
Function:
Configure the community attributes of the BGP routing message. The “no set
community [AA:NN] [internet] [local-AS] [no-advertise] [no-export] [none]
[additive]
” command deletes this configuration.
Parameter: [AA:NN]
is the community attribute value, [internet] is the internet scope,
[local-AS]
means this 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
13.2.3.17 set extcommunity
Command: set extcommunity >
no set extcommunity >]
Function:
Configure the extended community attributes of the BGP routing message.
The “no set extcommunity >]” 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, 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:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set extcommunity rt 100:10
13.2.3.18 set ip next-hop
Command: set ip next-hop
no set ip next-hop [
Function:
Configure the next-hop of the route. The “no set ip next-hop [