1254 CHAPTER 82: IPV6 BGP CONFIGURATION COMMANDS
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 2.2.2.2 label-route-capability
peer log-change (IPv6 address family view)
Syntax peer { ipv6-group-name | ipv6-address } log-change
undo peer { ipv6-group-name | ipv6-address } log-change
View IPv6 address family view
Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
Description Use the
peer log-change command to enable the logging of session state and
event information of a specified peer or peer group.
Use the
undo peer log-change command to remove the configuration.
The logging is enabled by default.
Examples # Enable the logging of session state and event information of peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 log-change
peer next-hop-local (IPv6 address family view)
Syntax peer { ipv6-group-name | ipv6-address } next-hop-local
undo peer { ipv6-group-name | ipv6-address } next-hop-local
View IPv6 address family view
Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
Description Use the
peer next-hop-local command to configure the next hop of routes
advertised to a peer/peer group as the local router.
Use the
undo peer next-hop-local command to restore the default.