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 to BGP.
----End
Postrequisite
BGP advertises the end address of the sham link as the VPN IPv4 address.
NOTE
The route of the end address of a sham link cannot be advertised to the peer PE through OSPF processes
of the VPN.
If the route of the end address of a sham link is advertised to the peer PE through OSPF processes of the
private network, the peer PE has two routes to the same end address. One route is learned through the OSPF
processes of the VPN; the other is learned through MP BGP. The peer PE selects the route learned from
OSPF because the OSPF route has higher priority. Thus, the sham link cannot be set up.
3.8.4 Creating a Sham Link
Context
Do as follows on the two PEs.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
ospf process-id [ router-id router-id ] vpn-instance vpn-instance-name
The OSPF view is displayed.
Step 3 Run:
area area-id
The OSPF area view is displayed.
Step 4 Run:
sham-link source-ip-address destination-ip-address [ costcost | deaddead-interval
| hello hello-interval | retransmit retransmit-interval | trans-delay trans-delay-
interval ]
*
[ authentication-null | { simple | { md5 | hmac-md5 } key-id }
[ cipher | plain ] password ]
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 3 BGP/MPLS IP VPN Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-35