HPE FlexFabric 5950 Series Configuration Manual page 220

Mpls
Hide thumbs Also See for FlexFabric 5950 Series:
Table of Contents

Advertisement

configure a routing policy to filter routes. Routes surviving the filtering are assigned labels, and all
others are advertised as common IPv4 routes.
To configure a routing policy, use the following commands:
if-match mpls-label—Matches routes carrying MPLS labels.
apply mpls-label—Sets MPLS labels for IPv4 routes advertised to a peer. You can use this
command together with if-match clauses. For example, the apply mpls-label command works
together with the if-match mpls-label command to set new MPLS labels for routes with MPLS
labels. The newly assigned labels are advertised along with the routes.
For more information about routing policy configuration, see Layer 3—IP Routing Configuration
Guide.
To configure an ASBR for inter-AS option C:
Step
1.
Enter system view.
2.
(Optional.) Create a routing
policy, and enter routing
policy view.
3.
(Optional.) Match IPv4
routes carrying labels.
4.
(Optional.) Set labels for
IPv4 routes.
5.
Return to system view.
6.
Enter interface view of the
interface connected to an
internal router of the AS.
7.
Enable MPLS on the
interface.
8.
Enable MPLS LDP on the
interface.
9.
Return to system view.
10. Enter interface view of the
interface connected to the
remote ASBR.
11. Enable MPLS on the
interface.
12. Return to system view.
13. Enter BGP instance view.
14. Configure the PE in the same
AS as an IBGP peer.
15. Configure the ASBR in
another AS as an EBGP
peer.
16. Create the BGP IPv4 unicast
address family and enter its
view.
17. Enable exchange of IPv4
unicast routes with the PE in
Command
system-view
route-policy route-policy-name
{ deny | permit } node
node-number
if-match mpls-label
apply mpls-label
quit
interface interface-type
interface-number
mpls enable
mpls ldp enable
quit
interface interface-type
interface-number
mpls enable
quit
bgp as-number [ instance
instance-name ]
[ multi-session-thread ]
peer { group-name | ipv4-address
[ mask-length ] } as-number
as-number
peer { group-name | ipv4-address
[ mask-length ] } as-number
as-number
address-family ipv4 [ unicast ]
peer { group-name | ipv4-address
212
Remarks
N/A
By default, no routing policies
exist.
By default, no MPLS label match
criterion is configured.
By default, no MPLS label is set
for IPv4 routes.
N/A
N/A
By default, MPLS is disabled on
the interface.
By default, MPLS LDP is disabled
on the interface.
N/A
N/A
By default, MPLS is disabled on
the interface.
N/A
N/A
By default, no BGP peers exist.
By default, no BGP peers exist.
By default, the BGP IPv4 unicast
address family is not created.
By default, BGP does not

Advertisement

Table of Contents
loading

Table of Contents