R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

239
The undo import-route protocol all-processes command removes only the configuration made by the
import-route protocol all-processes command, instead of the configuration made by the import-route
protocol process-id command.
Examples
# In BGP view, redistribute routes from RIP process 1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] import-route rip
# In BGP-VPN instance view, redistribute routes from RIP process 1. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[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: Specifies the 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.