393
(1) Configure OSPF packet sending mechanism parameters
a. Configure OSPF packet verification
b. Set the OSPF interface to receive only
c. Configure the cost for sending packets from the interface
d. Configure OSPF packet sending timer parameter (timer of broadcast interface
sending HELLO packet to poll, timer of neighboring layer3 switch invalid timeout,
timer of LSA transmission delay and timer of LSA retransmission.
(2) Configure OSPF route introduction parameters
a. Configure default parameters (default type, default tag value, default cost,
default interval and default number uplimit)
b. Configure the routes of the other protocols to introduce to OSPF.
(3) Configure other OSPF protocol parameters
a. Configure OSPF routing protocol priority
b. Configure cost for OSPF STUB area and default route
c. Configure OSPF virtual link
d. Configure the priority of the interface when electing designated layer3 switch
(DR).
3. Disable OSPF protocol.
1. Enable OSPF protocol
Basic configuration of OSPF routing protocol on route switch is quite simple, usually
only enabling OSPF and configuration of the OSPF area for the interface are required.
The OSPF protocol parameters can use the default settings. If OSPF protocol parameters
need to be modified, please refer to “2. Configure OSPF sub-parameters”.
Command Explanation
Global Mode
[no] router ospf
Enables OSPF protocol; the “no router ospf”
command disables OSPF protocol (required)
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)
OSPF protocol configuration mode
[no] network <network> <mask>
area <area_id> [ advertise |
notadvertise ]
Defines several segments in an area to a
network scope; the “no network <network>
<mask> area <area_id> [ advertise |
notadvertise ]” command cancels the
network scope. (optional)
Interface Mode