Hi team, here's a new guide.
Problem
When a Huawei switch is bound to a T series storage device, the switch configuration is incorrect.
As a result, the aggregation port fails.
Fault Symptom
The port bound to the storage device cannot be pinged.
Cause
The switch is incorrectly configured.
Procedure
1. Log in to the switch through the serial port or management network port and enter the system mode.
<huawei>system-view
Enter system view, return user view with Ctrl+Z.
[huawei]
2. Create an Eth-Trunk aggregation interface.
[huawei]interface Eth-Trunk 3
[huawei-Eth-Trunk3]
3. Set the LACP static mode and enable BPDU.
[huawei-Eth-Trunk3]mode lacp-static
[huawei-Eth-Trunk3]bpdu enable
4. Access the port to be aggregated and view the configuration of the port.
[huawei]int g 0/0/22
[huawei-GigabitEthernet0/0/22]disp this
#
interface GigabitEthernet0/0/22
port hybrid pvid vlan 4094
undo port hybrid vlan 1
port hybrid untagged vlan 2 to 300 4094
ntdp enable
ndp enable
bpdu enable
#
return
[huawei-GigabitEthernet0/0/22]
Note: You need to clear all configurations before adding an aggregation interface to the aggregation interface.
Otherwise, an error similar to the following is displayed:
Error: Port has been configed bpdu enable, please clear them first!
Error: The port has other configurations. Please clear them first.
Error: Please renew the default configurations.
After the BPDU function is enabled, run the bpdu disable command to disable it.
Run the undo ntdp enable and undo ndp enable commands to disable the NTDP and NDP functions, respectively.
Run the bpdu disable command to disable BPDU.
For hybrid ports:
Run the undo port hybrid vlan all command to cancel the VLAN configuration.
Run the port hybrid pvid vlan 1 command to set the PVID to the default VLAN 1.
Run the port hybrid untagged vlan 1 command to cancel the hybrid PVID VLAN.
For trunk interfaces:
Run the undo port trunk allow-pass vlan all command to cancel the VLAN configuration.
Run the port trunk pvid vlan 1 command to set the PVID to the default VLAN 1.
Run the port trunk allow-pass vlan 1 command to set the allowed VLAN to 1.
Run the undo port link-type command to disable the port type.
Check the configuration after clearing the configuration.
[huawei-GigabitEthernet0/0/21]disp this
#
interface GigabitEthernet0/0/21
undo ntdp enable
undo ndp enable
#
return
5. Add the aggregation interface.
[huawei-GigabitEthernet0/0/21]eth-trunk 3
6. Add other ports to the aggregation group using the same action.
7. Check the aggregation interface status. selete indicates that the negotiation is successful, and unselect indicates that the negotiation fails, and inactive.
[huawei]disp eth-trunk 3
Eth-Trunk3's state information is:
Local:
LAG ID: 3 WorkingMode: STATIC
Preempt Delay: Disabled Hash arithmetic: According to SA-XOR-DA
System Priority: 30000 System ID: 0046-4baf-552e
Least Active-linknumber: 1 Max Active-linknumber: 8
Operate status: down Number Of Up Port In Trunk: 0
--------------------------------------------------------------------------------
ActorPortName Status PortType PortPri PortNo PortKey PortState Weight
GigabitEthernet0/0/21 select 10M 32768 21 786 10100010 1
GigabitEthernet0/0/22 select 10M 32768 22 786 10100010 1
Partner:
--------------------------------------------------------------------------------
ActorPortName SysPri SystemID PortPri PortNo PortKey PortState
GigabitEthernet0/0/21 0 0000-0000-0000 0 0 0 10100011
GigabitEthernet0/0/22 0 0000-0000-0000 0 0 0 10100011