HP VPN Firewall Appliances Network Management Command Reference
505
Default
The logging is enabled.
Views
BGP view, BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.
Examples
# In BGP view, enable the logging of session state and event information for peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test log-change
# In BGP-VPN instance view, enable the logging of session state and event information for peer group
test. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer test log-change
peer next-hop-local (BGP/BGP-VPN instance view)
Use peer next-hop-local to specify the router as the next hop for routes sent to a peer/peer group.
Use undo peer next-hop-local to remove the configuration.
Syntax
peer { group-name | ip-address } next-hop-local
undo peer { group-name | ip-address } next-hop-local
Default
Routes advertised to an EBGP peer/peer group take the local router as the next hop, and routes sent to
an IBGP peer/peer group do not take the local router as the next hop.
Views
BGP view /BGP-VPN instance view
Default command level
2: System level
Parameters
group-name: Specifies the name of a peer group, a string of 1 to 47 characters.
ip-address: Specifies the IP address of a peer.