R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

817
Description
Use peer log-change to enable the logging of session state and event information of a specified peer or
peer group.
Use undo peer log-change 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
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
Default level
2: System level
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 peer next-hop-local to configure the next hop of routes advertised to a peer/peer group as the local
router.
Use undo peer next-hop-local to restore the default.
By default, the system sets the next hop of routes advertised to an EBGP peer/peer group to the local
router, but does not change the next hop for routes outgoing to an IBGP peer/peer group.
Examples
# Set the next hop of routes advertised to IBGP peer group test to the router itself.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] group test internal
[Sysname-bgp-af-ipv6] peer test next-hop-local
peer password
Syntax
peer { group-name | ipv6-address } password { cipher | simple } password