Cisco ve Huawei En Çok Kullanılan Komutlar Rehberi
CISCO KOMUTLARI
Temel Navigasyon ve Görüntüleme
enable # Privileged EXEC mode'a geçiş
configure terminal # Global configuration mode
show version # Sistem versiyonu ve donanım bilgileri
show running-config # Çalışan konfigürasyon
show startup-config # Başlangıç konfigürasyonu
show ip route # Routing tablosu
show ip interface brief # Interface özeti
show interfaces # Tüm interface detayları
show mac address-table # MAC adres tablosu
show arp # ARP tablosu
Konfigürasyon Yönetimi
copy running-config startup-config # Konfigürasyonu kaydetme
write memory # Konfigürasyonu kaydetme (kısa yol)
erase startup-config # Başlangıç konfigürasyonunu silme
reload # Cihazı yeniden başlatma
no shutdown # Interface'i aktif etme
shutdown # Interface'i devre dışı bırakma
Interface Konfigürasyonu
interface fastethernet 0/1 # Interface'e girme
ip address 192.168.1.1 255.255.255.0 # IP adresi atama
duplex full # Full duplex ayarlama
speed 100 # Port hızını ayarlama
switchport mode access # Access port olarak ayarlama
switchport access vlan 10 # VLAN ataması
VLAN İşlemleri
vlan 10 # VLAN oluşturma
name Sales # VLAN ismi verme
show vlan brief # VLAN özeti
switchport trunk allowed vlan all # Trunk port VLAN izni
Routing Komutları
ip route 0.0.0.0 0.0.0.0 192.168.1.1 # Default route
router ospf 1 # OSPF routing protokolü
network 192.168.1.0 0.0.0.255 area 0 # OSPF network tanımlama
show ip protocols # Routing protokol bilgileri
HUAWEI KOMUTLARI
Temel Navigasyon ve Görüntüleme
system-view # Sistem görünümüne geçiş
display version # Sistem versiyonu
display current-configuration # Mevcut konfigürasyon
display saved-configuration # Kaydedilmiş konfigürasyon
display ip routing-table # Routing tablosu
display interface brief # Interface özeti
display interface # Tüm interface detayları
display mac-address # MAC adres tablosu
display arp # ARP tablosu
quit # Bir seviye geri çıkış
Konfigürasyon Yönetimi
save # Konfigürasyonu kaydetme
reset saved-configuration # Kaydedilmiş konfigürasyonu sıfırlama
reboot # Cihazı yeniden başlatma
undo shutdown # Interface'i aktif etme
shutdown # Interface'i devre dışı bırakma
Interface Konfigürasyonu
interface gigabitethernet 0/0/1 # Interface'e girme
ip address 192.168.1.1 24 # IP adresi atama (/24 subnet)
duplex full # Full duplex ayarlama
speed 1000 # Port hızını ayarlama
port link-type access # Access port olarak ayarlama
port default vlan 10 # Default VLAN ataması
VLAN İşlemleri
vlan 10 # VLAN oluşturma
description Sales # VLAN açıklaması
display vlan # VLAN bilgilerini görüntüleme
port link-type trunk # Trunk port yapılandırması
port trunk allow-pass vlan all # Trunk port VLAN izni
Routing Komutları
ip route-static 0.0.0.0 0 192.168.1.1 # Static default route
ospf 1 # OSPF process başlatma
area 0.0.0.0 # OSPF area tanımlama
network 192.168.1.0 0.0.0.255 # OSPF network tanımlama
display ospf routing # OSPF routing tablosu
Güvenlik ve Yönetim
# CISCO
username admin privilege 15 secret password123
enable secret password123
line console 0
login local
line vty 0 4
login local
transport input ssh
# HUAWEI
local-user admin
password cipher password123
privilege level 15
service-type ssh telnet terminal
user-interface console 0
authentication-mode password
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
ORTAK KULLANIM İPUÇLARI
Cisco ve Huawei Farkları
| İşlem | Cisco | Huawei |
|---|---|---|
| Sistem görünümü | configure terminal | system-view |
| Konfigürasyonu görme | show running-config | display current-configuration |
| Kaydetme | copy run start | save |
| Interface aktif | no shutdown | undo shutdown |
| IP atama | ip address | ip address |
| Çıkış | exit | quit |
Hızlı Komutlar
# Tab tuşu - Komut tamamlama (her ikisinde)
# ? - Yardım (her ikisinde)
# Ctrl+C - İptal (her ikisinde)
# Up/Down arrow - Komut geçmişi (her ikisinde)
Sorun Giderme Komutları
# CISCO
show ip interface brief
show mac address-table
show spanning-tree
show cdp neighbors
ping 192.168.1.1
traceroute 192.168.1.1
# HUAWEI
display interface brief
display mac-address
display stp brief
display lldp neighbor
ping 192.168.1.1
tracert 192.168.1.1
Bu komutlar günlük ağ yönetimi işlemlerinin %90’ını kapsar ve her ağ yöneticisinin mutlaka bilmesi gereken temel komutlardır.



Yorum gönder