R21xx-HP FlexFabric 11900 Layer 3 IP Routing Command Reference

260
Usage guidelines
Configurations made in BGP IPv6 unicast address family view apply to only the BGP IPv6 unicast routes
of the public network.
Configurations made in BGP-VPN IPv6 unicast address family view apply to only the BGP IPv6 unicast
routes of the specified VPN instance.
Examples
# In BGP view, create and enter BGP IPv6 unicast address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family unicast
[Sysname-bgp-ipv6]
# In BGP-VPN instance view, create and enter BGP-VPN IPv6 unicast address family view.
<Sysname> system-view
[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.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] log-peer-change