R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
240
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.
Usage guidelines
The network route to be injected must exist in the local IP routing table, and using a routing policy makes
route management more flexible.
The ORIGIN attribute of the network route injected with the network command is IGP.










