<Huawei>system-view[Huawei]sysname SW1[SW1][SW1]display interface GigabitEthernet 0/0/9GigabitEthernet0/0/9 current state : UPLine protocol current state : UPDescription:Switch Port, Link-type : trunk(negotiated),PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9216IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is d0d0-4ba6-aab0Current system time: 2019-11-23 14:18:37Port Mode: COMMON COPPERSpeed : 1000, Loopback: NONEDuplex: FULL, Negotiation: ENABLEMdi : AUTO, Flow-control: DISABLELast 300 seconds input rate 256 bits/sec, 0 packets/secLast 300 seconds output rate 912 bits/sec, 0 packets/secInput peak rate 13976 bits/sec, Record time: 2019-11-22 14:59:12Output peak rate 13976 bits/sec, Record time: 2019-11-22 14:59:12……output omit……
?
???????
[SW1]display interface GigabitEthernet 0/0/10GigabitEthernet0/0/10 current state : UPLine protocol current state : UPDescription:Switch Port, Link-type : trunk(negotiated),PVID : 1, TPID : 8100(Hex), The Maximum Frame Length is 9216IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is d0d0-4ba6-aab0Current system time: 2019-11-23 14:22:22Port Mode: COMMON COPPERSpeed : 1000, Loopback: NONEDuplex: FULL, Negotiation: ENABLEMdi : AUTO, Flow-control: DISABLELast 300 seconds input rate 72 bits/sec, 0 packets/secLast 300 seconds output rate 1024 bits/sec, 0 packets/secInput peak rate 14032 bits/sec, Record time: 2019-11-22 14:59:12Output peak rate 14032 bits/sec, Record time: 2019-11-22 14:59:12……output omit……
?
步驟二?配置手動(dòng)模式的鏈路聚合
?
在SW1和SW2上創(chuàng)建Eth-Trunk 1,然后將G0/0/9和G0/0/10接口加入Eth-Trunk 1(注意:將接口加入Eth-Trunk前需確認(rèn)成員接口下沒有任何配置)。[SW1]interface Eth-Trunk 1[SW1-Eth-Trunk1]quit[SW1]interface GigabitEthernet 0/0/9[SW1-GigabitEthernet0/0/9]eth-trunk 1[SW1-GigabitEthernet0/0/9]quit[SW1]interface GigabitEthernet 0/0/10[SW1-GigabitEthernet0/0/10]eth-trunk 1[SW2]interface Eth-Trunk 1[SW2-Eth-Trunk1]quit[SW2]interface GigabitEthernet 0/0/9[SW2-GigabitEthernet0/0/9]eth-trunk 1[SW2-GigabitEthernet0/0/9]quit[SW2]interface GigabitEthernet 0/0/10[SW2-GigabitEthernet0/0/10]eth-trunk 1驗(yàn)證Eth-Trunk的配置結(jié)果。[SW1]display eth-trunk 1Eth-Trunk1's state information is:WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 ----------------------------------------------------------------------------PortName Status WeightGigabitEthernet0/0/9 Up 1 GigabitEthernet0/0/10 Up 1 [SW2]display eth-trunk 1Eth-Trunk1's state information is:WorkingMode: NORMAL Hash arithmetic: According to SIP-XOR-DIP Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 2 ----------------------------------------------------------------------------PortName Status WeightGigabitEthernet0/0/9 Up 1 GigabitEthernet0/0/10 Up 1
回顯信息中灰色陰影標(biāo)注的部分表明Eth-Trunk工作正常,成員接口都已正確加入。
在SW1上查看接口聚合后帶寬
?
[SW1]display interface Eth-Trunk 1Eth-Trunk1 current state : UPLine protocol current state : UPDescription:Switch Port, PVID : 1, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW: 2G, Current BW: 2G, The Maximum Frame Length is 9216IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc16-05acCurrent system time: 2020-03-15 15:33:56-08:00 Input bandwidth utilization : 0% Output bandwidth utilization : 0%-------------------------------------------------------------------PortName Status Weight-------------------------------------------------------------------GigabitEthernet0/0/9 UP 1GigabitEthernet0/0/10 UP 1-------------------------------------------------------------------The Number of Ports in Trunk : 2The Number of UP Ports in Trunk : 2
?
在SW2上查看接口聚合后帶寬
?
[SW2]display interface Eth-Trunk 1Eth-Trunk1 current state : UPLine protocol current state : UPDescription:Switch Port, PVID : 1, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW: 2G, Current BW: 2G, The Maximum Frame Length is 9216IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc78-50fbCurrent system time: 2020-03-15 15:35:33-08:00 Input bandwidth utilization : 0% Output bandwidth utilization : 0%-------------------------------------------------------------------PortName Status Weight-------------------------------------------------------------------GigabitEthernet0/0/9 UP 1GigabitEthernet0/0/10 UP 1-------------------------------------------------------------------The Number of Ports in Trunk : 2The Number of UP Ports in Trunk : 2