ScaN Skills Assess - OSPF - Student Trng - Exam






Erase the startup-config file on all:  erase startup-config
Reload all routers: reload

Erase the startup-config file on all
switches and remove the old           : delete vlan.dat
VLAN database.

Reload all routers: reload

Verify VLAN database is absent            : show flash
from flash on all switches.


Configuration R1:

enable
configure terminal
!
no ip domain-lookup
!
hostname R1
!
enable secret class
!
line console 0
 password cisco
 logging synchronous
 login
!
line vty 0 15
 password cisco
 login
 exit
!
Service password-encryption
!
Banner motd #Unauthorized Access is Prohibited!#
!
interface GigabitEthernet0/1
description Connect to LAN
ip address 172.27.0.1 255.255.255.0
duplex auto
speed auto
standby version 2
standby 1 ip 172.27.0.2
standby 1 priority 150
standby 1 preempt
no shutdown
!
interface Serial0/0/0
description Connect to R2
bandwidth 128
ip address 172.27.123.1 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 CISCO
ip ospf cost 7500
clock rate 128000
no shutdown
!
interface Loopback1
ip address 172.27.1.1 255.255.255.0
!
interface Loopback2
ip address 172.27.2.1 255.255.255.0
!
interface Loopback3
ip address 172.27.3.1 255.255.255.0
exit
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
area 1 range 172.27.0.0 255.255.252.0
area 0 authentication message-digest
passive-interface default
no passive-interface Serial0/0/0
auto-cost reference-bandwidth 1000
network 172.27.1.0 0.0.0.255 area 1
network 172.27.2.0 0.0.0.255 area 1
network 172.27.3.0 0.0.0.255 area 1
network 172.27.0.0 0.0.0.255 area 0
network 172.27.123.0 0.0.0.3 area 0
!


Configuration R2:


Enable
Configure terminal
!
No ip domain-lookup
!
Hostname R2
!
Enable secret class
!
Line console 0
Password cisco
logging synchronous
Login
!
Line vty 0 15
Password cisco
Login
exit
!
Service password-encryption
!
Banner motd #Unauthorized Access is Prohibited!#
!
interface Serial0/0/0
description Connect to R1
ip address 172.27.123.2 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 CISCO
no shutdown

!
interface Serial0/0/1
description Connect to R3
ip address 172.27.123.5 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 CISCO
clock rate 128000
no shutdown
!
interface Loopback0
description Connect to Internet
ip address 209.165.200.225 255.255.255.248
exit
!
ip route 0.0.0.0 0.0.0.0 Loopback0
!
router ospf 1
router-id 2.2.2.2
log-adjacency-changes
area 0 authentication message-digest
passive-interface default
no passive-interface Serial0/0/0
no passive-interface Serial0/0/1
auto-cost reference-bandwidth 1000
network 172.27.123.0 0.0.0.3 area 0
network 172.27.123.4 0.0.0.3 area 0
default-information originate
!


Configuration R3: 


Enable
Configure terminal
!
No ip domain-lookup
!
Hostname R3
!
Enable secret class
!
Line console 0
Password cisco
logging synchronous
Login
!
Line vty 0 15
Password cisco
Login
exit
!
Service password-encryption
!
Banner motd #Unauthorized Access is Prohibited!#
!
interface GigabitEthernet0/1
description Connect to LAN
ip address 172.27.0.3 255.255.255.0
duplex auto
speed auto
standby version 2
standby 1 ip 172.27.0.2
!
interface Serial0/0/1
description Connect to R2
bandwidth 128
ip address 172.27.123.6 255.255.255.252
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 CISCO
!
interface Loopback4
ip address 172.27.4.1 255.255.255.0
!
interface Loopback5
ip address 172.27.5.1 255.255.255.0
!
interface Loopback6
ip address 172.27.6.1 255.255.255.0
exit
!
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
area 3 range 172.27.4.0 255.255.252.0
area 0 authentication message-digest
passive-interface default
no passive-interface Serial0/0/1
auto-cost reference-bandwidth 1000
network 172.27.4.0 0.0.0.255 area 3
network 172.27.5.0 0.0.0.255 area 3
network 172.27.6.0 0.0.0.255 area 3
network 172.27.0.0 0.0.0.255 area 0
network 172.27.123.4 0.0.0.3 area 0
!


Configuration S1: 


Enable
Configure terminal
!
No ip domain-lookup
!
Hostname S1
!
Enable secret class
!
Line console 0
Password cisco
logging synchronous
Login
!
Line vty 0 15
Password cisco
Login
exit
!
Service password-encryption
!
Banner motd #Unauthorized Access is Prohibited!#
!
interface Vlan1
ip address 172.27.0.11 255.255.255.0
no shutdown
exit
!
ip default-gateway 172.27.0.2
!
interface FastEthernet0/1
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/2
switchport mode trunk
switchport trunk native vlan 1

!
interface FastEthernet0/3
switchport mode trunk
switchport trunk native vlan 1
channel-group 1 mode active
!
interface FastEthernet0/4
switchport mode trunk
switchport trunk native vlan 1
channel-group 1 mode active
!
interface FastEthernet0/5
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/6
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpduguard enable
!
Interface range f0/7-24,g0/1
switchport mode access
switchport nonegotiate
shutdown
!
interface Port-channel 1
switchport mode trunk
switchport trunk native vlan 1
!
spanning-tree mode rapid-pvst
!
spanning-tree vlan 1 root primary
!


Configuration S2: 


Enable
Configure terminal
!
No ip domain-lookup
!
Hostname S2
!
Enable secret class
!
Line console 0
Password cisco
logging synchronous
Login
!
Line vty 0 15
Password cisco
Login
exit
!
Service password-encryption
!
Banner motd #Unauthorized Access is Prohibited!#
!
interface Vlan1
ip address 172.27.0.12 255.255.255.0
no shutdown
exit
!
ip default-gateway 172.27.0.2
!
interface FastEthernet0/1
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/2
switchport mode trunk
switchport trunk native vlan 1

!
interface FastEthernet0/3
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/4
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/18
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpduguard enable
!
Interface range f0/5-17,f0/19-24,g0/1-2
switchport mode access
switchport nonegotiate
shutdown
!
spanning-tree mode rapid-pvst
!


Configuration S3: 


Enable
Configure terminal
!
No ip domain-lookup
!
Hostname S2
!
Enable secret class
!
Line console 0
Password cisco
logging synchronous
Login
!
Line vty 0 15
Password cisco
Login
exit
!
Service password-encryption
!
Banner motd #Unauthorized Access is Prohibited!#
!
interface Vlan1
ip address 172.27.0.13 255.255.255.0
no shutdown
exit
!
ip default-gateway 172.27.0.2
!
interface FastEthernet0/1
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/2
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/3
switchport mode trunk
switchport trunk native vlan 1
channel-group 1 mode passive
!
interface FastEthernet0/4
switchport mode trunk
switchport trunk native vlan 1
channel-group 1 mode passive
!
interface FastEthernet0/5
switchport mode trunk
switchport trunk native vlan 1
!
interface Port-channel 1
switchport mode trunk
switchport trunk native vlan 1
!
interface FastEthernet0/18
switchport mode access
switchport nonegotiate
spanning-tree portfast
spanning-tree bpduguard enable
!
Interface range f0/6-17,f0/19-24,g0/1-2
switchport mode access
switchport nonegotiate
shutdown
exit
!
spanning-tree mode rapid-pvst
spanning-tree vlan 1 root secondary
!









END !~!

Nhận xét

Bài đăng phổ biến từ blog này

[CCNAv6 S4] 8.2.4.14 Packet Tracer - Troubleshooting Enterprise Networks 3

[CCNAv6 S2] 2.2.2.4 Packet Tracer - Configuring IPv4 Static and Default Routes

[CCNAv6 S2] 7.3.2.4 Packet Tracer - Troubleshooting Standard IPv4 ACLs