R0106-HP MSR Router Series MPLS Configuration Guide(V7)

325
Configuring BGP AS number substitution and SoO
attribute
When CEs at different sites have the same AS number, configure the BGP AS number substitution function
to avoid route loss.
When a PE uses different interfaces to connect different CEs in a site, the BGP AS number substitution
function introduces a routing loop. To remove the routing loop, configure the SoO attribute on the PE.
For more information about the BGP AS number substitution function and the SoO attribute, see "BGP AS
n
u
mber substitution and SoO attribute."
To configure BGP AS number substitution and SoO attribute:
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 instance view.
ip vpn-instance vpn-instance-name
N/A
4. Enable the BGP AS number
substitution function.
peer { ip-address | group-name }
substitute-as
By default, BGP AS number
substitution is disabled.
5. Enter BGP-VPN IPv6 unicast
address family view.
address-family ipv6 [ unicast ] N/A
6. (Optional.) Configure the SoO
attribute for a BGP peer or
peer group.
peer { group-name |
ipv6-address } soo site-of-origin
By default, the SoO attribute is not
configured.
For more information about the commands in this section, see Layer 3IP Routing Command Reference.
Displaying and maintaining IPv6 MPLS L3VPN
You can soft-reset or reset BGP sessions to apply new BGP configurations. A soft reset operation updates
BGP routing information without tearing down BGP connections. A reset operation updates BGP routing
information by tearing down, and then reestablishing BGP connections. Soft reset requires that BGP
peers have route refresh capability.
Use the following commands to soft reset or reset BGP connections:
Task Command Remarks
Manually soft reset BGP sessions
for VPNv6 address family.
refresh bgp { ip-address | all | external |
group group-name | internal } { export |
import } vpnv6
Available in user view.
Reset BGP sessions for VPNv6
address family.
reset bgp { as-number | ip-address | all |
external | internal | group group-name }
vpnv6
Available in user view.
For more information about the refresh bgp vpnv6 and reset bgp vpnv6 commands, see Layer 3—IP
Routing Command Reference.
Use the following commands to display IPv6 MPLS L3VPN: