238
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 number substitution and SoO attribute
To configure BGP AS number substitution and SoO attribute:
Step 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
[
mask-length
] |
group-name
}
substitute-as
By default, BGP AS number
substitution is disabled.
5.
Enter BGP-VPN IPv4 unicast
address family view.
address-family ipv4
[
unicast
]
N/A
6.
(Optional.) Configure the
SoO attribute for a BGP peer
or peer group.
peer
{
group-name
|
ip-address
[
mask-length
] }
soo
site-of-origin
By default, the SoO attribute is not
configured.
For more information about the commands in this section, 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:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
Содержание HPE FlexNetwork MSR Router Series
Страница 10: ...viii Index 540 ...