beautypg.com

Amer Networks E5Web GUI User Manual

Page 325

background image

The OSPF CLI command

The CLI command ospf provides various options for examining the behavior of OSPF in real-time
on a particular.

In order to see general OSPF activity on a CLI console, the -snoop option can be used:

Device:/> ospf -snoop=on

Usually, there is only one OSPFProcess defined for a security gateway and there is therefore no
need to specify this explicitly in the command. The snooping processes is turned off with:

Device:/> ospf -snoop=off

A snapshot of the state of any of the different OSPF components can be displayed. For example,
if an OSPFInterface object has the name ospf_If1, details about this can be shown with the
command:

Device:/> ospf -interface ospf_If1

A similar snapshot can be displayed for areas, neighbors, routes and LSAs.

OSPF interface operation can also be selectively halted and restarted. For example, to stop the
OSPFInterface called ospf_If1, the CLI command would be:

Device:/> ospf -ifacedown ospf_If1

To restart the same interface:

Device:/> ospf -ifacedown ospf_If1

An entire functioning OSPFRouteProcess can also be halted. For example, assuming that there is
only one OSPFRouteProcess object defined in the configuration, the CLI command to halt it is:

Device:/> ospf -execute=stop

To start the stopped OSPFRouteProcess:

Device:/> ospf -execute=start

To stop and then start in a single command:

Device:/> ospf -execute=restart

The ospf command options are fully described in the separate cOS Core CLI Reference Guide.

Chapter 4: Routing

325

This manual is related to the following products: