
90
2
)
Configure cost for OSPF STUB area and default route
3
)
Configure OSPF virtual link
4
)
Configure the priority of the interface when electing designated layer3 switch (DR).
5
)
Configure to keep a log for OSPF adjacency changes or not
6
)
Filter the route obtained by OSPF
3. Disable OSPF protocol
1. Enable OSPF protocol
Basic configuration of OSPF routing protocol on ES4624-SFP/ES4626-SFP 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 protocol parameters”.
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)
[no] passive-interface
<ifname>
[
<ip-address>
]
Sets an interface to receive only, the
no
passive-interface
<ifname>
[
<ip-address>
]
command cancels this
configuration.
2. Configure OSPF protocol parameters
(
1
)
Configure OSPF packet sending mechanism parameters
1
)
Configure OSPF packet verification
2
)
Set the OSPF interface to receive only
3
)
Configure the cost for sending packets from the interface