Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Configuration Guide for the S4048–ON System 9.14.2.6

PDF

Changing OSPFv2 Parameters on Interfaces

In Dell EMC Networking OS, you can modify the OSPF settings on the interfaces.

Some interface parameter values must be consistent across all interfaces to avoid routing errors. For example, set the same time interval for the hello packets on all routers in the OSPF network to prevent misconfiguration of OSPF neighbors.

To change OSPFv2 parameters on the interfaces, use any or all of the following commands.

  • Change the cost associated with OSPF traffic on the interface.
    CONFIG-INTERFACE mode
    ip ospf cost
    • cost: The range is from 1 to 65535 (the default depends on the interface speed).
  • Change the time interval the router waits before declaring a neighbor dead.
    CONFIG-INTERFACE mode
    ip ospf dead-interval seconds
    • seconds: the range is from 1 to 65535 (the default is 40 seconds).
    The dead interval must be four times the hello interval.
    The dead interval must be the same on all routers in the OSPF network.
  • Change the time interval between hello-packet transmission.
    CONFIG-INTERFACE mode
    ip ospf hello-interval seconds
    • seconds: the range is from 1 to 65535 (the default is 10 seconds).
    The hello interval must be the same on all routers in the OSPF network.
  • Use the MD5 algorithm to produce a message digest or key, which is sent instead of the key.
    CONFIG-INTERFACE mode
    ip ospf message-digest-key keyid md5 key
    • keyid: the range is from 1 to 255.
    • Key: a character string.
    NOTE Be sure to write down or otherwise record the key. You cannot learn the key after it is configured. You must be careful when changing this key.
    NOTE You can configure a maximum of six digest keys on an interface. Of the available six digest keys, the switches select the MD5 key that is common. The remaining MD5 keys are unused.
  • Change the priority of the interface, which is used to determine the Designated Router for the OSPF broadcast network.
    CONFIG-INTERFACE mode
    ip ospf priority number
    • number: the range is from 0 to 255 (the default is 1).
  • Change the retransmission interval between LSAs.
    CONFIG-INTERFACE mode
    ip ospf retransmit-interval seconds
    • seconds: the range is from 1 to 65535 (the default is 5 seconds).
    The retransmit interval must be the same on all routers in the OSPF network.
  • Change the wait period between link state update packets sent out the interface.
    CONFIG-INTERFACE mode
    ip ospf transmit-delay seconds
    • seconds: the range is from 1 to 65535 (the default is 1 second).
    The transmit delay must be the same on all routers in the OSPF network.

Example of Changing and Verifying the cost Parameter and Viewing Interface Status

To view interface configurations, use the show config command in CONFIGURATION INTERFACE mode.

To view interface status in the OSPF process, use the show ip ospf interface command in EXEC mode.

The bold lines in the example show the change on the interface. The change is reflected in the OSPF configuration.

DellEMC(conf-if)#ip ospf cost 45
DellEMC(conf-if)#show config
!
interface TenGigabitEthernet 1/1
  ip address 10.1.2.100 255.255.255.0
  no shutdown
  ip ospf cost 45
DellEMC(conf-if)#end

DellEMC#show ip ospf 34 interface
  TenGigabitEthernet 1/1 is up, line protocol is up
  Internet Address 10.1.2.100/24, Area 2.2.2.2
  Process ID 34, Router ID 10.1.2.100, Network Type BROADCAST, Cost: 45
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 10.1.2.100, Interface address 10.1.2.100
  Backup Designated Router (ID) 10.1.2.100, Interface address 0.0.0.0
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:06
  Neighbor Count is 0, Adjacent neighbor count is 0
DellEMC#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\