İsim Verme ve Interface Durumları


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.

                                                  image1.png

1.Temel Ethernet switch konfigürasyonu.
Cihazlara isimlerini verelim ve  G0/0/9 ve G0/0/10 interfaceleri inceleyelim.
 <Quidway>system-view
Enter system view, return user view with Ctrl+Z.
[Quidway]sysname CLIGURU-S1
[CLIGURU-S1]display interface GigabitEthernet 0/0/9
GigabitEthernet0/0/9 current state : UP
Line protocol current state : UP
Description:HUAWEI, Quidway Series, GigabitEthernet0/0/9 Interface
Switch Port,PVID :   1,The Maximum Frame Length is 1600
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 80fb-06e8-d3c0
Port Mode: COMMON COPPER
Speed : 1000, Loopback: NONE
Duplex: FULL, Negotiation: ENABLE
Mdi   : AUTO
Last 300 seconds input rate 0 bits/sec, 0 packets/sec
Last 300 seconds output rate 0 bits/sec, 0 packets/sec
Input peak rate 0 bits/sec,Record time: –
Output peak rate 0 bits/sec,Record time: –
Input: 0 packets, 0 bytes
Unicast       :                   0,Multicast         :                   0
Broadcast     :                   0,Jumbo             :                   0
CRC           :                   0,Giants             :                   0
Jabbers       :                  0,Throttles         :                   0
Runts         :                   0,DropEvents         :                   0
Alignments     :                   0,Symbols           :                   0
Ignoreds       :                   0,Frames            :                   0
Discard       :                   0,Total Error       :                   0
Output: 0 packets, 0 bytes
Unicast       :                   0,Multicast         :                   0
Broadcast     :                   0,Jumbo             :                   0
Collisions     :                   0,Deferreds         :                   0
Late Collisions:                   0,ExcessiveCollisions:                   0
Buffers Purged :                   0
Discard       :                  0,Total Error       :                   0
Input 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/10
GigabitEthernet0/0/10 current state : UP
Line protocol current state : UP
Description:HUAWEI, Quidway Series, GigabitEthernet0/0/10 Interface
Switch Port,PVID :   1,The Maximum Frame Length is 1600
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 80fb-06e8-d3c0
Port Mode: COMMON COPPER
Speed : 1000, Loopback: NONE
Duplex: FULL, Negotiation: ENABLE
Mdi   : AUTO
input rate 0 bits/sec, 0 packets/sec
Last 300 Last 300 seconds seconds output rate 0 bits/sec, 0 packets/sec
Input peak rate 0 bits/sec,Record time: –
Output peak rate 0 bits/sec,Record time: –
Input: 0 packets, 0 bytes
Unicast       :                   0,Multicast         :                   0
Broadcast     :                   0,Jumbo            :                   0
CRC           :                   0,Giants             :                   0
Jabbers       :                   0,Throttles         :                   0
Runts         :                   0,DropEvents         :                   0
Alignments     :                   0,Symbols           :                   0
Ignoreds       :                   0,Frames             :                   0
Discard       :                   0,Total Error       :                   0
Output: 0 packets, 0 bytes
Unicast       :                   0,Multicast         :                   0
Broadcast     :                   0,Jumbo             :                   0
Collisions     :                   0,Deferreds         :                   0
Late Collisions:                   0,ExcessiveCollisions:                   0
Buffers Purged :                   0
Discard       :                   0,Total Error       :                   0
Input 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-view
Enter 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/10
GigabitEthernet0/0/10 current state : UP
Line protocol current state : UP
Description:HUAWEI, Quidway Series, GigabitEthernet0/0/10 Interface
Switch Port,PVID :   1,The Maximum Frame Length is 1600
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 80fb-06e8-d3c0
Port Mode: COMMON COPPER
Speed : 100, Loopback: NONE
Duplex: FULL, Negotiation: DISABLE
Mdi   : AUTO