System information

Configuring OSPF
11-15
Use the show ip ospf virtual-links command in Privileged EXEC mode to
display information about the established virtual links, as shown below:
MOT#show ip ospf virtual-links
Use the show ip ospf virtual links command in Privileged EXEC mode to
display the router ID of an OSPF router, as shown below:
MOT#show ip ospf virtual-links
Example
The following example establishes a virtual link with default values for all optional
parameters:
router ospf
network 72.0.0.0 0.255.255.255 area 72.0.0.0
area 72.0.0.0 virtual-link 72.4.5.6
The following example establishes a virtual link with MD5 authentication:
router ospf
network72.0.0.0 0.255.255.255 area 72.0.0.0
area 72.0.0.0 virtual-link 72.5.6 message-digest-key 3 md5 tag3665dr53
Assign a Default Route for an ASBR
Once routes are redistributed into an OSPF routing domain, the router becomes an
Autonomous System Border Router (ASBR) that must be manually forced to generate
a default route into the OSPF routing domain.
Use the default-information originate command in Router Configuration mode to
force the ASBR to generate a default route into the OSPF routing domain, as shown
below:
MOT(config-ospf)#default-information originate [always] [metric
<metric-value>] [metric-type <type-value>]
where:
always indicates always advertise the default route even when the software does
not have one.