SRWE Practice PT Skills Assessment PTSA - Part 1 - 2023

 SRWE Practice PT Skills Assessment PTSA - Part 1 - 2023

👨‍💻

 in a previous exercise he had already done it.


 --------------------------------------------------------------
KASPER TECHNOLOGY
--------------------------------------------------------------

Router Edge-Router:

enable
configure terminal
ip route 172.31.10.0 255.255.255.0 GigabitEthernet0/0/0
ip route 172.31.20.0 255.255.255.0 GigabitEthernet0/0/0
ip route 172.31.30.0 255.255.255.0 GigabitEthernet0/0/0
ip route 172.31.99.0 255.255.255.240 GigabitEthernet0/0/0
no ip domain lookup
enable secret class
line console 0
password cisco
login
exit
line vty 0 4
password cisco
login
exit
banner motd "Authorized Access Only"
hostname Edge-Router
service password-encryption
interface g0/0/0
ip address 172.31.0.1 255.255.255.0
no shutdown
description "R1 G0/0/0"
exit
interface s0/1/0
ip address 209.165.201.2 255.255.255.252
no shutdown
description "R1 S0/1/0"
exit
interface g0/0/1
no shutdown
interface g0/0/1.40
description "Gateway for VLAN40"
encapsulation dot1q 40
ip address 172.31.40.1 255.255.255.0
exit
interface g0/0/1.50
description "Gateway for VLAN50"
encapsulation dot1q 50
ip address 172.31.50.1 255.255.255.0
exit
interface g0/0/1.60
description "Gateway for VLAN60"
encapsulation dot1q 60
ip address 172.31.60.1 255.255.255.0
exit
interface g0/0/1.99
description "Gateway for VLAN99"
encapsulation dot1q 99 native
ip address 172.31.99.17 255.255.255.240
end
copy running-config startup-config

-------------------------------------------------------
Switch Sw-C
-------------------------------------------------------

enable
configure terminal
interface vlan 99
ip address 172.31.99.16 255.255.255.240
no shutdown
exit
ip default-gateway 172.31.99.15
ip domain-name acad.pt
crypto key generate rsa

1024

username admin privilege 15 secret C1sco123!
enable secret C1sco123!
line vty 0 15
transport input ssh
login local
exit
ip ssh version 2
vlan 40
name BDG4
exit
interface vlan 40
ip address 172.31.40.0 255.255.255.0
description BDG4
exit
vlan 50
name BDG5
exit
interface vlan 50
ip address 172.31.50.0 255.255.255.0
description BDG5
exit
vlan 60
name BDG6
exit
interface vlan 60
ip address 172.31.60.0 255.255.255.0
description BDG6
exit
vlan 99
name Management
exit
interface vlan 99
ip address 172.31.99.16 255.255.255.240
description Management
exit
interface range f0/1-5
switchport mode access
switchport access vlan 40
exit
interface range f0/6-10
switchport mode access
switchport access vlan 50
exit
interface range f0/11-15
switchport mode access
switchport access vlan 60
exit
interface f0/24
switchport mode access
switchport access vlan 99
exit
interface g0/1
switchport mode trunk
switchport nonegotiate
switchport trunk allowed vlan 40,50,60,99
switchport trunk native vlan 99
end
copy running-config startup-config

--------------------------------------------------
Switch L3-SW1
--------------------------------------------------

enable
configure terminal
vlan 10
name FL1
interface vlan 10
description FL1
ip address 172.31.10.0 255.255.255.0
exit
vlan 20
name FL2
interface vlan 20
description FL2
ip address 172.31.20.0 255.255.255.0
exit
vlan 30
name FL3
interface vlan 30
description FL3
ip address 172.31.30.0 255.255.255.0
exit
vlan 99
name Management
interface vlan 99
description Management
ip address 172.31.99.16 255.255.255.240
exit
ip routing
interface g1/1/1
no switchport
ip address 172.31.0.2 255.255.255.0
exit
interface range g1/0/1-2
channel-group 1 mode active
exit
interface port-channel 1
switchport mode trunk
switchport trunk allowed vlan 10,20,30
exit
interface range g1/0/3-4
channel-group 2 mode active
exit
interface port-channel 2
switchport mode trunk
switchport trunk allowed vlan 10,20,30
end
copy running-config startup-config

------------------------------------------------
Switch Sw-A
------------------------------------------------

enable
config terminal
vlan 10
name FL1
interface vlan 10
description FL1
exit
vlan 20
name FL2
interface vlan 20
description FL2
exit
vlan 30
name FL3
interface vlan 30
description FL3
exit
interface range f0/7-10
switchport mode access
switchport access vlan 10
exit
interface range f0/11-15
switchport mode access
switchport access vlan 20
exit
interface range f0/16-24
switchport mode access
switchport access vlan 30
exit
interface range g0/1-2
channel-group 1 mode active
exit
interface port-channel 1
switchport mode trunk
switchport nonegotiate
exit
interface range f0/5-6
channel-group 3 mode active
exit
interface port-channel 3
switchport mode trunk
switchport nonegotiate
end
copy running-config startup-config

--------------------------------------------
Switch Sw-B
--------------------------------------------

en
config t
vlan 10
name FL1
interface vlan 10
description FL1
exit
vlan 20
name FL2
interface vlan 20
description FL2
exit
vlan 30
name FL3
interface vlan 30
description FL3
exit
interface range f0/7-10
switchport mode access
switchport access vlan 10
exit
interface range f0/11-15
switchport mode access
switchport access vlan 20
exit
interface range f0/16-24
switchport mode access
switchport access vlan 30
exit
interface range g0/1-2
channel-group 2 mode active
exit
interface port-channel 2
switchport mode trunk
switchport nonegotiate
exit
interface range f0/5-6
channel-group 3 mode active
exit
interface port-channel 3
switchport mode trunk
switchport nonegotiate
end
copy running-config startup-config

-------------------------------------------
Configure default gateway addresses
on all hosts on the LANs
-------------------------------------------

Default gateway on WS-1.1 and WS-1.4: 172.31.10.1
Default gateway on WS-1.2 and WS-1.5: 172.31.20.1
Default gateway on WS-1.3 and WS-1.6: 172.31.30.1

Default gateway on WS-2.1: 172.31.40.1
Default gateway on WS-2.2: 172.31.50.1
Default gateway on WS-2.3: 172.31.60.1

Default gateway on Management PC: 172.31.99.17

-------------------------------------------
subscribe :)
-------------------------------------------

👨‍💻 subscribe @kaspertechnology    🫳

 

No hay comentarios:

Publicar un comentario