🔧 Huawei Switch ve Router ile GVRP, MUX VLAN, Voice VLAN Yapılandırması
📘 1. Router IP Adres Yapılandırmaları
[Huawei]sysname Router1
[Router1]interface g0/0/1
[Router1-GigabitEthernet0/0/1]ip address 10.0.10.1 24
[Huawei]sysname Router2
[Router2]interface g0/0/1
[Router2-GigabitEthernet0/0/1]ip address 10.0.10.2 24
[Huawei]sysname Router3
[Router3]interface g0/0/1
[Router3-GigabitEthernet0/0/1]ip address 10.0.10.3 24
[Huawei]sysname Router5
[Router5]interface g0/0/2
[Router5-GigabitEthernet0/0/2]ip address 10.0.10.5 24
📘 2. Switch Cihaz İsimlendirme
[Quidway]sysname Switch1
[Quidway]sysname Switch2
📘 3. GVRP Yapılandırması (Switch1 ve Switch2)
🌐 Trunk Port Ayarları
[Switch1]interface g0/0/9
port link-type trunk
port trunk allow-pass vlan all
[Switch2]interface g0/0/9
port link-type trunk
port trunk allow-pass vlan all
⚙️ GVRP Aktivasyonu
[Switch1]gvrp
[Switch1]interface g0/0/9
gvrp
gvrp registration normal
bpdu enable
[Switch2]gvrp
[Switch2]interface g0/0/9
gvrp
gvrp registration fixed
bpdu enable
🖥 GVRP Durum Kontrolü
[Switch1]display gvrp status
[Switch2]display gvrp status
[Switch1]display gvrp statistics
📘 4. VLAN Oluşturma
VLAN 10, 20, 100 (Switch2)
[Switch2]vlan batch 10 20 100
VLAN 30 (Switch1)
[Switch1]vlan 30
VLAN Kontrolü
[Switch1]display vlan
[Switch2]display vlan
📘 5. MUX VLAN Yapılandırması
MUX VLAN Tanımı
[Switch1]vlan 100
mux-vlan
subordinate group 10
subordinate separate 20
[Switch2]vlan 100
mux-vlan
subordinate group 10
subordinate separate 20
Port Atamaları
Switch2 – Principal Port (Router5 için):
[Switch2]interface g0/0/5
port link-type access
port default vlan 100
port mux-vlan enable
Switch1 – Group Ports (Router1 & Router2 için):
[Switch1]interface g0/0/1
port link-type access
port default vlan 10
port mux-vlan enable
[Switch1]interface g0/0/2
port link-type access
port default vlan 10
port mux-vlan enable
Switch1 & Switch2 – Separate Ports (Router3 & Router4 için):
[Switch1]interface g0/0/3
port link-type access
port default vlan 20
port mux-vlan enable
[Switch2]interface g0/0/4
port link-type access
port default vlan 20
port mux-vlan enable
MUX VLAN Bilgi Kontrolü
[Switch1]display mux-vlan
[Switch2]display mux-vlan
📘 6. Bağlantı Testleri
Router1 ICMP Testleri
[Router1]ping -c 1 10.0.10.2 ✅
[Router1]ping -c 1 10.0.10.3 ❌
[Router1]ping -c 1 10.0.10.4 ❌
[Router1]ping -c 1 10.0.10.5 ✅
Router3 ICMP Testleri
[Router3]ping -c 1 10.0.10.2 ❌
[Router3]ping -c 1 10.0.10.4 ❌
[Router3]ping -c 1 10.0.10.5 ✅
📘 7. Voice VLAN Yapılandırması
VLAN 30 & 200 Oluşturma
[Switch2]vlan batch 30 200
G0/0/24 Port Ayarları
[Switch2]interface g0/0/24
port hybrid pvid vlan 30
port hybrid untagged vlan 30
OUI Tanımı
[Switch2]voice-vlan mac-address 0011-2200-0000 mask ffff-ff00-0000
Voice VLAN Aktivasyonu
[Switch2]interface g0/0/24
voice-vlan 200 enable
voice-vlan mode auto
voice-vlan security enable
Bilgi Kontrolleri
[Switch2]display voice-vlan oui
[Switch2]display voice-vlan 200 status
✅ Final Yapılandırma Çıktıları
Switch1:
display current-configuration
! VLANs: 10, 20, 30, 100
! MUX VLAN: 100 (Group: 10, Separate: 20)
! GVRP enabled on g0/0/9 (normal)
Switch2:
display current-configuration
! VLANs: 10, 20, 30, 100, 200
! MUX VLAN: 100
! Voice VLAN: 200 on g0/0/24
! GVRP enabled on g0/0/9 (fixed)
! OUI: 0011-2200-0000
Cem Kemal Erbaş sitesinden daha fazla şey keşfedin
Subscribe to get the latest posts sent to your email.
Cem Kemal Erbaş Network, Siber Güvenlik ve Teknik Rehberler