HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 273
log-peer-change, network, Syntax, Default, Views, Predefined user roles, Usage guidelines, Examples
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 273 highlights
[Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] log-peer-change Use log-peer-change to enable the logging of session state changes globally. Use undo log-peer-change to disable the function. Syntax log-peer-change undo log-peer-change Default Logging of session state changes is enabled globally. 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 ipv4 peer log-info command. If you disable the logging of session state changes globally, the display bgp ipv4 peer log-info command does not show relevant log information. Examples # Enable the logging of session state changes globally. 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 instance view/BGP-VPN IPv4 unicast instance view: network ip-address [ mask | mask-length ] [ route-policy route-policy-name ] undo network ip-address [ mask | mask-length ] In BGP IPv6 unicast instance view/BGP-VPN IPv6 unicast instance view: 262