HP VPN Firewall Appliances Network Management Command Reference
483
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] import-route rip
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
[Sysname-bgp-vpn1]
log-peer-change
Use log-peer-change to enable the global BGP logging on peers going up and down.
Use undo log-peer-change to disable the function.
Syntax
log-peer-change
undo log-peer-change
Default
The function is enabled.
Views
BGP view