192
• POP forwarding—Pops the label and forwards the packet through the FIB table.
To specify the VPN label processing mode on an egress PE:
1. Enter system view.
system-view
N/A
2. Enter BGP view.
as-number
N/A
3.
processing mode as POPGO
forwarding.
vpn popgo
The default is POP forwarding.
Configuring BGP AS number substitution
When CEs at different sites have the same AS number, configure the BGP AS number substitution
function to avoid route loss. If the AS_PATH attribute of a route contains the AS number of the
specified CE, the PE replaces the AS number with its own AS number before advertising the route to
that CE.
To configure BGP AS number substitution:
1. Enter system view.
N/A
2. Enter BGP view.
as-number
N/A
3. Enter BGP-VPN instance
view.
ip vpn-instance
vpn-instance-name
N/A
4. Configure a BGP peer or
peer group.
peer
{ group-name | ip-address
[ mask-length ] }
as-number
as-number
N/A
5. Enable the BGP AS number
substitution function.
peer
{ group-name | ip-address
[ mask-length ] }
substitute-as
By default,
substitution is disabled.
For more information about this
command, see Layer 3—IP
Routing Command Reference.
Configuring MPLS L3VPN FRR
There are two methods to configure MPLS L3VPN FRR:
• Method 1—Execute the pic command in BGP-VPN IPv4 unicast address family view. The
device calculates a backup next hop for each BGP route in the VPN instance if there are two or
more unequal-cost routes to reach the destination.
• Method 2—Execute the fast-reroute route-policy command in BGP-VPN IPv4 unicast
address family view to reference a routing policy in which a backup next hop is specified by
using the apply fast-reroute backup-nexthop command. The backup next hop calculated by
the device must be the same as the specified backup next hop. Otherwise, the device does not
generate a backup next hop for the primary route. You can also configure if-match clauses in
the routing policy to identify the routes protected by FRR.
If both methods are configured, Method 2 takes precedence over Method 1.
To configure MPLS L3VPN FRR: