3.9.4 Creating a Sham Link
Creating a sham link is to establish a virtual link that connects the two end addresses of the sham
link.
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:
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 [ cost cost | hello hello-
interval | retransmit retransmit-interval | trans-delay trans-delay-interval |
dead dead-interval | { [ simple [ [ plain ] plain-text | cipher cipher-text ] |
{ md5 | hmac-md5 } [ key-id { plain plain-text | [ cipher ] cipher-text } ]|
authentication-null } | smart-discover ]
*
The sham link is configured.
By default,
l The interface cost of the sham link, namely, cost is 1.
l The invalid interval of the sham link, namely,dead-interval is 40 seconds.
l Interval for sending Hello packets, namely, hello-interval, is 10 seconds.
l Interval for retransmitting LSA packets, namely, retransmit-interval, is 5 seconds.
l Delay for sending LSA packets, namely, trans-delay-interval, is 1 second.
The authentication mode on the two ends of the sham link must be the same.
If the packet authentication is supported, only the OSPF packets that pass the authentication can
be received. If the authentication fails, the neighbor relationship cannot be set up.
If the plain text, namely, simple is used, the authenticator type is plain by default. If the MD5
algorithm or HMAC-MD5 algorithm, namely, md5 | hmac-md5 is used, the authenticator type
is cipher by default.
NOTE
To forward the VPN traffic through the MPLS backbone network, configure the cost of the sham link less
than that of the OSPF route through the private network. The common method is increases the cost of the
forwarding interface of private network.
----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.
140