[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-ipv4-vpn1] import-route rip
log-peer-change
Syntax
log-peer-change
undo log-peer-change
View
BGP view
Default level
2: System level
Parameters
None
Description
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.
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
network (BGP/BGP-VPN instance view)
Syntax
network ip-address [ mask | mask-length ] route-policy route-policy-name
undo network ip-address [ mask | mask-length ]
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
ip-address: Destination IP address.
mask: Mask of the network address, in dotted decimal notation.
166