R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

252
ipv4-family vpn-instance
Use ipv4-family vpn-instance to associate the specified VPN instance with the IPv4 address family, and
enter BGP-VPN instance view.
Use undo ipv4-family vpn-instance to remove all configurations in BGP-VPN instance view.
Syntax
ipv4-family vpn-instance vpn-instance-name
undo ipv4-family vpn-instance vpn-instance-name
Views
BGP view
Default command level
2: System level
Parameters
vpn-instance-name: VPN instance name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
Before you enter BGP-VPN instance view, the VPN instance must have been created.
Examples
# Associate the specified VPN instance with the IPv4 address family, and enter BGP-VPN instance view.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] quit
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
listen-range (BGP/BGP-VPN instance view)
Use listen-range to enable BGP to accept connection requests from the specified subnet and to add
dynamic peers into the specified peer group.
Use undo listen-range to remove the IP address range.
Syntax
listen-range ip-address mask-length group group-name
undo listen-range ip-address mask-length
View
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
ip-address mask-length: Specifies the subnet of BGP dynamic peers. The ip-address is in dotted decimal
notation, and the mask-length is in the range of 0 to 32.