Algemene Cisco Commands Cheat Sheet – EP5 B1-K2 (Packet Tracer)

Versie: 2026 | Voor Cisco Packet Tracer 8.1+ | Focus: Configuratie, test & verificatie commando's voor netwerken

ELI5: Commando's zijn als knoppen op een afstandsbediening—config zet aan, test checkt of het werkt. Veel show & debug voor verificatie.

1. Basis Commando's

ELI5: Start hier voor device setup.


! Basis modes & setup
enable  // Privileged mode
configure terminal  // Global config
exit  // Terug
end  // Uit config
write memory  // Save (or copy run start)
reload  // Restart
    

Verwachte Output (show version)

Cisco IOS Software, Version 15.1(4)M4

2. Interface Commando's


interface GigabitEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 description LAN Interface
 no shutdown
exit
    

Verificatie (show ip interface brief)

GigabitEthernet0/0 192.168.1.1 YES manual up up

3. Switching & VLAN Commando's


vlan 10
 name Sales
exit
interface Fa0/1
 switchport mode access
 switchport access vlan 10
exit
interface Fa0/24
 switchport mode trunk
exit
    

Verificatie (show vlan brief)

10 Sales active Fa0/1

Meer Test: show interfaces trunk

Port Mode Encapsulation Status Native vlan Fa0/24 on 802.1q trunking 1

4. Routing Commando's


ip route 0.0.0.0 0.0.0.0 192.168.1.254  // Static default
router ospf 1
 network 192.168.1.0 255.255.255.0 area 0
exit
    

Verificatie (show ip route)

S* 0.0.0.0/0 [1/0] via 192.168.1.254 O 192.168.2.0/24 [110/2] via 192.168.1.2

Meer Test: show ip ospf neighbor

Neighbor ID Pri State Dead Time Address 192.168.1.2 1 FULL/DR 00:00:35 192.168.1.2

5. IP Services (DHCP, NAT)


ip dhcp pool POOL1
 network 192.168.1.0 255.255.255.0
 default-gateway 192.168.1.1
exit
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface Gig0/1 overload
interface Gig0/0
 ip nat outside
exit
interface Gig0/1
 ip nat inside
exit
    

Verificatie (show ip dhcp binding)

192.168.1.10 0100.e0ca.1234.56 Infinite Automatic

Meer Test: show ip nat translations

tcp 203.0.113.1:1024 192.168.1.10:1024 8.8.8.8:53 8.8.8.8:53

6. Security Commando's


access-list 101 permit tcp any any eq 80
interface Gig0/0
 ip access-group 101 in
exit
crypto key generate rsa modulus 1024
line vty 0 4
 transport input telnet
exit
    

Verificatie (show access-lists)

Extended IP access list 101 10 permit tcp any any eq www (10 matches)

Meer Test: show ip ssh

SSH Enabled - version 2.0

7. Meer Test/Verificatie Commando's

CommandoDoelVoorbeeld Output
ping [IP]ConnectivitySuccess rate 100%
traceroute [IP]Path1 192.168.1.1 1 ms
show loggingLogs%SYS-5-RESTART
debug ip allPacket debugIP: s=192.168.1.10 d=8.8.8.8
show arpARP table192.168.1.10 00e0.ca12.3456 ARPA
show processes cpuCPU usageCPU utilization 5%
show interfaces countersErrorsInput errors: 0
show cdp neighborsNeighborsDevice ID: Switch1 Port-ID: Fa0/1