200
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test advertise-community
peer advertise-ext-community (MBGP address family view)
Syntax
peer
{
group-name
|
ip-address
}
advertise-ext-community
undo peer
{
group-name
|
ip-address
}
advertise-ext-community
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
group-name
: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address
: Specifies an IPv4 MBGP peer by its IP address.
Description
Use
peer advertise-ext-community
to advertise the extended community attribute to a peer or a peer
group.
Use
undo peer advertise-ext-community
to disable the extended community attribute advertisement to a
peer or a peer group.
By default, no extended community attribute is advertised to a peer or a peer group.
Related commands:
apply extcommunity
,
if-match extcommunity
, and
ip extcommunity-list
(
Layer 3—IP
Routing Command Reference
).
Examples
# In IPv4 MBGP address family view, advertise the extended community attribute to the existing peer
group
test
.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test advertise-ext-community
peer allow-as-loop (MBGP address family view)
Syntax
peer
{
group-name
|
ip-address
}
allow-as-loop
[
number
]
undo peer
{
group-name
|
ip-address
}
allow-as-loop
View
IPv4 MBGP address family view