R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
253
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
Default command level
2: System level
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)
Use network to inject a network to the local BGP routing table.
Use undo network to remove the configuration.
Syntax
network ip-address [ mask | mask-length ] [ route-policy route-policy-name ]
undo network ip-address [ mask | mask-length ]
Default
No network route is injected.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
ip-address: Specifies a destination IP address.
mask: Specifies a mask of the network address, in dotted decimal notation.
mask-length: Specifies a mask length in the range of 0 to 32.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.