
290
Step Command
Remarks
5.
Redistribute the VPN
routes of the VPN site.
import-route
protocol
[
process-id
|
all-processes
] [
med
med-value
|
route-policy
route-policy-name
] *
By default, No route
redistribution is configured.
6.
Configure a filtering
policy to filter the routes
to be advertised.
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
direct
|
isis
process-id
|
ospf
process-id
|
rip
process-id
|
static
]
Optional.
By default, BGP does not
filter the routes to be
advertised.
7.
Configure a filtering
policy to filter the
received routes.
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
import
Optional.
By default, BGP does not
filter the received routes.
Specifying the VPN label processing mode
The VPN label processing mode of an egress PE can be either POPGO or POP:
•
POPGO
forwarding
—Pop the label, and then search for the outbound interface according to
the label and forward the packet out of the interface.
•
POP
forwarding
—Pop the label, and then search the FIB to find the outbound interface and
forward the packet out of the interface.
To specify the VPN label processing mode on an egress PE:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify the VPN label
processing mode as
POPGO forwarding.
vpn popgo
POP forwarding by default.
After you execute the
vpn popgo
command, reboot the device to validate the configuration.
After the
vpn popgo
command is executed successfully, the device does not inform you of the
current VPN label processing mode. You can use the
display vpn label operation
command to
view the current VPN label processing mode.
Configuring BGP AS number substitution and
SoO
When CEs at different sites have the same AS number, configure the BGP AS number substitution
function to avoid route loss.
With the BGP AS number substitution function, when a PE advertises a route to the specified CE, if
an AS number identical to that of the CE exists in the AS_PATH of the route, it is replaced with that of
the PE before the route is advertised.
Before you configure BGP AS number substitution and SoO, complete the following tasks:
•
Configure basic MPLS L3VPN
•
Ensure CEs at different sites to have the same AS number
To configure BGP AS number substitution and SoO: