OSPF Sham-Link Support for MPLS VPN
Monitoring and Maintaining a Sham-Link
12
Cisco IOS Release 12.2(8)T
Timer intervals configured, Hello 10, Dead 40, Wait 40,
Hello due in 00:00:04
Adjacency State FULL (Hello suppressed)
Index 2/2, retransmission queue length 4, number of
retransmission 0
First 0x63311F3C(205)/0x63311FE4(59) Next
0x63311F3C(205)/0x63311FE4(59)
Last retransmission scan length is 0, maximum is 0
Last retransmission scan time is 0 msec, maximum is 0 msec
Link State retransmission due in 360 msec
Monitoring and Maintaining a Sham-Link
To monitor a sham-link, use the followingshow commands in EXEC mode:
Configuration Examples
The following example shows how to configure a sham-link between two PE routers:
Router1(config)# interface loopback 1
Router1(config-if)# ip vrf forwarding ospf
Router1(config-if)# ip address 10.2.1.1 255.255.255.255
!
Router2(config)# interface loopback 1
Router2(config-if)# ip vrf forwarding ospf
Router2(config-if)# ip address 10.2.1.2 255.255.255.255
!
Router1(config)# router ospf 100 vrf ospf
Router1(config-if)# area 1 sham-link 10.2.1.1 10.2.1.2 cost 40
!
Router2(config)# router ospf 100 vrf ospf
Router2(config-if)# area 1 sham-link 10.2.1.2 10.2.1.1 cost 40
Command Reference
This section documents new commands. All other commands used with this feature are documented in
the Cisco IOS Release 12.2 command reference publications.
area sham-link cost
show ip ospf sham-links
Command Purpose
Router# show ip ospf sham-links Displays the operational status of all sham-links configuredfor a
router.
Router# show ip ospf data router
ip-address
Displays information about howthe sham-link is advertised as an
unnumbered point-to-point connection between two PE routers.