Pre-configuration Tasks
Before configuring the OSPF sham link, you need to complete the following tasks:
l 3.4 Configuring Basic BGP/MPLS IP VPN (OSPF between the PE and the CE)
l Configuring OSPF in the LAN where the CEs reside
Data Preparation
To configure the OSPF sham link, you need the following data.
No. Data
1 Number and address of the loopback interfaces that serve as the ends of sham link
2 Name of the VPN instance
3 Process number of OSPF instance on PE for CEs
4 Local AS number
5 Metric used in sham link and other link parameters
3.9.2 Configuring the Loopback Address of the Sham Link
The end address of a sham link is the IP address (with the 32-bit mask) of a loopback interface.
The loopback interface must be bound to the VPN instance. The end addresses of sham links of
the same OSPF process can be the same. The end addresses of sham links of different OSPF
processes must be different.
Context
Do as follows on the PEs of the two ends of the sham link:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface loopback interface-number
A loopback interface is created and the loopback interface view is displayed.
A sham link of each VPN instance must have an end interface address that is an address of the
loopback interface. The address has a 32-bit mask. Multiple sham links of an OSPF process can
share the same address. The end addresses of two sham links of different OSPF processes must
be different.
Step 3 Run:
ip binding vpn-instance vpn-instance-name
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.
138