Command Reference Guide Global Configuration Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 497
router ospf
Use the router ospf command to activate OSPF in the router and to enter the OSPF Configuration mode.
Refer to the section Router (OSPF) Configuration Command Set on page 1301 for more information. Use
the no form of this command to disable OSPF routing.
Syntax Description
No subcommands.
Default Values
By default, OSPF is disabled.
Applicable Platforms
This command applies to the NetVanta 300, 1000R, 2000, 3000, 4000, and 5000 and Total Access 900
Series units.
Command History
Release 3.1 Command was introduced.
Functional Notes
The AOS
can be configured to use OSPF with the firewall enabled (using the ip firewall command). To do
this, configure the OSPF networks as usual, specifying which networks the system will listen for and
broadcast OSPF packets to. Refer to
ip firewall on page 413 for more information.
To apply stateful inspection to packets coming into the system, create a policy class that describes the type
of action desired and then associate that policy class to the particular interface (refer to
ip policy-class
<policyname> max-sessions <number> on page 437
). The firewall is intelligent and will only allow OSPF
packets that were received on an OSPF configured interface. No modification to the policy class is required
to allow OSPF packets into the system.
Usage Examples
The following example uses the router ospf command to enter the OSPF Configuration mode:
(config)#router ospf