OcNOS-SP : Layer 3 Guide : Open Shortest Path First Command Reference : OSPFv2 Commands : area sham-link
area sham-link
Use this command to configure a sham link between two Provider Edge on MPLS backbone to make them appear as intra-area link.
If it is desired to have OSPF prefer the routes through the MPLS backbone over the routes through the backdoor link, then the routes through the MPLS backbone must be appear to be intra-area routes. To make a route through the backbone appear to be an intra-area route, it is necessary to make it appear as if there is an intra-area link connecting the two PE routers. This is what we refer to as a "sham link.
Use the no parameter with this command to remove a sham link.
Command Syntax
area (A.B.C.D|<0-4294967295>) sham-link A.B.C.D A.B.C.D
area (A.B.C.D|<0-4294967295>) sham-link A.B.C.D A.B.C.D {cost <1-65535>}
no area (A.B.C.D|<0-4294967295>) sham-link A.B.C.D A.B.C.D
no area (A.B.C.D|<0-4294967295>) sham-link A.B.C.D A.B.C.D cost
Parameters
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as a decimal value.
A.B.C.D
Specify IP address of source sham link.
A.B.C.D
Specify IP address of destination sham link.
<1-65535>
cost of sham link (cost preferably to be configured lower than the backdoor link cost).
Default
Cost: 1
Command Mode
Router mode
Note: sham-link is not supported on default VRF.
 
Applicability
This command was introduced in OcNOS version 5.0.
Examples
#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
(config)#router ospf 1 vrf1
(config-router)#area 1 sham-link 1.1.1.1 2.2.2.2 cost 10
(config-router)#
 
Last modified date: 10/16/2023