Open Shortest Path First (OSPFv2 and OSPFv3) | 725Sample Configurations for OSPFv2The following configurations are examples for enabling OSPFv2. These are not comprehensive directions.They are intended to give you a some guidance with typical configurations.You can copy and paste from these examples to your CLI. Be sure you make the necessary changes tosupport your own IP Addresses, Interfaces, Names, etc.Basic OSPFv2 Router TopologyThe following illustration is a sample basic OSPFv2 topology.Figure 32-22. Basic topology and CLI commands for OSPFv2OSPF AREA 0GI 1/1GI 1/2GI 2/1GI 2/2GI 3/1 GI 3/2router ospf 11111network 10.0.11.0/24 area 0network 10.0.12.0/24 area 0network 192.168.100.0/24 area 0!interface GigabitEthernet 1/1ip address 10.1.11.1/24no shutdown!interface GigabitEthernet 1/2ip address 10.2.12.2/24no shutdown!interface Loopback 10ip address 192.168.100.100/24no shutdownrouter ospf 33333network 192.168.100.0/24 area 0network 10.0.13.0/24 area 0network 10.0.23.0/24 area 0!interface Loopback 30ip address 192.168.100.100/24no shutdown!interface GigabitEthernet 3/1ip address 10.1.13.3/24no shutdown!interface GigabitEthernet 3/2ip address 10.2.13.3/24no shutdownrouter ospf 22222network 192.168.100.0/24 area 0network 10.2.21.0/24 area 0network 10.2.22.0/24 area 0!interface Loopback 20ip address 192.168.100.20/24no shutdown!interface GigabitEthernet 2/1ip address 10.2.21.2/24no shutdown!interface GigabitEthernet 2/2ip address 10.2.22.2/24no shutdown