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

Enable OSPFv2 on Interfaces

Enable and configure OSPFv2 on each interface (configure for Layer 3 protocol), and not shutdown.

You can also assign OSPFv2 to a Loopback interface as a virtual interface.

OSPF functions and features, such as MD5 Authentication, Grace Period, Authentication Wait Time, are assigned on a per interface basis.

  • NOTE: If using features like MD5 Authentication, ensure all the neighboring routers are also configured for MD5.

In the following example, an IP address is assigned to an interface and an OSPFv2 area is defined that includes the IP address of a Layer 3 interface.

The first bold lines assign an IP address to a Layer 3 interface, and the no shutdown command ensures that the interface is UP.

The second bold line assigns the IP address of an interface to an area.

Example of Enabling OSPFv2 and Assigning an Area to an Interface

Dell#(conf)#int tengig 4/44
                                 Dell
                                 (conf-if-te-4/44)#ip address 10.10.10.10/24
                                 Dell
                                 (conf-if-te-4/44)#no shutdown
                                 Dell(conf-if-te-4/44)#ex
                                 Dell(conf)#router ospf 1
                                 Dell(conf-router_ospf-1)#network 1.2.3.4/24 area 0
                                 Dell
                                 (conf-router_ospf-1)#network 10.10.10.10/24 area 1
                                 Dell(conf-router_ospf-1)#network 20.20.20.20/24 area 2
                                 Dell(conf-router_ospf-1)#
                                 Dell#
                              

Dell Networking recommends using the interface IP addresses for the OSPFv2 router ID for easier management and troubleshooting.

To view the configuration, use the show config command in CONFIGURATION ROUTER OSPF mode.

OSPF, by default, sends hello packets out to all physical interfaces assigned an IP address that is a subset of a network on which OSPF is enabled.

To view currently active interfaces and the areas assigned to them, use the show ip ospf interface command.

Dell>show ip ospf 1 interface
                                 
                                 TenGigabitEthernet 12/17 is up, line protocol is up
                                 Internet Address 10.2.2.1/24, Area 0.0.0.0
                                 Process ID 1, Router ID 11.1.2.1, Network Type BROADCAST, Cost: 1
                                 Transmit Delay is 1 sec, State DR, Priority 1
                                 Designated Router (ID) 11.1.2.1, Interface address 10.2.2.1
                                 Backup Designated Router (ID) 0.0.0.0, Interface address 0.0.0.0
                                 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
                                 Hello due in 00:00:04
                                 Neighbor Count is 0, Adjacent neighbor count is 0
                                 
                                 TenGigabitEthernet 12/21 is up, line protocol is up
                                 Internet Address 10.2.3.1/24, Area 0.0.0.0
                                 Process ID 1, Router ID 11.1.2.1, Network Type BROADCAST, Cost: 1
                                 Transmit Delay is 1 sec, State BDR, Priority 1
                                 Designated Router (ID) 13.1.1.1, Interface address 10.2.3.2
                                 Backup Designated Router (ID) 11.1.2.1, Interface address 10.2.3.1
                                 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
                                 Hello due in 00:00:05
                                 Neighbor Count is 1, Adjacent neighbor count is 1
                                 Adjacent with neighbor 13.1.1.1 (Designated Router)
                                 Dell>
                              

Loopback interfaces also help the OSPF process. OSPF picks the highest interface address as the router-id and a Loopback interface address has a higher precedence than other interface addresses.

Dell#show ip ospf 1 int
                                 
                                 TenGigabitEthernet 13/23 is up, line protocol is up
                                 Internet Address 10.168.0.1/24, Area 0.0.0.1
                                 Process ID 1, Router ID 10.168.253.2, Network Type BROADCAST, Cost: 1
                                 Transmit Delay is 1 sec, State DROTHER, Priority 1
                                 Designated Router (ID) 10.168.253.5, Interface address 10.168.0.4
                                 Backup Designated Router (ID) 192.168.253.3, Interface address 10.168.0.2
                                 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
                                 Hello due in 00:00:08
                                 Neighbor Count is 3, Adjacent neighbor count is 2
                                 Adjacent with neighbor 10.168.253.5 (Designated Router)
                                 Adjacent with neighbor 10.168.253.3 (Backup Designated Router)
                                 
                                 Loopback 0 is up, line protocol is up
                                 Internet Address 10.168.253.2/32, Area 0.0.0.1
                                 Process ID 1, Router ID 10.168.253.2, Network Type LOOPBACK, Cost: 1
                                 Loopback interface is treated as a stub Host.
                                 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 : <>()\