Bu bölümde cihazlara isim vermeyi , interface durumları görüntülemeyi, interfaceler’in hızını ve duplex mode ayarmalarını yapacağız.
1.Temel Ethernet switch konfigürasyonu.
Cihazlara isimlerini verelim ve G0/0/9 ve G0/0/10 interfaceleri inceleyelim.
<Quidway>system-viewEnter system view, return user view with Ctrl+Z.[Quidway]sysname CLIGURU-S1 |
[CLIGURU-S1]display interface GigabitEthernet 0/0/9GigabitEthernet0/0/9 current state : UPLine protocol current state : UPDescription:HUAWEI, Quidway Series, GigabitEthernet0/0/9 InterfaceSwitch Port,PVID : 1,The Maximum Frame Length is 1600IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 80fb-06e8-d3c0Port Mode: COMMON COPPERSpeed : 1000, Loopback: NONEDuplex: FULL, Negotiation: ENABLEMdi : AUTOLast 300 seconds input rate 0 bits/sec, 0 packets/secLast 300 seconds output rate 0 bits/sec, 0 packets/secInput peak rate 0 bits/sec,Record time: –Output peak rate 0 bits/sec,Record time: –Input: 0 packets, 0 bytesUnicast : 0,Multicast : 0Broadcast : 0,Jumbo : 0CRC : 0,Giants : 0Jabbers : 0,Throttles : 0Runts : 0,DropEvents : 0Alignments : 0,Symbols : 0Ignoreds : 0,Frames : 0Discard : 0,Total Error : 0Output: 0 packets, 0 bytesUnicast : 0,Multicast : 0Broadcast : 0,Jumbo : 0Collisions : 0,Deferreds : 0Late Collisions: 0,ExcessiveCollisions: 0Buffers Purged : 0Discard : 0,Total Error : 0Input bandwidth utilization threshold : 100.00%Output bandwidth utilization threshold: 100.00%Input bandwidth utilization : 0.00%Output bandwidth utilization : 0.00% |
[CLIGURU-S1]display interface GigabitEthernet 0/0/10GigabitEthernet0/0/10 current state : UPLine protocol current state : UPDescription:HUAWEI, Quidway Series, GigabitEthernet0/0/10 InterfaceSwitch Port,PVID : 1,The Maximum Frame Length is 1600IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 80fb-06e8-d3c0Port Mode: COMMON COPPERSpeed : 1000, Loopback: NONEDuplex: FULL, Negotiation: ENABLEMdi : AUTOinput rate 0 bits/sec, 0 packets/secLast 300 Last 300 seconds seconds output rate 0 bits/sec, 0 packets/secInput peak rate 0 bits/sec,Record time: –Output peak rate 0 bits/sec,Record time: –Input: 0 packets, 0 bytesUnicast : 0,Multicast : 0Broadcast : 0,Jumbo : 0CRC : 0,Giants : 0Jabbers : 0,Throttles : 0Runts : 0,DropEvents : 0Alignments : 0,Symbols : 0Ignoreds : 0,Frames : 0Discard : 0,Total Error : 0Output: 0 packets, 0 bytesUnicast : 0,Multicast : 0Broadcast : 0,Jumbo : 0Collisions : 0,Deferreds : 0Late Collisions: 0,ExcessiveCollisions: 0Buffers Purged : 0Discard : 0,Total Error : 0Input bandwidth utilization threshold : 100.00%Output bandwidth utilization threshold: 100.00%Input bandwidth utilization : 0.00%Output bandwidth utilization : 0.00% |
Huawei switchlerde auto-negotiation aktif olarak gelir. CLIGURU-S1 ve CLIGURU-S2 cihazlarında G0/0/9 ve G0/0/10 portlarını manuel olarak hız ve duplex durumlarını ayarlayalım.
CLIGURU-S1 ‘de G0/0/9 ve G0/0/10 portlarını 100 Mbit/s ve full duplex modda çalışması için gerekli ayarları yapalım. İnterface’nin hızını ve duplex modunu değiştirmeden önde auto-negotiation’u kapatalım. Auto-negotiation açıkken port durumunu bağlı olduğu interface’e göre otomatik olarak ayarlayacaktır, açıkken bu ayarları manuel olarak giremeyiz.
[CLIGURU-S1]interface GigabitEthernet 0/0/9[CLIGURU-S1-GigabitEthernet0/0/9]undo negotiation auto[CLIGURU-S1-GigabitEthernet0/0/9]speed 100[CLIGURU-S1-GigabitEthernet0/0/9]duplex full[CLIGURU-S1-GigabitEthernet0/0/9]quit[CLIGURU-S1]interface GigabitEthernet 0/0/10[CLIGURU-S1-GigabitEthernet0/0/10]undo negotiation auto[CLIGURU-S1-GigabitEthernet0/0/10]speed 100[CLIGURU-S1-GigabitEthernet0/0/10]duplex full |
CLIGURU-S2 için de G0/0/9 ve G0/0/10 portlarını 100 Mbit/s ve full duplex modda çalışması için ayarlayalım.
<Quidway>system-viewEnter system view, return user view with Ctrl+Z.[Quidway]sysname CLIGURU-S2[CLIGURU-S2]interface GigabitEthernet 0/0/9[CLIGURU-S2-GigabitEthernet0/0/9]undo negotiation auto[CLIGURU-S2-GigabitEthernet0/0/9]speed 100[CLIGURU-S2-GigabitEthernet0/0/9]duplex full[CLIGURU-S2-GigabitEthernet0/0/9]quit[CLIGURU-S2]interface GigabitEthernet 0/0/10[CLIGURU-S2-GigabitEthernet0/0/10]undo negotiation auto[CLIGURU-S2-GigabitEthernet0/0/10]speed 100[CLIGURU-S2-GigabitEthernet0/0/10]duplex full |
CLIGURU-S1’in G0/0/9 ve G0/0/10 portlarının rate ve duplex modları olarak ayarladık, şimdi kontrol edelim.
[CLIGURU-S1]display interface GigabitEthernet 0/0/10GigabitEthernet0/0/10 current state : UPLine protocol current state : UPDescription:HUAWEI, Quidway Series, GigabitEthernet0/0/10 InterfaceSwitch Port,PVID : 1,The Maximum Frame Length is 1600IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 80fb-06e8-d3c0Port Mode: COMMON COPPERSpeed : 100, Loopback: NONEDuplex: FULL, Negotiation: DISABLEMdi : AUTO |