R0106-HP MSR Router Series MPLS Configuration Guide(V7)

202
Ste
p
Command
Remarks
3. (Optional.) Match IPv4 routes
carrying labels.
if-match mpls-label
By default, no MPLS label match
criterion is configured.
4. (Optional.) Set labels for IPv4
routes.
apply mpls-label
By default, no MPLS label is set for
IPv4 routes.
5. Return to system view.
quit N/A
6. Enter interface view of the
interface connecting to an
internal router of the AS.
interface interface-type
interface-number
N/A
7. Enable MPLS on the interface.
mpls enable
By default, MPLS is disabled on the
interface.
8. Enable MPLS LDP on the
interface.
mpls ldp enable
By default, MPLS LDP is disabled
on the interface.
9. Return to system view.
quit N/A
10. Enter interface view of the
interface connecting to the
remote ASBR.
interface interface-type
interface-number
N/A
11. Enable MPLS on the interface.
mpls enable
By default, MPLS is disabled on the
interface.
12. Return to system view.
quit N/A
13. Enter BGP view.
bgp as-number N/A
14. Configure the PE in the same
AS as an IBGP peer.
peer { group-name | ip-address }
as-number as-number
By default, no BGP peer is created.
15. Configure the ASBR in another
AS as an EBGP peer.
peer { group-name | ip-address }
as-number as-number
By default, no BGP peer is created.
16. Create the BGP IPv4 unicast
address family and enter its
view.
address-family ipv4 [ unicast ]
By default, the BGP IPv4 unicast
address family is not created.
17. Enable exchange of IPv4
unicast routes with the PE in the
same AS and the ASBR in
another AS.
peer { group-name | ip-address }
enable
By default, BGP does not exchange
IPv4 unicast routes with any peer.
18. Enable exchange of labeled
IPv4 routes with the PE in the
same AS and the ASBR in
another AS.
peer { group-name | ip-address }
label-route-capability
By default, BGP cannot advertise
labeled routes to any IPv4 peer or
peer group.
19. Configure the ASBR-PE to set
itself as the next hop of routes
advertised to the PE in the local
AS.
peer { group-name | ip-address }
next-hop-local
By default, BGP does not use its
address as the next hop of routes
advertised to an IBGP peer or peer
group.
20. (Optional.) Apply a routing
policy to routes incoming from
or outgoing to a peer or peer
group.
peer { group-name | ip-address }
route-policy route-policy-name
{ export | import }
By default, no routing policy is
applied.