Cisco CCNP  BSCI Exam Tutorial: Configuring And Troubleshooting OSPF Virtual Links
Cisco CCNP BSCI Exam Tutorial: Configuring And Troubleshooting OSPF Virtual Links

Knowing When And How To Create An OSPF Virtual Link Is An Essential Skill For BSCI And CCNP Exam Success, Not To Mention How Important It Can Be On Your Job! As A CCNA And CCNP Candidate, You Know The Theory Of Virtual Links, So Let's Take A Look At How To Configure A Virtual Link, As Well As Some Real-world Tips That Many CCNA And CCNP Study Guides Leave Out!In This Configuration, No Router With An Interface In Area 4 Has A Physical Interface In Area 0. This Means A Logical Connection To Area 0, A Virtual Link, Must Be Built.In The Following Example, R1 And R3 Are Adjacent And Both Have Interfaces In Area 0. R4 Has An Adjacency With R3 Via Area 34, But R4 Has No Physical Interface In Area 0 And Is Advertising Its Loopback 4.4.4.4 Into OSPF. R1 Doesn't Have The Route To That Loopback.R1show Ip Route Ospf6.0.0.032 Is Subnetted, 1 SubnetsO 6.6.6.6 11011 Via 10.1.1.5, 01:05:45, Ethernet0172.23.0.027 Is Subnetted, 1 SubnetsO IA 172.23.23.0 11074 Via 172.12.123.3, 00:04:14, Serial07.0.0.032 Is Subnetted, 1 SubnetsO 7.7.7.7 11011 Via 10.1.1.5, 01:05:45, Ethernet0To Resolve This, A Virtual Link Will Be Built Between R3 And R4 Through Area 34. The Area Through Which The Virtual Link Is Built, The Transit Area, Cannot Be A Stub Area Of Any Kind.R4(config)router Ospf 1R4(config-router)area 34 Virtual-link 3.3.3.3R3(config)router Ospf 12d07h: OSPF-4-ERRRCV: Received Invalid Packet: Mismatch Area ID, From Backbone Area Must Be Virtual-link But Not Found From 172.23.23.4, Ethernet0R3(config)router Ospf 1R3(config-router)area 34 Virtual-link 4.4.4.4R3(config-router)Z2d07h: OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 On OSPFVL0 From LOADING To FULL, Loading DoneA Few Details Worth Noting... The Virtual Link Command Uses The Remote Device's RID, Not Necessarily The IP Address On The Interface That's In The Transit Area. Also, Don't Worry About That Error Message You See In The Output From R3 That Is Normal And You'll See It Until You Finish Building The Virtual Link. Always Confirm The Virtual Link With Show Ip Ospf Virtual-link. If You've Configured It Correctly, The VL Should Come Up In A Matter Of Seconds.R3show Ip Ospf Virtual-linkVirtual Link OSPFVL0 To Router 4.4.4.4 Is UpRun As Demand CircuitDoNotAge LSA Allowed.Transit Area 34, Via Interface Ethernet0, Cost Of Using 10Transmit Delay Is 1 Sec, State POINTTOPOINT,Timer Intervals Configured, Hello 10, Dead 40, Wait 40, Retransmit 5Hello Due In 00:00:00Adjacency State FULL (Hello Suppressed)Index 24, Retransmission Queue Length 1, Number Of Retransmission 1First 0x2C8F8E(15)0x0(0) Next 0x2C8F8E(15)0x0(0)Last Retransmission Scan Length Is 1, Maximum Is 1Last Retransmission Scan Time Is 0 Msec, Maximum Is 0 MsecLink State Retransmission Due In 3044 MsecVirtual Links Are Actually Simple To Configure, But For Some Reason They Seem To Intimidate People. It's My Experience That The Error Message Highlighted In R3's Output Above Causes A Lot Of Panic, But The Only Thing That Message Means Is That You're Not Finished Configuring The Virtual Link Yet.There Are Three Main Misconfigurations That Cause 99 Of Virtual Link Configuration Issues:Using The Wrong OSPF RID ValueTrying To Use A Stub Area As The Transit AreaFailure To Configure Link Authentication On The Virtual Link When Area 0 Is Running AuthenticationThat Last One Is The One That Gets Forgotten! A Virtual Link Is Really An Extension Of Area 0, And If Area 0 Is Running Link Authentication, The Virtual Link Must Be Configured For It As Well. Pay Attention To The Details. Don't Panic When You See The Error Message On The Second Router You Configure With The Virtual Link, And You'll Be Ready For Any Virtual Link Situation On The Job Or In The CCNA CCNP Exam Room!