Enabling BGP Peers to Exchange Labeled IPv4 Routes
Context
On a seamless MPLS network, before an E2E BGP LSP is established, BGP peers must be enabled to exchange labeled IPv4 routes with each other.
Procedure
- Run system-view
The system view is displayed.
- Run bgp { as-number-plain | as-number-dot }
The BGP view is displayed.
- Run peer { ipv4-address | group-name } label-route-capability [ check-tunnel-reachable ]
The ability to exchange labeled IPv4 routes with a BGP peer is enabled.
By default, the capability of exchanging labeled IPv4 routes is disabled.
The check-tunnel-reachable parameter helps prevent a data forwarding failure when the CSG and MASG successfully set up an MP-EBGP peer relationship but a section along the LSP between them fails to be established.
If the check-tunnel-reachable parameter is specified:
When a tunnel between a local and remote device is unreachable, the local device advertises an IPv4 unicast route to its peer. When the tunnel is reachable, the local device advertises a labeled IPv4 route.
If the check-tunnel-reachable parameter is not specified:
The local device advertises a labeled IPv4 route, regardless of whether a tunnel between the local and remote devices is reachable.