R3303-HP HSR6800 Routers MPLS Configuration Guide

301
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:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a routing policy and
enter routing policy view.
route-policy route-policy-name
permit node node-number
Optional.
No routing policy is created by
default.
If the PE connects to multiple CEs in
the same site, use a routing policy
to add the SoO attribute to the
routes received from the CEs.
3. Specify an SoO attribute
value.
apply extcommunity soo
site-of-origin additive
Optional.
Not specified by default.
4. Return to system view.
quit N/A
5. Enter BGP view.
bgp as-number N/A
6. Enter BGP VPN instance view.
ipv4-family vpn-instance
vpn-instance-name
N/A
7. Enable the BGP AS number
substitution function.
peer { ip-address | group-name }
substitute-as
Disabled by default.
8. Apply the routing policy to
routes received from the
specified peer.
peer { ip-address | group-name }
route-policy route-policy-name
import
Optional.
Not applied by default.
For more information about the route-policy, apply extcommunity, peer substitute-as and peer
route-policy commands, see Layer 3—IP Routing Command Reference.
Configuring MPLS L3VPN FRR
Before you configure MPLS L3VPN FRR, complete the following tasks: