0% found this document useful (0 votes)
22 views

Troubleshooting OSPFv2

The document contains configuration scripts for routers R1, R2, R3 and switches D1, D2 for three trouble tickets. The scripts configure interfaces, IP addresses, OSPF routing and port channels between the devices. Minor changes are made between the scripts for each trouble ticket, such as OSPF area configuration and additional interfaces.

Uploaded by

free dumps
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Troubleshooting OSPFv2

The document contains configuration scripts for routers R1, R2, R3 and switches D1, D2 for three trouble tickets. The scripts configure interfaces, IP addresses, OSPF routing and port channels between the devices. Minor changes are made between the scripts for each trouble ticket, such as OSPF area configuration and additional interfaces.

Uploaded by

free dumps
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

R1 Configuration File Scripts

R1 - Trouble Ticket # 1
hostname R1
banner motd # This is R1, Trouble Ticket 8.1.2.1 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/0
ip add 10.2.0.1 255.255.255.0
no shut
inter g 0/0/1
ip add 10.0.1.1 255.255.255.0
no shut
int lo0
ip add 64.100.10.1 255.255.255.0
router ospf 1
router-id 1.1.1.1
network 10.0.1.0 0.0.0.255 area 0
network 10.2.0.0 0.0.0.255 area 2
default-information originate always
area 2 stub
exit
ip route 0.0.0.0 0.0.0.0 lo0

R1 - Trouble Ticket # 2
hostname R1
banner motd # This is R1, Trouble Ticket 8.1.2.2 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/0
ip add 10.2.0.1 255.255.255.0
no shut
inter g 0/0/1
ip add 10.0.1.1 255.255.255.0
no shut
int lo0
ip add 64.100.10.1 255.255.255.0
router ospf 1
router-id 1.1.1.1
network 10.0.1.0 0.0.0.255 area 0
network 10.2.0.0 0.0.0.255 area 2
default-information originate always
area 2 stub no-summary
exit
ip route 0.0.0.0 0.0.0.0 lo0

R1 - Trouble Ticket # 3
hostname R1
banner motd # This is R1, Trouble Ticket 8.1.2.3 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/0
ip add 10.2.0.1 255.255.255.0
no shut
inter g 0/0/1
ip add 10.0.1.1 255.255.255.0
no shut
int lo0
ip add 64.100.10.1 255.255.255.0
router ospf 1
router-id 1.1.1.1
network 10.0.1.0 0.0.0.255 area 0
network 10.2.0.0 0.0.0.255 area 2
default-information originate always
exit
ip route 0.0.0.0 0.0.0.0 lo0

R2 Configuration File Scripts

!R2 - Trouble Ticket # 1


hostname R2
banner motd # This is R2, Trouble Ticket 8.1.2.1 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/0
ip add 10.2.0.2 255.255.255.0
no shut
inter lo 0
ip add 10.2.1.1 255.255.255.0
ip ospf network point-to-point
no shut
router ospf 1
router-id 2.2.2.2
network 10.2.1.0 0.0.0.255 area 2
network 10.2.0.0 0.0.0.255 area 2

!R2 - Trouble Ticket # 2


hostname R2
banner motd # This is R2, Trouble Ticket 8.1.2.2 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/0
ip add 10.2.0.2 255.255.255.0
no shut
inter lo 0
ip add 10.2.1.1 255.255.255.0
ip ospf network point-to-point
no shut
router ospf 1
router-id 2.2.2.2
network 10.2.1.0 0.0.0.255 area 2
network 10.2.0.0 0.0.0.255 area 2
area 2 stub

!R2 - Trouble Ticket # 3


hostname R2
banner motd # This is R2, Trouble Ticket 8.1.2.3 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/0
ip add 10.2.0.2 255.255.255.0
no shut
inter g 0/0/1
ip add 10.3.0.2 255.255.255.0
no shut
inter lo 0
ip add 10.2.1.1 255.255.255.0
ip ospf network point-to-point
no shut
router ospf 1
router-id 2.2.2.2
network 10.2.1.0 0.0.0.255 area 2
network 10.2.0.0 0.0.0.255 area 2
network 10.3.0.0 0.0.0.255 area 3

R3 Configuration File Scripts

!R3 - Trouble Ticket # 1


hostname R3
banner motd # This is R3, Trouble Ticket 8.1.2.1 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/1
ip add 10.0.3.1 255.255.255.0
no shut
inter lo 0
ip add 10.3.1.1 255.255.255.0
ip ospf network point-to-point
no shut
router ospf 1
router-id 3.3.3.3
network 10.0.3.0 0.0.0.255 area 0
network 10.3.1.0 0.0.0.255 area 3

!R3 - Trouble Ticket # 2


hostname R3
banner motd # This is R3, Trouble Ticket 8.1.2.2 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/1
ip add 10.0.3.1 255.255.255.0
no shut
inter lo 0
ip add 10.3.1.1 255.255.255.0
ip ospf network point-to-point
no shut
router ospf 1
router-id 3.3.3.3
network 10.0.3.0 0.0.0.255 area 0
network 10.3.1.0 0.0.0.255 area 3
!R3 - Trouble Ticket # 3
hostname R3
banner motd # This is R3, Trouble Ticket 8.1.2.3 #
no ip domain lookup
line con 0
logg sync
exec-time 0 0
exit
inter g 0/0/0
ip add 10.3.0.1 255.255.255.0
no shut
inter g 0/0/1
ip add 10.0.3.1 255.255.255.0
no shut
inter lo 0
ip add 10.3.1.1 255.255.255.0
ip ospf network point-to-point
no shut
router ospf 1
router-id 3.3.3.3
network 10.0.3.0 0.0.0.255 area 0
network 10.3.0.0 0.0.0.255 area 3
network 10.3.1.0 0.0.0.255 area 3

D1 Configuration File Scripts

!D1 - Trouble Ticket # 1

hostname D1
banner motd # This is D1, Trouble Ticket 8.1.2.1 #
no ip domain lookup
ip routing
line con 0
logg sync
exec-time 0 0
exit
inter g 1/0/11
no switchport
ip add 10.0.1.2 255.255.255.0
no shut
exit
inter g 1/0/23
no switchport
ip add 10.1.2.1 255.255.255.0
no shut
exit
inter g 1/0/24
no switchport
ip add 10.1.3.1 255.255.255.0
no shut
exit
interface g 1/0/1
description Channel to D2
no switchport
channel-group 1 mode on
no shutdown
exit
interface g 1/0/2
description Channel to D2
no switchport
channel-group 1 mode on
no shutdown
exit
interface g 1/0/3
description Channel to D2
no switchport
channel-group 2 mode on
no shutdown
exit
interface g 1/0/4
description Channel to D2
no switchport
channel-group 2 mode on
no shutdown
exit
inter port-channel 1
ip add 10.0.2.1 255.255.255.0
no shut
exit
inter port-channel 2
ip add 10.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 4.4.4.4
network 10.0.1.0 0.0.0.255 area 0
network 10.0.2.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.255 area 1
network 10.1.2.0 0.0.0.255 area 1
network 10.1.3.0 0.0.0.255 area 1

!D1 - Trouble Ticket # 2


hostname D1
banner motd # This is D1, Trouble Ticket 8.1.2.2 #
hostname D1
no ip domain lookup
ip routing
line con 0
logg sync
exec-time 0 0
exit
inter g 1/0/11
no switchport
ip add 10.0.1.2 255.255.255.0
no shut
exit
inter g 1/0/23
no switchport
ip add 10.1.2.1 255.255.255.0
no shut
exit
inter g 1/0/24
no switchport
ip add 10.1.3.1 255.255.255.0
no shut
exit
interface g 1/0/1
description Channel to D2
no switchport
channel-group 1 mode on
no shutdown
exit
interface g 1/0/2
description Channel to D2
no switchport
channel-group 1 mode on
no shutdown
exit
interface g 1/0/3
description Channel to D2
no switchport
channel-group 2 mode on
no shutdown
exit
interface g 1/0/4
description Channel to D2
no switchport
channel-group 2 mode on
no shutdown
exit
inter port-channel 1
ip add 10.0.2.1 255.255.255.0
no shut
exit
inter port-channel 2
ip add 10.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 4.4.4.4
network 10.0.1.0 0.0.0.255 area 0
network 10.0.2.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.255 area 1
network 10.1.2.0 0.0.0.255 area 1
network 10.1.3.0 0.0.0.255 area 1

!D1 - Trouble Ticket # 3


hostname D1
banner motd # This is D1, Trouble Ticket 8.1.2.3 #
no ip domain lookup
ip routing
line con 0
logg sync
exec-time 0 0
exit
inter g 1/0/11
no switchport
ip add 10.0.1.2 255.255.255.0
no shut
exit
inter g 1/0/23
no switchport
ip add 10.1.2.1 255.255.255.0
no shut
exit
inter g 1/0/24
no switchport
ip add 10.1.3.1 255.255.255.0
no shut
exit
interface g 1/0/1
description Channel to D2
no switchport
channel-group 1 mode on
no shutdown
exit
interface g 1/0/2
description Channel to D2
no switchport
channel-group 1 mode on
no shutdown
exit
interface g 1/0/3
description Channel to D2
no switchport
channel-group 2 mode on
no shutdown
exit
interface g 1/0/4
description Channel to D2
no switchport
channel-group 2 mode on
no shutdown
exit
inter port-channel 1
ip add 10.0.2.1 255.255.255.0
no shut
exit
inter port-channel 2
ip add 10.1.1.1 255.255.255.0
no shut
exit
router ospf 1
router-id 4.4.4.4
network 10.0.1.0 0.0.0.255 area 0
network 10.0.2.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.255 area 1
network 10.1.2.0 0.0.0.255 area 1
network 10.1.3.0 0.0.0.255 area 1
D2 Configuration File Scripts

!D2 - Trouble Ticket # 1


hostname D2
banner motd # This is D2, Trouble Ticket 8.1.2.1 #
no ip domain lookup
ip routing
line con 0
logg sync
exec-time 0 0
exit
inter g 1/0/11
no switchport
ip add 10.0.3.2 255.255.255.0
no shut
interface g 1/0/1
description Channel to D1
no switchport
channel-group 1 mode on
no shutdown
interface g 1/0/2
description Channel to D1
no switchport
channel-group 1 mode on
no shutdown
interface g 1/0/3
description Channel to D1
no switchport
channel-group 2 mode on
no shutdown
interface g 1/0/4
description Channel to D1
no switchport
channel-group 2 mode on
no shutdown
inter port-channel 1
ip add 10.0.2.2 255.255.255.0
no shut
inter port-channel 2
ip add 10.1.1.2 255.255.255.0
no shut
router ospf 1
router-id 5.5.5.5
network 10.0.2.0 0.0.0.255 area 0
network 10.0.3.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.255 area 1

!D2 - Trouble Ticket # 2


hostname D2
banner motd # This is D2, Trouble Ticket 8.1.2.2 #
no ip domain lookup
ip routing
line con 0
logg sync
exec-time 0 0
exit
inter g 1/0/11
no switchport
ip add 10.0.3.2 255.255.255.0
no shut
interface g 1/0/1
description Channel to D1
no switchport
channel-group 1 mode on
no shutdown
interface g 1/0/2
description Channel to D1
no switchport
channel-group 1 mode on
no shutdown
interface g 1/0/3
description Channel to D1
no switchport
channel-group 2 mode on
no shutdown
interface g 1/0/4
description Channel to D1
no switchport
channel-group 2 mode on
no shutdown
inter port-channel 1
ip add 10.0.2.2 255.255.0.0
no shut
inter port-channel 2
ip add 10.1.1.2 255.255.0.0
no shut
inter range g1/0/5-10, g1/0/12-24
shut
router ospf 1
router-id 5.5.5.5
network 10.0.2.0 0.0.0.255 area 0
network 10.0.3.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.255 area 1

!D2 - Trouble Ticket # 3


hostname D2
ip routing
banner motd # This is D2, Trouble Ticket 8.1.2.3 #
no ip domain lookup
ip routing
line con 0
logg sync
exec-time 0 0
exit
inter g 1/0/11
no switchport
ip add 10.0.3.2 255.255.255.0
no shut
interface g 1/0/1
description Channel to D1
no switchport
channel-group 1 mode on
no shutdown
interface g 1/0/2
description Channel to D1
no switchport
channel-group 1 mode on
no shutdown
interface g 1/0/3
description Channel to D1
no switchport
channel-group 2 mode on
no shutdown
interface g 1/0/4
description Channel to D1
no switchport
channel-group 2 mode on
no shutdown
inter port-channel 1
ip add 10.0.2.2 255.255.255.0
no shut
inter port-channel 2
ip add 10.1.1.2 255.255.255.0
no shut
router ospf 1
router-id 5.5.5.5
network 10.0.2.0 0.0.0.255 area 0
network 10.0.3.0 0.0.0.255 area 0
network 10.1.1.0 0.0.0.255 area 1

You might also like