DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-160
DES-7200(config)# router ospf 1
DES-7200(config-router)# network 172.168.40.0 0.0.0.255 area 0
DES-7200(config-router)# network 172.168.0.2 0.0.0.0 area 0
DES-7200(config-router)# end
Verify configurations
PE1
DES-7200# show ip ospf 10 sham-links
Sham Link OSPF_SL0 to address 192.168.0.2 is up
Area 0 source address 192.168.0.1
Run as demand circuit
DoNotAge LSA allowed. Cost of using 1 State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40,
Hello due in 00:00:06
Adjacency State FULL (Hello suppressed)
Index 2/2, retransmission queue length 0, number of retransmission 0
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 0, maximum is 0
Last retransmission scan time is 0 msec, maximum is 0 msec
DES-7200# show ip ospf 10 neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.0.2 0 FULL/ - - 192.168.0.2 OSPF_SL0
DES-7200# show ip route vrf VPNA
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default
C 192.168.10.0/24 is directly connected, Gi1/2
O 192.168.20.0/24 [110/101] via 192.168.1.2, 00:56:23, Gi1/2
O 192.168.40.0/24 [110/2] via 172.168.0.2, 00:00:36
PE2
DES-7200# show ip ospf 10 sham-links
Sham Link OSPF_SL0 to address 192.168.0.1 is up
Area 0 source address 192.168.0.2