The loopback interface is bound to the VPN instance.
Step 4 Run:
ip address ip-address { mask | mask-length }
The address of the loopback interface is configured.
NOTE
The IP address of the loopback interface should have a 32-bit mask, that is, 255.255.255.255.
----End
3.9.3 Advertising Routes of End Address of the Sham Link
The route destined for the end address of the sham link cannot be advertised to the remote PE
through the OSPF process of the VPN. The end address of the sham link is advertised to the
remote PE by BGP as a VPNv4 address.
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:
bgp as-number
The BGP view is displayed.
Step 3 Run:
ipv4-family vpn-instance vpn-instance-name
The BGP-VPN instance view is displayed.
Step 4 Run:
import-route direct
The direct route is imported. That is, the route of the end address is imported into BGP.
BGP advertises the end address of the sham link as the VPN-IPv4 address.
NOTE
The route of one end address of the sham link cannot be advertised to the remote PE through the OSPF
process of the private network.
If the routes, however, are advertised to the remote PE through the OSPF process of the private network,
the remote PE has two routes destined for the end address of the sham link. One route is learnt through the
OSPF process of the private network, and the other route is learnt through MP-BGP. In this case, the remote
PE incorrectly selects the OSPF route, because the OSPF route have a higher priority than the BGP route.
As a result, the sham link cannot be successfully established.
----End
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.
139