R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
317
Related commands
• mpls
• mpls lsr-id
nesting-vpn
Use nesting-vpn to enable the nested VPN function.
Use undo nesting-vpn to disable the nested VPN function.
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










