11.06.2015 Views

ES4626-SFP Management Guide.pdf

ES4626-SFP Management Guide.pdf

ES4626-SFP Management Guide.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

17.2.3.16 set community<br />

Command: set community [AA:NN] [internet] [local-AS] [no-advertise] [no-export]<br />

[none] [additive]<br />

no set community [AA:NN] [internet] [local-AS] [no-advertise]<br />

[no-export] [none] [additive]<br />

Function: Configure the community attributes of the BGP routing message. The “no set<br />

community [AA:NN] [internet] [local-AS] [no-advertise] [no-export] [none]<br />

[additive]” command deletes this configuration.<br />

Parameter: [AA:NN] is the community attribute value, [internet] is the internet scope,<br />

[local-AS] means this route do not announce outside the local AS (but can announce<br />

among the sub AS within the confederation), [no-advertise] means this route do not<br />

send to any neighbor, [no-export] means this route do not send to EBGP neighbors,<br />

[none] means delete the community attributes from the prefix of this route, [additive]<br />

means add following existing community attributes.<br />

Command Mode: route-map mode<br />

Usage <strong>Guide</strong>: To use this command, one match clause should at first be defined.<br />

Example:<br />

Switch#config terminal<br />

Switch(config)#route-map r1 permit 5<br />

Switch(config-route-map)#set community local-as additive<br />

17.2.3.17 set extcommunity<br />

Command: set extcommunity <br />

no set extcommunity []<br />

Function: Configure the extended community attributes of the BGP routing message.<br />

The “no set extcommunity []” command deletes this configuration.<br />

Parameter: is the route target, is the site of origin, is the value of<br />

community attributes, amongst AA is AS number, NN is a random two byte number.<br />

Command Mode: route-map mode<br />

Usage <strong>Guide</strong>: To use this command, one match clause should at first be defined.<br />

Example:<br />

Switch#config terminal<br />

Switch(config)#route-map r1 permit 5<br />

Switch(config-route-map)#set extcommunity rt 100:10<br />

17.2.3.18 set ip next-hop<br />

Command: set ip next-hop <br />

421

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!