R3303-HP HSR6800 Routers MPLS Command Reference

332
peer vpn-instance enable
Use peer vpn-instance enable to activate a nested VPN peer or peer group and enable the capability of
exchanging BGP-VPNv4 routes with the peer or peer group.
Use undo peer vpn-instance enable to disable the capability of exchanging BGP-VPNv4 routes with a
nested VPN peer or peer group.
Syntax
peer { group-name | peer-address } vpn-instance vpn-instance-name enable
undo peer { group-name | peer-address } vpn-instance vpn-instance-name enable
Default
Nested VPN peers/peer groups can exchange only IPv4 routes; they cannot exchange BGP-VPNv4
routes.
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.
peer-address: Specifies the IP address of the peer.
vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters.
Usage guidelines
This configuration takes effect only after the nested VPN function is enabled.
Before specifying a nested VPN peer or peer group, be sure to configure the corresponding CE peer or
peer group by using the peer as-number command in BGP-VPN instance view.
Deleting the VPN instance to which a peer belongs will also delete the configuration of this command.
Examples
# Activate a nested VPN peer group named ebgp.
<Sysname> system-view
[Sysname] bgp 10
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] group ebgp external
[Sysname-bgp-vpn1] quit
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer ebgp vpn-instance vpn1 enable
peer vpn-instance group
Use peer vpn-instance group to add a peer to a nested VPN peer group.
Use undo peer vpn-instance group to remove a peer from a nested VPN peer group.