R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

412
Examples
# In BGP view, configure BGP to protect EBGP peer 1.1.1.1 when the memory usage reaches level 2
threshold.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 1.1.1.1 as-number 200
[Sysname-bgp] peer 1.1.1.1 low-memory-exempt
# In BGP-VPN instance view, configure BGP to protect EBGP peer 1.1.1.1 when the memory usage reaches
level 2 threshold.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] peer 1.1.1.1 as-number 200
[Sysname-bgp-vpn1] peer 1.1.1.1 low-memory-exempt
peer next-hop-local
Use peer next-hop-local to set the local router as the next hop for routes sent to a peer or peer group.
Use undo peer next-hop-local to restore the default.
Syntax
In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4
address family view/ BGP IPv4 multicast address family view:
peer { group-name | ip-address } next-hop-local
undo peer { group-name | ip-address } next-hop-local
In BGP IPv6 unicast address family view/BGP IPv6 multicast address family view:
peer { group-name | ipv6-address } next-hop-local
undo peer { group-name | ipv6-address } next-hop-local
Default
BGP sets the local router as the next hop for all routes sent to an EBGP peer or peer group.
BGP sets the local router as the next hop for EBGP routes sent to an IBGP peer or peer group for BGP
VPNv4 address family. It does not set the local router as the next hop for EBGP routes sent to an IBGP
peer or peer group for other address families.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address
family view, BGP IPv6 unicast address family view, BGP IPv4 multicast address family view, BGP IPv6
multicast address family view
Predefined user roles
network-admin
Parameters
group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer
group must have been created.
ip-address: Specifies a peer by its IP address. The peer must have been created.