R21xx-HP FlexFabric 11900 MPLS Configuration Guide

120
Ste
p
Command
Remarks
7. Advertise routes to the UPE.
Advertise a default VPN route
to the UPE:
peer { group-name |
ip-address }
default-route-advertise
vpn-instance
vpn-instance-name
Advertise routes permitted by a
routing policy to the UPE:
peer { group-name |
ip-address } upe route-policy
route-policy-name export
Use either command.
By default, no route is advertised to
the UPE.
Do not configure both commands.
The peer default-route-advertise
vpn-instance command advertises
a default route using the local
address as the next hop to the UPE,
regardless of whether the default
route is present in the local routing
table. However, if the specified
peer is not a UPE, the command
does not advertise a default route.
Specifying the VPN label processing mode on the
egress PE
An egress PE can process VPN labels in either POPGO or POP mode:
POPGO forwarding—Pops the label and forwards the packet out of the egress interface
corresponding to the label.
POP forwarding—Pops the label and forwards the packet through the FIB table.
To specify the VPN label processing mode on an egress PE:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Specify the VPN label
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.
Before you configure BGP AS number substitution, complete basic MPLS L3VPN configuration.
To configure BGP AS number substitution:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter BGP-VPN view. ip vpn-instance vpn-instance-name
N/A