F3215-HP Load Balancing Module Network Management Command Reference-6PW101

281
[Sysname-bgp] peer test advertise-community
Related commands
apply community
if-match community
ip community-list
peer advertise-ext-community (BGP view)
Use peer advertise-ext-community to advertise the extended community attribute to a peer/peer group.
Use undo peer advertise-ext-community to disable the extended community attribute advertisement to a
peer/peer group.
Syntax
peer { group-name | ip-address } advertise-ext-community
undo peer { group-name | ip-address } advertise-ext-community
Default
No extended community attribute is advertised to a peer/peer group.
Views
BGP view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies an IP address of a peer.
Examples
# In BGP view, advertise the extended community attribute to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test advertise-ext-community
Related commands
apply extcommunity
if-match extcommunity
ip extcommunity-list
peer allow-as-loop (BGP view)
Use peer allow-as-loop to allow the local AS number to exist in the AS_PATH attribute of routes from a
peer or peer group and to configure the number of times the local AS number can appear.
Use undo peer allow-as-loop to restore the default.
Syntax
peer { group-name | ip-address } allow-as-loop [ number ]