Command Reference Guide
Open Shortest Path First Commands
CLI Command Reference
September 2014 Page 587
HP Moonshot Switch Module CLI Command Reference
no max-metric router-lsa
Use this command in OSPFv2 Router Configuration mode to disable stub router mode. The command clears
either type of stub router mode (always or on-startup) and resets the summary-lsa option. If OSPF is
configured to enter global configuration mode on startup, and during normal operation you want to
immediately place OSPF in stub router mode, issue the command no max-metric router-lsa on-startup. The
command no max-metric router-lsa summary-lsa causes OSPF to send summary LSAs with metrics computed
using normal procedures defined in RFC 2328.
clear ip ospf stub-router
Use the clear ip ospf stub-router command in Privileged EXEC mode to force OSPF to exit stub router mode
when it has automatically entered stub router mode because of a resource limitation. OSPF only exits stub
router mode if it entered stub router mode because of a resource limitation or it if is in stub router mode at
startup. This command has no effect if OSPF is configured to be in stub router mode permanently.
OSPF Show Commands
show ip ospf
This command displays information relevant to the OSPF router.
Format
no max-metric router-lsa [on-startup] [summary-lsa]
Mode OSPFv2 Router Configuration
Format
clear ip ospf stub-router
Mode Privileged EXEC
Format
show ip ospf
Mode Privileged EXEC
Note: Some of the information below displays only if you enable OSPF and configure certain features.
Term Definition
Router ID A 32-bit integer in dotted decimal format identifying the router, about which information
is displayed. This is a configured value.
OSPF Admin
Mode
Shows whether the administrative mode of OSPF in the router is enabled or disabled. This
is a configured value.
RFC 1583
Compatibility
Indicates whether 1583 compatibility is enabled or disabled. This is a configured value.
External LSDB
Limit
The maximum number of non-default AS-external-LSA (link state advertisement) entries
that can be stored in the link-state database.