To display the OSPF global statistics using the CLI, use the following commands:
> show ip ospf stats > show ip ospf virtual-links