Command Reference
Referensi lengkap perintah jaringan untuk Cisco CLI, Windows, dan Linux. Gunakan sebagai panduan praktikum dan troubleshooting jaringan.
Cisco IOS Commands
Basic Configuration
| Command | Description |
|---|---|
enable
|
Masuk ke mode privileged EXEC |
configure terminal
|
Masuk ke mode global configuration |
hostname Router1
|
Mengatur hostname perangkat |
enable secret password123
|
Mengatur enable secret password |
Interface Configuration
| Command | Description |
|---|---|
interface gigabitethernet0/0
|
Masuk ke konfigurasi interface |
ip address 192.168.1.1 255.255.255.0
|
Mengatur IP address interface |
no shutdown
|
Mengaktifkan interface |
description LAN Connection
|
Menambahkan deskripsi interface |
Switch Commands
| Command | Description |
|---|---|
vlan 10
|
Membuat VLAN 10 |
name SALES
|
Memberi nama VLAN |
switchport mode access
|
Mengatur port sebagai access mode |
switchport access vlan 10
|
Menugaskan port ke VLAN 10 |
Routing Commands
| Command | Description |
|---|---|
ip route 0.0.0.0 0.0.0.0 192.168.1.254
|
Static default route |
router ospf 1
|
Konfigurasi OSPF process |
network 192.168.1.0 0.0.0.255 area 0
|
OSPF network statement |
Windows Network Commands
IP Configuration
| Command | Description |
|---|---|
ipconfig
|
Menampilkan IP configuration |
ipconfig /all
|
Detail IP configuration |
ipconfig /release
|
Melepaskan IP address |
ipconfig /renew
|
Memperbarui IP address |
Diagnostic Tools
| Command | Description |
|---|---|
ping google.com
|
Test koneksi ke host |
tracert google.com
|
Trace route ke destination |
nslookup google.com
|
DNS lookup query |
netstat -an
|
Menampilkan network connections |
Linux Network Commands
Network Configuration
| Command | Description |
|---|---|
ifconfig
|
Menampilkan network interfaces |
ip addr show
|
Modern IP address display |
ip route show
|
Menampilkan routing table |
systemctl restart networking
|
Restart network service |
Diagnostic Tools
| Command | Description |
|---|---|
ping google.com
|
Test koneksi network |
traceroute google.com
|
Trace network path |
dig google.com
|
DNS lookup utility |
netstat -tulpn
|
Menampilkan network statistics |
Tips & Best Practices
Shortcut Keys
Tab - Auto-complete commands
Ctrl+A - Move to line start
Ctrl+E - Move to line end
Ctrl+U - Clear line
Troubleshooting Flow
1. Check physical connections
2. Verify IP configuration
3. Test local connectivity
4. Check DNS resolution
5. Verify routing
Useful Shortcuts
show running-config - Current config
show interfaces - Interface status
show ip route - Routing table
show vlan brief - VLAN information