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

Sample Configurations for OSPFv2

The following configurations are examples for enabling OSPFv2.

These examples are not comprehensive directions. They are intended to give you some guidance with typical configurations.

You can copy and paste from these examples to your CLI. To support your own IP addresses, interfaces, names, and so on, be sure that you make the necessary changes.

Basic OSPFv2 Router Topology

The following illustration is a sample basic OSPFv2 topology.
Figure 1. Basic Topology and CLI Commands for OSPFv2 Illustration of basic topology and CLI commands for OSPFv2.

OSPF Area 0 — Gl 1/1 and 1/2

router ospf 11111
                                 network 10.0.11.0/24 area 0
                                 network 10.0.12.0/24 area 0
                                 network 192.168.100.0/24 area 0
                                 !
                                 interface GigabitEthernet 1/1
                                 ip address 10.1.11.1/24
                                 no shutdown
                                 !
                                 interface GigabitEthernet 1/2
                                 ip address 10.2.12.2/24
                                 no shutdown
                                 !
                                 interface Loopback 10
                                 ip address 192.168.100.100/24
                                 no shutdown
                              

OSPF Area 0 — Gl 3/1 and 3/2

router ospf 33333
                                 network 192.168.100.0/24 area 0
                                 network 10.0.13.0/24 area 0
                                 network 10.0.23.0/24 area 0
                                 !
                                 interface Loopback 30
                                 ip address 192.168.100.100/24
                                 no shutdown
                                 !
                                 interface GigabitEthernet 3/1
                                 ip address 10.1.13.3/24
                                 no shutdown
                                 !
                                 interface GigabitEthernet 3/2
                                 ip address 10.2.13.3/24
                                 no shutdown
                              

OSPF Area 0 — Gl 2/1 and 2/2

router ospf 22222
                                 network 192.168.100.0/24 area 0
                                 network 10.2.21.0/24 area 0
                                 network 10.2.22.0/24 area 0
                                 !
                                 interface Loopback 20
                                 ip address 192.168.100.20/24
                                 no shutdown
                                 !
                                 interface GigabitEthernet 2/1
                                 ip address 10.2.21.2/24
                                 no shutdown
                                 !
                                 interface GigabitEthernet 2/2
                                 ip address 10.2.22.2/24
                                 no shutdown
                              

É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 : <>()\