11-31
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 advertise-community
peer advertise-ext-community (IPv6 address family view)
Syntax
peer
{
group-name
|
ipv4-address
|
ipv6-address
}
advertise-ext-community
undo peer
{
group-name
|
ipv4-address
|
ipv6-address
}
advertise-ext-community
View
IPv6 address family view
Default Level
2: System level
Parameters
group-name
: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address
: IPv4 address of a peer.
ipv6-address
: IPv6 address of a peer.
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 remove the configuration.
By default, no extended community attribute is advertised to a peer/peer group.
Examples
# Advertise the extended community attribute to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 advertise-ext-community
peer allow-as-loop (IPv6 address family view)
Syntax
peer
{
group-name
|
ipv4-address
|
ipv6-address
}
allow-as-loop
[
number
]
undo peer
{
group-name
|
ipv4-address |
ipv6-address
}
allow-as-loop
View
IPv6 address family view
Default Level
2: System level
Parameters
group-name
: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address
: IPv4 address of a peer.
ipv6-address
: IPv6 address of a peer.