R3303-HP HSR6800 Routers MPLS Command Reference

325
peer label-route-capability (BGP view/BGP VPN instance view)
Use peer label-route-capability to enable the exchange of labeled routes with an IPv4 peer or peer
group.
Use undo peer label-route-capability to disable the capability.
Syntax
peer { group-name | ip-address } label-route-capability
undo peer { group-name | ip-address } label-route-capability
Default
The device does not advertise labeled routes to an IPv4 peer.
Views
BGP view, BGP VPN instance 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
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.