How To Use the Network Control Language (NCL) Commands To Manage a Router

Managing the Open Shortest Path First ProtocolManaging the Open Shortest PathFirst Protocol

OSPF is an IP internal gateway routing protocol that has an openly available protocol specification that is not proprietary to any single vendor. You can display the status of various OSPF elements on this router using the NCL commands in this section. You must use a complete MIB pathway with each of these commands.

Command

Function

ospf errs

Display OSPF error counts.

ospf intf

Display the status of the OSPF interfaces.

ospf lsdb

Display the OSPF link state database.

ospf nbrs

Display the status of the OSPF neighbors.

ospf rtab

Display the OSPF routing table.

ospf tq

Display the timer queue.

These commands display their output on the console screen. To output the display to a printer or file instead of the console screen, place the command syntax within the Print command. For detailed information on the Print command, refer to the Operator’s Reference.

NCL Commands 7

7-27