0% found this document useful (0 votes)
135 views5 pages

TP Skills Assessment (OSPF) - Student Training Exam

The document outlines the configuration steps for three routers (R1, R2, R3) and three switches (S1, S2, S3) in a network. It includes commands for setting hostnames, IP addresses, enabling security features, configuring Spanning Tree Protocol (STP), Hot Standby Router Protocol (HSRP), and Open Shortest Path First (OSPF) routing. Additionally, it details the setup of an LACP EtherChannel between S1 and S3.

Uploaded by

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

TP Skills Assessment (OSPF) - Student Training Exam

The document outlines the configuration steps for three routers (R1, R2, R3) and three switches (S1, S2, S3) in a network. It includes commands for setting hostnames, IP addresses, enabling security features, configuring Spanning Tree Protocol (STP), Hot Standby Router Protocol (HSRP), and Open Shortest Path First (OSPF) routing. Additionally, it details the setup of an LACP EtherChannel between S1 and S3.

Uploaded by

wiam93277
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

enable

erase startup-config
reload
erase startup-config

partie 2

enable
conf t
no ip domain-lookup
hostname R1
enable secret class
line console 0
password cisco
login
line vty 0 4
password cisco
login
exit
service password-encryption
banner motd &Unauthrorized Access is Prophibited!&
int g0/1
description Connexion to S1
ip address 172.27.0.1 255.255.255.0
no shutdown
interface Serial0/0/0
description Connexion_S0/0/0
ip address 172.27.123.1 255.255.255.252
clock rate 128000
no shutdown
interface Loopback1
ip address 172.27.1.1 255.255.255.0
exit

enable
conf t
no ip domain-lookup
hostname R2
enable secret class
line console 0
password cisco
login
line vty 0 4
password cisco
login
exit
service password-encryption
banner motd )Unauthrorized Access is Prophibited!)
int s0/0/0
description Connexion to R1
ip address 172.27.123.2 255.255.255.252
no shutdown
interface Serial0/0/1
description Connexion to R3
ip address 172.27.123.5 255.255.255.252
clock rate 128000
no shutdown
interface Loopback0
ip address 209.165.200.255 255.255.255.248
description Simulated connection to Internet
exit

enable
conf t
no ip domain-lookup
hostname R3
enable secret class
line console 0
password cisco
login
line vty 0 4
password cisco
login
exit
service password-encryption
banner motd )Unauthrorized Access is Prophibited!)
int g0/1
description Connexion to S3
ip address 172.27.0.3 255.255.255.0
no shutdown
interface Serial0/0/1
description Connexion to R2
ip address 172.27.123.6 255.255.255.252
no shutdown
interface Loopback4
ip address 172.27.4.1 255.255.255.0
int lo5
ip address 172.27.5.1 255.255.255.0
int lo6
ip address 172.27.6.1 255.255.255.0

Configure S1:
enable
conf t
no ip domain-lookup
hostname S1
Enable secret class
line con 0
password cisco
login
line vty 0 4
password cisco
login
service password-encryption
banner motd )Unauthrorized Access is Prophibited!)
int vlan 1
ip address 172.27.0.11 255.255.255.0
exit
ip default-gateway 172.27.0.2
int range f0/1-4
switchport mode trunk
int range f0/7-24,g0/1-2
switchport mode access
switchport nonegotiate
shutdown

Configure S2.
enable
conf t
no ip domain-lookup
hostname S2
Enable secret class
line con 0
password cisco
login
line vty 0 4
password cisco
login
service password-encryption
banner motd )Unauthrorized Access is Prophibited!)
int vlan 1
ip address 172.27.0.12 255.255.255.0
exit
ip default-gateway 172.27.0.2
int range f0/1-4
switchport mode trunk
switchport trunk native vlan 1
int range f0/5-24,g0/1-2
switchport mode access
switchport nonegotiate
shutdown

Configure S3:

enable
conf t
no ip domain-lookup
hostname S3
Enable secret class
line con 0
password cisco
login
line vty 0 4
password cisco
login
service password-encryption
banner motd )Unauthrorized Access is Prophibited!)
int vlan 1
ip address 172.27.0.13 255.255.255.0
exit
ip default-gateway 172.27.0.2
int range f0/1-4
switchport mode trunk
switchport trunk native vlan 1
exit
int range f0/5-24,g0/1-2
switchport mode access
switchport nonegotiate
int range f0/5-17,f0/19-24, g0/1-2
shutdown

Part 3:
Step 1: Configure Spanning Tree on S1.

enable
conf t
spanning-tree mode rapid-pvst
spanning-tree vlan 1 root primary
int f0/6
spanning-tree portfast
spanning-tree bpduguard enable

Step 2: Configure Spanning Tree on S2.

enable
conf t
spanning-tree mode rapid-pvst
int f0/18
spanning-tree portfast
spanning-tree bpduguard enable

Step 3: Configure Spanning Tree on S3.

enable
conf t
spanning-tree mode rapid-pvst
spanning-tree vlan 1 root secondary
int f0/18
spanning-tree portfast
spanning-tree bpduguard enable

Step 4: Configure HSRP on R1.


enable
conf t
int g0/1
standby 1 ip 172.27.0.2
standby 1 priority 150
standby 1 preempt

Step 5: Configure HSRP on R3.

enable
conf t
int g0/1
standby 1 ip 172.27.0.2

Step 6: Configure an LACP EtherChannel between S1 and S3.

s1
enable
conf t
#int range f0/3-4
channel-group 1 mode active
exit
int range f0/3-4
channel-group 1 mode passive

partie 4:
Step 1: Configure OSPFv2 on R1
enable
conf t
router ospf 1
router-id 1.1.1.1
do show ip route connected
network 172.27.0.0 0.0.0.255 area 0
network 172.27.123.0.0 0.0.3 area 0
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
passive-interface lo1
passive-interface lo2
passive-interface lo3
area range 172.27.0.0 255.255.252.0
auto reference-bandwidch 1000
exit
int s0/0/0
bandwidth 128
ip ospf cost 7500
ip ospf authentication message-digest
#ip ospf message-digest-key 1 md5 Cisco

You might also like