Step 4
Run:
peer
{
ipv4-address
|
group-name
}
default-originate vpn-instance
vpn-instance-name
The default routes of a specified VPN instance are advertised to the UPE.
After running the command, the SPE advertises a default route to the UPE with its local address
as the next hop, regardless of whether there is a default route in the local routing table or not.
----End
3.8.4 Checking the Configuration
After configuring HoVPN, you can find that the local CE has no route that is destined for the
network segment of interface on the remote CE, but has a default route with the next hop as the
UPE.
Prerequisite
The configurations of the HoVPN function are complete
Procedure
l
Run the
display ip routing-table
command to check the routing table on the CE.
----End
Example
Run the
display ip routing-table
on the CE connected with the UPE. You can find that there is
a default route whose next hop is UPE. And there is no route to the network segment where the
peer CE resides.
3.9 Configuring OSPF Sham Link
This section describes how to configure the routes that traverse the MPLS VPN backbone
network to be the routes of the OSPF area. After the configuration, traffic between sites of the
same VPN in the same OSPF area need not be forwarded through routes of the OSPF area.
3.9.1 Establishing the Configuration Task
Before configuring an OSPF sham link, familiarize yourself with the applicable environment,
complete the pre-configuration tasks, and obtain the required data. This can help you complete
the configuration task quickly and accurately.
Applicable Environment
After a sham link is configured between VPN PEs, the sham link is considered as an OSPF intra-
area route. It is used to ensure that the traffic is transmitted over the backbone instead of the
backdoor link between the two CEs.
The source and destination addresses of the sham link should use loopback interface addresses
with 32-bit masks. Besides, this loopback interface must be bound to the VPN instances and be
advertised through the BGP.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
137