R3303-HP HSR6800 Routers MPLS Command Reference

326
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
Usage guidelines
In the inter-AS option C application, you need to configure next-hop-invariable on the RR for multi-hop
EBGP neighbors and reflector clients to make sure that the next hop of a VPN route will not be changed.
Examples
# In BGP-VPNv4 subaddress family view, configure the device not to change the next hop of a route when
a dv e r t i si n g i t t o EB G P p e e r 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 next-hop-invariable
Related commands
peer ebgp-max-hop (Layer 3—IP Routing Command Reference)
peer next-hop-local
Use peer next-hop-local to configure the device to use the local address as the next hop of a route when
advertising it to a peer or 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
Views
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view, BGP-VPLS address family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
Examples
# In BGP-VPNv4 subaddress family view, configure the device to use the local address as the next hop
of a route when advertising it to peer group test.
<Sysname> system-view
[Sysname] bgp 100