
312
View
BGP-VPNv4 subaddress family view
Default level
2: System level
Parameters
None
Examples
# Enable nested VPN.
<Sysname> system-view
[Sysname] bgp 10
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] nesting-vpn
peer advertise-community (BGP-VPNv4 subaddress family view)
Description
Use the
peer advertise-community
command to specify to advertise community attributes to a peer or
peer group.
Use the
undo peer advertise-community
command to remove the configuration.
By default, no community attributes are advertised to any peer or peer group.
Syntax
peer
{
group-name
|
ip-address
}
advertise-community
undo peer
{
group-name
|
ip-address
}
advertise-community
View
BGP-VPNv4 subaddress family view
Default level
2: System level
Parameters
group-name
: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
ip-address
: Specifies the IP address of the peer.
Examples
# In BGP-VPNv4 subaddress family view, specify to advertise community attributes to peer 3.3.3.3.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 3.3.3.3 advertise-community