Command Reference Guide

Open Shortest Path First Commands
CLI Command Reference
September 2014 Page 595
HP Moonshot Switch Module CLI Command Reference
show ip ospf database database-summary
Use this command to display the number of each type of LSA in the database for each area and for the router.
The command also displays the total number of LSAs in the database.
show ip ospf interface
This command displays the information for the IFO object or virtual interface tables. The argument unit/slot/
port corresponds to a physical routing interface or VLAN routing interface. The keyword vlan is used to specify
the VLAN ID of the routing VLAN directly instead of a unit/slot/port format.
Format
show ip ospf database database-summary
Modes •Privileged EXEC
User EXEC
Term Definition
Router Total number of router LSAs in the OSPF link state database.
Network Total number of network LSAs in the OSPF link state database.
Summary Net Total number of summary network LSAs in the database.
Summary ASBR Number of summary ASBR LSAs in the database.
Type-7 Ext Total number of Type-7 external LSAs in the database.
Self-Originated
Type-7
Total number of self originated AS external LSAs in the OSPF link state database.
Opaque Link Number of opaque link LSAs in the database.
Opaque Area Number of opaque area LSAs in the database.
Subtotal Number of entries for the identified area.
Opaque AS Number of opaque AS LSAs in the database.
Total Number of entries for all areas.
Format
show ip ospf interface {unit/slot/port|vlan 1-4093| loopback loopback-id}
Mode •Privileged EXEC
User EXEC
Term Definition
IP Address The IP address for the specified interface.
Subnet Mask A mask of the network and host portion of the IP address for the OSPF interface.
Secondary IP
Address(es)
The secondary IP addresses if any are configured on the interface.
OSPF Admin Mode States whether OSPF is enabled or disabled on a router interface.
OSPF Area ID The OSPF Area ID for the specified interface.
OSPF Network Type The type of network on this interface that the OSPF is running on.