set protocols ospf4 area virtual-link transmit-area
The single backbone area (area 0.0.0.0) cannot be disconnected, or certain areas of the Autonomous System will become unreachable. To establish and maintain connectivity of the backbone, virtual links can be configured through non-backbone areas. Virtual links serve to connect physically separate components of the backbone.
Command Syntax
set protocols ospf4 vrf <vrf-name> area <area-id1> virtual-link <router-id> transmit-area <area-id2>
Parameter
•<vrf-name> Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].
Note that: The configuration is in the default VRF if not explicitly bound to any VRF.
•<area-id1> The OSPF area to which the attached network belongs.
• <router-id> A unique 32-bit identifier within this AS.
• <area-id2> Area through which to transmit.
Example
This example configure the virtual link on the Area Border Router switch B(4.4.4.4) and Switch C(3.3.3.3), After this step, there will be a route entry from the backbone area, 0.0.0.0, to area 2.2.2.2.
admin@XorPlus# set protocols ospf4 area 0.0.0.0 virtual-link 4.4.4.4 transmit-area 1.1.1.1 admin@XorPlus# commit admin@XorPlus# set protocols ospf4 area 0.0.0.0 virtual-link 3.3.3.3 transmit-area 1.1.1.1 admin@XorPlus# commit
Copyright © 2025 Pica8 Inc. All Rights Reserved.