R3303-HP HSR6800 Routers MPLS Command Reference

317
Syntax
nesting-vpn
undo nesting-vpn
Default
The nested VPN function is disabled.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Usage guidelines
If a nested VPN peer connected to a PE needs to advertise VPNv4 routes, you must enable nested VPN
on the PE.
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)
Use peer advertise-community to specify to advertise community attributes to a peer or peer group.
Use undo peer advertise-community to remove the configuration.
Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community
Default
No community attributes are advertised to any peer or peer group.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, 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.