This is an old revision of the document!
WIP: Cisco: OSPF LSA Control
Common
Tasks
Lab1 Write Base Config: IP config, and Basic Single Area OSPF routing
Lab2 Write Base Config: IP config, and Basic Single Area OSPF routing
Lab3 Write Base Config: IP config, and Basic Single Area OSPF routing
Lab4 Write Base Config: IP config, and Basic Single Area OSPF routing
Lab1 Configure IP and Verify Ping reachability
Lab2 Configure IP and Verify Ping reachability
Lab3 Configure IP and Verify Ping reachability
Lab4 Configure IP and Verify Ping reachability
Lab1 Configure Basic Single Area OSPF, Verify OSPF neighbor, and Ping reachability
Lab2 Configure Basic Single Area OSPF, Verify OSPF neighbor, and Ping reachability
Lab3 Configure Basic Single Area OSPF, Verify OSPF neighbor, and Ping reachability
Lab4 Configure Basic Single Area OSPF, Verify OSPF neighbor, and Ping reachability
Lab 1: 250d43a9-917d-48d3-8794-ca8f5567a6b9 Penta Start Full Mesh Topology
Base Configuration
R1
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.2.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.5.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.1.3.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/4
ip address 10.1.4.1 255.255.255.0
no shutdown
interface Loopback 0
ip address 1.1.1.1 255.255.255.255
no shutdown
!
router ospf 1
router-id 1.1.1.1
network 10.1.2.1 0.0.0.0 area 0
network 10.1.5.1 0.0.0.0 area 0
network 10.1.3.1 0.0.0.0 area 0
network 10.1.4.1 0.0.0.0 area 0
network 1.1.1.1 0.0.0.0 area 0
exit
!
end
R2
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.2.3.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.2.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.2.4.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/4
ip address 10.2.5.2 255.255.255.0
no shutdown
interface Loopback 0
ip address 2.2.2.2 255.255.255.255
no shutdown
!
router ospf 1
router-id 2.2.2.2
network 10.2.3.2 0.0.0.0 area 0
network 10.1.2.2 0.0.0.0 area 0
network 10.2.4.2 0.0.0.0 area 0
network 10.2.5.2 0.0.0.0 area 0
network 2.2.2.2 0.0.0.0 area 0
exit
!
end
R3
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.3.4.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.2.3.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.1.3.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/4
ip address 10.3.5.3 255.255.255.0
no shutdown
interface Loopback 0
ip address 3.3.3.3 255.255.255.255
no shutdown
!
router ospf 1
router-id 3.3.3.3
network 10.3.4.3 0.0.0.0 area 0
network 10.2.3.3 0.0.0.0 area 0
network 10.1.3.3 0.0.0.0 area 0
network 10.3.5.3 0.0.0.0 area 0
network 3.3.3.3 0.0.0.0 area 0
exit
!
end
R4
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.4.5.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.3.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.1.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/4
ip address 10.2.4.4 255.255.255.0
no shutdown
interface Loopback 0
ip address 4.4.4.4 255.255.255.255
no shutdown
!
router ospf 1
router-id 4.4.4.4
network 10.4.5.4 0.0.0.0 area 0
network 10.3.4.4 0.0.0.0 area 0
network 10.1.4.4 0.0.0.0 area 0
network 10.2.4.4 0.0.0.0 area 0
network 4.4.4.4 0.0.0.0 area 0
exit
!
end
R5
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.5.5 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.4.5.5 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.2.5.5 255.255.255.0
no shutdown
interface GigabitEthernet 0/4
ip address 10.3.5.5 255.255.255.0
no shutdown
interface Loopback 0
ip address 5.5.5.5 255.255.255.255
no shutdown
!
router ospf 1
router-id 5.5.5.5
network 10.1.5.5 0.0.0.0 area 0
network 10.4.5.5 0.0.0.0 area 0
network 10.2.5.4 0.0.0.0 area 0
network 10.3.5.4 0.0.0.0 area 0
network 5.5.5.5 0.0.0.0 area 0
exit
!
end
Lab 2: 1b7dfeae-3fe2-4ae6-91a5-b5e6b92cc669 Square (No Full Mesh) Topology
Base Configuration
R1
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.2.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.4.1 255.255.255.0
no shutdown
interface Loopback 0
ip address 1.1.1.1 255.255.255.255
no shutdown
!
router ospf 1
router-id 1.1.1.1
network 10.1.2.1 0.0.0.0 area 0
network 10.1.4.1 0.0.0.0 area 0
network 1.1.1.1 0.0.0.0 area 0
exit
!
end
R2
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.2.3.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.2.2 255.255.255.0
no shutdown
interface Loopback 0
ip address 2.2.2.2 255.255.255.255
no shutdown
!
router ospf 1
router-id 2.2.2.2
network 10.2.3.2 0.0.0.0 area 0
network 10.1.2.2 0.0.0.0 area 0
network 2.2.2.2 0.0.0.0 area 0
exit
!
end
R3
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.3.4.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.2.3.3 255.255.255.0
no shutdown
interface Loopback 0
ip address 3.3.3.3 255.255.255.255
no shutdown
!
router ospf 1
router-id 3.3.3.3
network 10.3.4.3 0.0.0.0 area 0
network 10.2.3.3 0.0.0.0 area 0
network 3.3.3.3 0.0.0.0 area 0
exit
!
end
R4
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.3.4.4 255.255.255.0
no shutdown
interface Loopback 0
ip address 4.4.4.4 255.255.255.255
no shutdown
!
router ospf 1
router-id 4.4.4.4
network 10.1.4.4 0.0.0.0 area 0
network 10.3.4.4 0.0.0.0 area 0
network 4.4.4.4 0.0.0.0 area 0
exit
!
end
Lab 3: 4fba40ec-5b08-4e8d-a535-0961c5a81386 Square (Full Mesh) Topology
Base Configuration
R1
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.2.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.4.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.1.3.1 255.255.255.0
no shutdown
interface Loopback 0
ip address 1.1.1.1 255.255.255.255
no shutdown
!
router ospf 1
router-id 1.1.1.1
network 10.1.2.1 0.0.0.0 area 0
network 10.1.4.1 0.0.0.0 area 0
network 10.1.3.1 0.0.0.0 area 0
network 1.1.1.1 0.0.0.0 area 0
exit
!
end
R2
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.2.3.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.2.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.2.4.2 255.255.255.0
no shutdown
interface Loopback 0
ip address 2.2.2.2 255.255.255.255
no shutdown
!
router ospf 1
router-id 2.2.2.2
network 10.2.3.2 0.0.0.0 area 0
network 10.1.2.2 0.0.0.0 area 0
network 10.2.4.2 0.0.0.0 area 0
network 2.2.2.2 0.0.0.0 area 0
exit
!
end
R3
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.3.4.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.2.3.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.1.3.3 255.255.255.0
no shutdown
interface Loopback 0
ip address 3.3.3.3 255.255.255.255
no shutdown
!
router ospf 1
router-id 3.3.3.3
network 10.3.4.3 0.0.0.0 area 0
network 10.2.3.3 0.0.0.0 area 0
network 10.1.3.3 0.0.0.0 area 0
network 3.3.3.3 0.0.0.0 area 0
exit
!
end
R4
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.3.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.2.4.4 255.255.255.0
no shutdown
interface Loopback 0
ip address 4.4.4.4 255.255.255.255
no shutdown
!
router ospf 1
router-id 4.4.4.4
network 10.1.4.4 0.0.0.0 area 0
network 10.3.4.4 0.0.0.0 area 0
network 10.2.4.4 0.0.0.0 area 0
network 4.4.4.4 0.0.0.0 area 0
exit
!
end
Lab 4: cb9dd9fd-5c75-4c64-8aa4-59f99721647e 6 routers include 2 full meshed square Topology
Base Configuration
R1
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.2.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.3.1 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.1.4.1 255.255.255.0
no shutdown
interface Loopback 0
ip address 1.1.1.1 255.255.255.255
no shutdown
!
router ospf 1
router-id 1.1.1.1
network 10.1.2.1 0.0.0.0 area 0
network 10.1.3.1 0.0.0.0 area 0
network 10.1.4.1 0.0.0.0 area 0
network 1.1.1.1 0.0.0.0 area 0
exit
!
end
R2
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.1.2.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.2.4.2 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.2.3.2 255.255.255.0
no shutdown
interface Loopback 0
ip address 2.2.2.2 255.255.255.255
no shutdown
!
router ospf 1
router-id 2.2.2.2
network 10.1.2.2 0.0.0.0 area 0
network 10.2.4.2 0.0.0.0 area 0
network 10.2.3.2 0.0.0.0 area 0
network 2.2.2.2 0.0.0.0 area 0
exit
!
end
R3
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.3.4.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.1.3.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.3.5.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/4
ip address 10.2.3.3 255.255.255.0
no shutdown
interface GigabitEthernet 0/5
ip address 10.3.6.3 255.255.255.0
no shutdown
interface Loopback 0
ip address 3.3.3.3 255.255.255.255
no shutdown
!
router ospf 1
router-id 3.3.3.3
network 10.3.4.3 0.0.0.0 area 0
network 10.1.3.3 0.0.0.0 area 0
network 10.3.5.3 0.0.0.0 area 0
network 10.2.3.3 0.0.0.0 area 0
network 10.3.6.3 0.0.0.0 area 0
network 3.3.3.3 0.0.0.0 area 0
exit
!
end
R4
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.3.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.2.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.4.6.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/4
ip address 10.1.4.4 255.255.255.0
no shutdown
interface GigabitEthernet 0/5
ip address 10.4.5.4 255.255.255.0
no shutdown
interface Loopback 0
ip address 4.4.4.4 255.255.255.255
no shutdown
!
router ospf 1
router-id 4.4.4.4
network 10.3.4.4 0.0.0.0 area 0
network 10.2.4.4 0.0.0.0 area 0
network 10.4.6.4 0.0.0.0 area 0
network 10.1.4.4 0.0.0.0 area 0
network 10.4.5.4 0.0.0.0 area 0
network 4.4.4.4 0.0.0.0 area 0
exit
!
end
R5
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.5.6.5 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.3.5.5 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.4.5.5 255.255.255.0
no shutdown
interface Loopback 0
ip address 5.5.5.5 255.255.255.255
no shutdown
!
router ospf 1
router-id 5.5.5.5
network 10.5.6.5 0.0.0.0 area 0
network 10.3.5.5 0.0.0.0 area 0
network 10.4.5.5 0.0.0.0 area 0
network 5.5.5.5 0.0.0.0 area 0
exit
!
end
R6
configure terminal
!
interface GigabitEthernet 0/1
ip address 10.5.6.6 255.255.255.0
no shutdown
interface GigabitEthernet 0/2
ip address 10.4.6.6 255.255.255.0
no shutdown
interface GigabitEthernet 0/3
ip address 10.3.6.6 255.255.255.0
no shutdown
interface Loopback 0
ip address 6.6.6.6 255.255.255.255
no shutdown
!
router ospf 1
router-id 6.6.6.6
network 10.5.6.6 0.0.0.0 area 0
network 10.4.6.6 0.0.0.0 area 0
network 10.3.6.6 0.0.0.0 area 0
network 6.6.6.6 0.0.0.0 area 0
exit
!
end
Configurations
configure terminal
!
router ospf 1
neighbor <neigbor-address> database-filter all out
exit
!
end
References