Configuring bgp as number substitution, Configuring mpls l3vpn frr – H3C Technologies H3C S6800 Series Switches User Manual
Page 214
201
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:
Step 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 feature
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:
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.
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 feature.
peer { group-name | ip-address
[ mask-length ] } substitute-as
By default, BGP AS number
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: