HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
o
ospf_monitor(1M) ospf_monitor(1M)
NAME
ospf_monitor - monitor OSPF (Open Shortest Path First protocol) gateways
SYNOPSIS
ospf_monitor mon_db_file
DESCRIPTION
Use the ospf_monitor command to query OSPF routers. The ospf_monitor command operates in
interactive mode. It allows the user to query the various OSPF routers to provide detailed information on
IO statistics, error logs, link-state data bases, AS external data bases, the OSPF routing table, configured
OSPF interfaces, and OSPF neighbors.
mon_db_file is the complete pathname of a database composed of records configuring destinations for
ospf_monitor remote commands. Each destination record is a single-line entry which lists the destina-
tion IP address, the destination hostname, and an OSPF authentication key (if authentication is activated
by the destination). Since authentication keys may be present in the destination records, it is recom-
mended that general access to this database be restricted.
Refer to RFC-1583 (OSPF Specification, version 2) for details about OSPF database and packet formats.
COMMANDS
Upon entering interactive mode, ospf_monitor presents this prompt:
[ # ] dest command params >
From this prompt, you can enter any of the ospf_monitor interactive commands. Interactive com-
mands can be interrupted at any time via a keyboard interrupt. Note that the command line length must
be less than 200 characters.
Local Commands
? Display all local commands and their functions.
?R Display all remote commands and their functions.
d Display all configured destinations. This command displays dest_index, the IP address, and the
hostname of all potential
ospf_monitor command destinations configured in mon_db_file.
h Display the command history buffer showing the last 30 interactive commands.
x Exit the ospf_monitor program.
@ remote_command Send remote_command to the same (previous) destination.
@dest_index remote_command Send remote_command to configured destination dest_index.
F filename Send all ospf_monitor output to filename.
S Send all ospf_monitor output to stdout.
Remote Commands
a area_id type ls_id adv_rtr
Display link state advertisement. area_id is the OSPF area for which the query is directed.
adv_rtr is the router-id of the router which originated this link state advertisement. type
specifies the type of advertisement to request and should be specified as follows:
1 Request the router links advertisements. They describe the collected states of the router’s
interfaces. For this type of request, the ls_id field should be set to the originating router’s
Router ID.
2 Request the network links advertisements. They describe the set of routers attached to the
network. For this type of request, the ls_id field should be set to the IP interface address of
the network’s Designated Router.
3 Request the summary link advertisements describing routes to networks. They describe
inter-area routes, and enable the condensing of routing information at area borders. For
this type of request, the ls_id field should be set to the destination network’s IP address.
4 Request the summary link advertisements describing routes to AS boundary routers. They
describe inter-area routes, and enable the condensing of routing information at area bord-
ers. For this type of request, the ls_id field should be set to the Router ID of the described
AS boundary router.
HP-UX Release 11i: December 2000 − 1 − Section 1M−−613
___
___