This is an old revision of the document!
WIP: Cisco: OSPF LSA Control
Common
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
configure terminal
!
router ospf 1
neighbor <neigbor-address> database-filter all out
exit
!
end
References