To display OSPF links using the CLI, enter the following command:
> show ip ospf interface > show ip ospf virtual-links