
Command Reference Guide Global Configuration Mode Command Set
61950860L1-35D © 2003 ADTRAN, Inc. 227
router ospf
Use the router ospf command to activate OSPF in the router and to enter the OSPF Configuration Mode.
See the section Router (OSPF) Configuration Command Set on page 541 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.
Command Modes
(config)# Global Configuration Mode required
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. See
ip firewall
on page 190 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 (see
ip policy-class
<policyname> max-sessions
on page 208). 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
(config-ospf)#
Komentarze do niniejszej Instrukcji