
Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration
1-42
Which IPv4 routes are to be assigned with MPLS labels depends on the routing policy.
Only routes that satisfy the criteria are assigned with labels. All the other routes are still
common IPv4 routes.
Follow these steps to configure a routing policy for inter-provider VPN option C
(between ASBR PEs):
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter routing policy view
route-policy policy-name
permit node seq-number
Required
Configure the destination
IP address match criteria
of the routing information
if-match
acl acl-number
Optional
Configure the device to
assign labels to IPv4
routes
apply mpls-label
Required
By default, an IPv4 route
does not carry any label.
Follow these steps to configure a routing policy for inter-provider VPN option C (in the
direction from ASBR to PE):
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter routing policy view
route-policy policy-name
permit node seq-number
Required
Configure the destination
IP address match criteria
of the routing information
if-match
acl acl-number
Optional
Configure the device to
match IPv4 routes with
labels
if-match mpls-label
Optional
This step is
recommended when you
want the device to
advertise IPv4 routes with
labels through BGP
extension in the direction
from ASBR to PE
Configure the device to
assign labels to IPv4
routes
apply mpls-label
Required
By default, an IPv4 route
does not carry any label.