Dit is een stapsgewijze gids voor Opdracht 1 en 2. Gebruik de gegeven documentatie (Bijlage 1) voor IP-adressen, VLAN's, accounts, etc. Login via SSH met username: admin, password: WELkom@1. Voor privileged mode: enable password WELkom@1.
Log in op elk device via SSH vanaf de laptop:
ssh admin@<IP-adres> (bijv. ssh [email protected] voor SW1)
Wachtwoord: WELkom@1
Ga naar privileged mode:
enable
Wachtwoord: WELkom@1
Voor elk device, vraag LLDP neighbors op:
show lldp neighbors
Of voor meer detail (inclusief Management IP-adressen):
show lldp neighbors detail
Dit geeft connected devices, interfaces en Management IP-adressen. Gebruik show lldp neighbors (zonder detail) voor de volledige IP-informatie.
Gebruik IP's uit documentatie:
Van LLDP: Noteer lokale interface, remote device, remote interface.
Om te checken of interface trunk of access is:
show interfaces switchport
Of specifiek:
show interfaces <interface> switchport
Zoek naar "Administrative Mode: dynamic auto" of "trunk" vs "access".
show interfaces statusof
show interfacesom speed te zien (bijv. 100Mbps, 1Gbps).
Voor elk item: Log in via SSH op genoemde apparaten, enable mode, run commands. Noteer tools (CLI via SSH), hoe uitgevoerd (command), resultaat (ja/nee), afwijking/advies.
| Controle Item | Apparaten | Tools | Hoe uitvoeren? | Verwachte Resultaat |
|---|---|---|---|---|
| Trunking staat aan alleen voor VLAN 20,21,22,23 & 30 | SW1-SW3 | CLI via SSH | show vlan briefCheck allowed VLANs op trunk ports. |
Alleen VLAN 20-23,30 allowed op trunks. |
| Telnet is uitgeschakeld | SW1-SW3 | CLI via SSH | show line vty 0 4Check of 'transport input ssh' (geen telnet). Probeer telnet vanaf laptop: telnet <IP> (moet falen). |
Geen telnet enabled op VTY lines. |
| Wachtwoorden zijn versleuteld opgeslagen | Main_L3, SW1-SW3, SW_Core, SW_back_01, Edge & Firewall | CLI via SSH | show running-configCheck 'service password-encryption'. Wachtwoorden moeten type 7 of 5 zijn (niet plaintext). |
service password-encryption aan, passwords encrypted. |
| Er kan alleen via SSH remote ingelogd worden | Main_L3, SW1-SW3, SW_Core, SW_back_01, Edge & Firewall | CLI via SSH | show ip ssh(SSH enabled). show running-config | include line vtyMoet 'transport input ssh' zijn. Test: SSH werkt, Telnet niet. |
SSH only, Telnet blocked. |
| Werkplek PC’s kunnen op Intranet webpagina | N.v.t. (Test vanaf PC) | PC browser in Packet Tracer | Sluit PC aan op access port (VLAN 20-23). Open web browser, ga naar HTTP server IP (10.10.0.100). Ping/test connectivity. | PC kan HTTP server bereiken (intranet pagina). |
| Privileged Exec (enable) mode is ingeschakeld | Main_L3, SW1-SW3, SW_Core, SW_back_01, Edge & Firewall | CLI via SSH | show running-config | include enableCheck 'enable secret' of 'enable password' aanwezig. |
Enable mode protected met password. |
| NTP Server is geconfigureerd | Main_L3, SW1-SW3, SW_Core, SW_back_01, Edge & Firewall | CLI via SSH | show ntp associationsOf show running-config | include ntpCheck NTP server IP (10.30.0.100). |
NTP configured naar 10.30.0.100. |
| Logging naar Syslog server is geconfigureerd | Main_L3, SW1-SW3, SW_Core, SW_back_01, Edge & Firewall | CLI via SSH | show loggingOf show logging hostCheck 'logging host 10.30.0.100'. |
Logging naar syslog 10.30.0.100. |
| Controleer IOS versie | Main_L3, SW1-SW3, SW_Core, SW_back_01, Edge & Firewall | CLI via SSH | show versionVergelijk met documentatie (bijv. SW1: 12.2(25r)). |
Matcht documentatie. |
Voor afwijkingen: Als iets niet matcht, noteer advies zoals "Configureer NTP met: ntp server 10.30.0.100".