HP MSR2000/3000/4000 Router Series Layer 3 - IP Routing Command Reference

338
Views
BGP view
Predefined user roles
network-admin
Usage guidelines
After you execute the log-peer-change command, BGP logs session establishment and disconnection
events. To view the log information, use the display bgp peer ipv4 unicast log-info command or the
display bgp peer ipv6 unicast log-info command. The logs are sent to the information center of the
device. The output rules of the logs (whether to output the logs and where to output) are determined by
the information center configuration. For more information about information center configuration, see
Network Management and Monitoring Configuration Guide.
If you disable the logging of BGP session state changes, BGP does not generate logs for session
establishments and disconnections.
Examples
# Enable the logging of session state changes globally.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] log-peer-change
Related commands
display bgp peer ipv4 unicast
network
Use network to inject a network to the BGP routing table.
Use undo network to remove the configuration.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view:
network ip-address [ mask | mask-length ] [ route-policy route-policy-name ]
undo network ip-address [ mask | mask-length ]
In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view:
network ipv6-address prefix-length [ route-policy route-policy-name ]
undo network ipv6-address prefix-length
Default
BGP does not advertise any local network.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast
address family view, BGP-VPN IPv6 unicast address family view
Predefined user roles
network-admin