Owner's Manual

982 CHAPTER 72: BGP CONFIGURATION COMMANDS
route-policy-name: Name of a routing policy used to filter redistributed routes, a
string of 1 to 19 characters.
Description Use the
import-route command to configure BGP to redistribute routes from a
specified routing protocol and advertise redistributed routes.
Use the
undo import-route command to disable route redistribution from a
routing protocol.
By default, BGP does not redistribute routes from other protocols.
The ORIGIN attribute of routes redistributed with the import-route command is
incomplete.
Examples # In BGP view, redistribute routes from RIP.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] import-route rip
# In BGP-VPN instance view, redistribute routes from RIP (the VPN has been
created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] import-route rip
log-peer-change
Syntax log-peer-change
undo log-peer-change
View BGP view
Parameters None
Description Use the
log-peer-change command to enable the global BGP logging on peers
going up and down.
Use the
undo log-peer-change command to disable the function.
By default, the function is enabled.
Examples # Enable BGP logging on peers going up and down.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] log-peer-change