R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
106
Examples
# Enter BGP-VPNv4 address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-vpnv4]
# Enter BGP-VPN VPNv4 address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] ipv4-family vpnv4
[Sysname-bgp-vpnv4-vpn1]
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 address family view
Predefined user roles
network-admin
Usage guidelines
To exchange VPNv4 routes with a peer in nested VPN, you must enable nested VPN and then execute the
peer enable command to enable that peer in BGP VPNv4 view.
Examples
# Enable nested VPN.
<Sysname> system-view
[Sysname] bgp 10
[Sysname-bgp] address-family vpnv4
[Sysname-bgp-vpnv4] nesting-vpn
peer next-hop-invariable
Use peer next-hop-invariable to configure the device to not change the next hop of routes advertised to
an EBGP peer or peer group.
Use undo peer next-hop-invariable to restore the default.