Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 5 BGP Configuration Commands
5-37
Description
Use the
peer advertise-ext-community
command to advertise the extended
community attribute to a peer/peer group.
Use the
undo peer advertise-ext-community
command to disable the advertisement.
By default, no extended community attribute is advertised to a peer/peer group.
Related commands:
ip extcommunity-list
,
if-match extcommunity
,
apply
extcommunity
.
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
5.1.41 peer allow-as-loop
Syntax
peer
{
group-name
|
ip-address
}
allow-as-loop
[
number
]
undo peer
{
group-name |
ip-address
}
allow-as-loop
View
BGP view
Parameters
group-name
: Name of a peer group, a string of 1 to 47 characters.
ip-address
: IP address of a peer.
number
: Specifies the repeating times of the local AS number, in the range 1 to 10. The
default number is 1.
Description
Use the
peer allow-as-loop
command to allow the local AS number to exist in the
AS_PATH attribute of routes from a peer/peer group, and to configure the repeating
times of the local AS number.
Use the
undo peer allow-as-loop
command to remove the configuration.
By default, the local AS number is not allowed.
Related commands:
display bgp routing-table peer
.