Configuration of the OSPF Interface parameters are described in the following sub-sections. The interface parameters are configured in the Interface Configuration mode.
Type the following:
iS5comm# configure terminal
iS5comm(config)# router ospf
iS5comm(config-router)# network 10.4.0.1 area 0.0.0.0
iS5comm(config-router)# network 10.10.2.1 area 0.0.0.6
iS5comm(config-router)# exit
When OSPF routing is enabled using the “network” command, an established session is properly mapped with the interface only if the interface administrative status is up. This is because to enable OSPF in an interface, both IP address and interface index are used.
iS5comm(config)# interface vlan 1
iS5comm(config-if)#
Configuring OSPF Interface Priority sets the interface priority of the router, which helps to determine the designated router for the link connected to the interface.
Configuring link state update packet transmission delay sets the estimated time required to transmit a link state update packet on the interface.
Configuring “hello interval” specifies the interval between hello packets sent on the interface.
Configuring dead-interval sets the interval at which hello packets must not be seen before the neighbors declare the router down.
When an OSPF link is configured as demand circuit, OSPF Hellos are suppressed and periodic LSA refreshes are not flooded over the link. These packets bring up the link only when they are exchanged for the first time, or when a change occurs in the information they contain. This allows the underlying Data Link Layer to be closed when the network topology is stable.
Configuring Interface Cost specifies the cost of sending a packet on an interface.