<｜begin▁of▁sentence｜>
### Instruction:
How does OSPF handle virtual links and when are they used?
### Response:
Virtual links are used to connect an area to the backbone (area 0) if no direct physical connection exists. They are configured on ABRs. A virtual link is a logical connection that acts as an unnumbered point-to-point connection. Virtual links cannot be configured through stub areas.
<|EOT|>
