R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
321
ip-address: IP address of the peer.
Usage guidelines
According to the networking scheme, the peer label-route-capability command enables the exchange of
labeled IPv4 routes with:
• ASBR PEs in the same AS.
• PEs in the same AS.
• The peer ASBR PE.
Examples
# Specify to exchange labeled IPv4 routes with peer 2.2.2.2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 2.2.2.2 label-route-capability
peer next-hop-invariable (BGP-VPNv4 subaddress family view)
Use peer next-hop-invariable to configure the device not to change the next hop of a route when
advertising it to a peer.
Use undo peer next-hop-invariable to restore the default.
Syntax
peer { group-name | ip-address } next-hop-invariable
undo peer { group-name | ip-address } next-hop-invariable
Default
A device uses its address as the next hop when advertising a route to its EBGP peer.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: 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 s i n g i t t o E B 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










