Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0)

PDF

Changing OSPFv2 Parameters on Interfaces

In the Dell 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.

Dell(conf-if)#
                                 ip ospf cost 45
                                 Dell(conf-if)#show config
                                 !
                                 interface TenGigabitEthernet 0/0
                                 ip address 10.1.2.100 255.255.255.0
                                 no shutdown
                                 
                                 ip ospf cost 45
                                 Dell(conf-if)#end
                                 
                                 Dell#show ip ospf 34 interface
                                 GigabitEthernet 0/0 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
                                 Dell#
                              

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\