User's Manual

Table Of Contents
38-5
Command
Explanation
Global Mode
[no] router ospf [process <id>]
Enables OSPF protocol; the “
no router
ospf” command disables OSPF protocol.
(required)
OSPF Protocol Configuration Mode
router-id <router_id>
no router-id
Configures the ID number for the layer3
switch running OSPF; the “no router id
command cancels the ID number. The IP
address of an interface is selected to be the
layer3 switch ID. (optional)
[no] network {<network> <mask> |
<network>/<prefix>} area <area_id>
Configure certain segment to certain area,
the no [no] network {<network> <mask> |
<network>/<prefix>} area <area_id>
command cancels this configuration.
(required)
2. Configure OSPF protocol parameters
1
Configure OSPF packet sending mechanism parameters
1Configure OSPF packet verification
2Set the OSPF interface to receive only
3Configure the cost for sending packets from the interface
Command
Explanation
Interface Configuration Mode
ip ospf authentication
{ message-digest | null}
no ip ospf authentication
Configures the authentication method by the
interface to accept OSPF packets; the
no ip
ospf authentication
command restores the
default settings.
ip ospf authentication-key LINE
no ip ospf authentication-key
Configure the key of the authentication process
of OSPF data packets receiving for the
interfaces; the no action of this command
restores the default settings.
[no] passive-interface <ifname>
[<ip-address>]
Sets an interface to receive only, the no
passive-interface <ifname>[<ip-address>]
command cancels this configuration.
ip ospf cost <cost >
no ip ospf cost
Sets the cost for running OSPF on the interface;
the no ip ospf cost
command restores the
default setting.