1. Checking Whether the Physical Status of a Member Interface Is Working Properly
Run the display interface command to check whether the physical status of the member interface is Up.
<HUAWEI> display interface XGigabitEthernet1/0/5 XGigabitEthernet1/0/5 current state : UP ......
If the physical status of the member interface is not Up, rectify the fault according to Interconnected Optical Ports Cannot Go Up or Interconnected Electrical Interfaces Cannot Go Up .
2. Checking Whether Cable Connections at Both Ends Are Correct
Interfaces on both devices that are connected through link aggregation must correspond to each other. Do not establish cross connections or prevent member interfaces from connecting to different devices.
If the remote device supports LLDP, it is recommended that lldp enable be used on the local and remote devices to determine whether connections of interfaces at both ends are correct.
Run the display lldp neighbor brief command to check LLDP neighbor information. If the remote interface is connected incorrectly, connect the line to a correct interface.
<HUAWEI> display lldp neighbor briefLocal Intf Neighbor Dev Neighbor Intf Exptime(s) XGE1/0/5 S9300_1 XGE1/0/18 111
Parameter description:
Local Intf: indicates the local interface.
Neighbor Dev: indicates the name of the remote device.
Neighbor Intf: indicates the remote interface.
3. Checking Whether Both Ends Use the Same Working Mode
Run the display eth-trunk command to check the working mode of link aggregation. The local and remote ends must use the same working mode. Huawei switches support two working modes: manual load-balance and LACP.
<HUAWEI> display eth-trunk 11 Eth-Trunk11's state information is: Local:LAG ID: 11 WorkingMode: LACP Preempt Delay: Disabled Hash arithmetic: According to SIP-XOR-DIP System Priority: 32768 System ID: 5439-dfd4-b210 Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 1 -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight XGigabitEthernet1/0/5 Selected 10GE 32768 4 2881 10111100 1 Partner: -------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState XGigabitEthernet1/0/5 32768 e097-96c3-4112 16384 2 1 11111100
WorkingMode: NORMAL indicates that the Eth-Trunk works in manual load balancing mode, and LACP indicates that the Eth-Trunk works in LACP mode. The two ends must use the same working mode.
On a Cisco device, the link aggregation mode channel-group number mode on corresponds to manual load-balance and channel-group number mode active corresponds to LACP.
On an H3C device, link-aggregation mode manual corresponds to manual load-balance and link-aggregation mode dynamic corresponds to LACP.
4. Checking Whether the Upper and Lower Thresholds for the Number of Active Interfaces Are Correct
Run the display eth-trunk command to check whether the upper and lower thresholds for the number of active interfaces of an Eth-Trunk are set. If the number of Eth-Trunk member interfaces in Up state is lower than the lower threshold, the Eth-Trunk becomes Down.
It is recommended that the two ends use the same upper and lower thresholds for the number of active interfaces.
<HUAWEI> display eth-trunk 11 Eth-Trunk11's state information is: Local: LAG ID: 11 WorkingMode: LACP Preempt Delay: Disabled Hash arithmetic: According to SIP-XOR-DIP System Priority: 32768 System ID: 5439-dfd4-b210 Least Active-linknumber: 1 Max Active-linknumber: 8 Operate status: up Number Of Up Port In Trunk: 1 -------------------------------------------------------------------------------- ActorPortName Status PortType PortPri PortNo PortKey PortState Weight XGigabitEthernet1/0/5 Selected 10GE 32768 4 2881 10111100 1 Partner: -------------------------------------------------------------------------------- ActorPortName SysPri SystemID PortPri PortNo PortKey PortState XGigabitEthernet1/0/5 32768 e097-96c3-4112 16384 2 1 11111100
Least Active-linknumber: indicates the lower threshold for the number of active interfaces.
Number Of Up Port In Trunk: indicates the number of active interfaces.
An Eth-Trunk works normally when the value of Number Of Up Port In Trunk is larger than or equal to Least Active-linknumber.
5. Checking Whether LACPDUs Are Sent and Received Normally
If link aggregation works in LACP mode, check the numbers of received and sent LACPDUs on the local and remote interfaces. First run the reset lacp statistics eth-trunk command to clear statistics on LACPDUs on all member interfaces.
<Huawei> reset lacp statistics eth-trunk 11
Run the display lacp statistics eth-trunk command to check the numbers of received and sent LACPDUs. Run this command at an interval to check whether statistics increase.
<Huawei> display lacp statistics eth-trunk 11 Eth-Trunk11's PDU statistic is: ------------------------------------------------------------------------------ Port LacpRevPdu LacpSentPdu MarkerRevPdu MarkerSentPdu XGigabitEthernet1/0/5 1046184 31388577 0 0
If the value of LacpRevPdu does not increase, check whether the remote device sends LACPDUs.
If the value of LacpSentPdu does not increase, run the following command to check the cause why the local device does not send LACPDUs:
debugging trunk eth-trunk trunk-id lacp-pdu
debugging trunk eth-trunk trunk-id state-machine
<Huawei> terminal monitor <Huawei> terminal debuging <Huawei> debugging ethernet trunk 11 lacp-pdu <Huawei> debugging trunk eth-trunk 11 state-machine
Disable the debugging after information is collected.
<Huawei> undo terminal monitor <Huawei> undo terminal debuging <Huawei> undo debuging all
6. Collecting Information and Seeking Technical Support
If the fault persists, collect related information and seek technical support.
- Collecting Fault Information
Collect operation results of the preceding steps and record the results in a file.
Collect all diagnostic information and export the information to a file.
Run the display diagnostic-information file-name command in the user view to collect diagnostic information and save the information to a file.
<HUAWEI> display diagnostic-information dia-info.txt Now saving the diagnostic information to the device 100% Info: The diagnostic information was saved to the device successfully.
When the diagnostic file is generated, you can export the file from the device using FTP, SFTP, or SCP.
NOTICE:
You can run the dir command in the user view to check whether the file is generated.
You can also run the display diagnostic-information command and save terminal logs in a diagnostic file on a disk. For details, see Diagnostic File Obtaining Guide.
If this command displays a long output, press Ctrl+C to abort this command.
This command displays diagnostic information, which helps locate faults but may affect system performance. For example, CPU usage may become high. Therefore, do not use this command when the system is running properly.
Running the display diagnostic-information command simultaneously on multiple terminals connected to the device is prohibited. This is because CPU usage of the device may obviously increase and the device performance may be degraded.
Collect the log and trap information on the device and export the information to files.
Run the save logfile all command in the user view to save the logs in the user log buffer area and diagnostic log buffer area to the user log file and diagnostic log file, respectively.
<HUAWEI> save logfile all Info: Save logfile successfully. Info: Save diagnostic logfile successfully.
When the diagnostic file is generated, you can export the file from the device using FTP, SFTP, or SCP.
NOTE:
You can also run the display logbuffer and display trapbuffer commands to view the log and trap information on the device, and save the information in diagnostic files on a disk.
- Seek technical support.
Contactcsd@telecomate.comtoseektechnicalsupport.
NOTE:
Technical support personnel will provide instructions for you to submit all the collected information and files, so that they can locate faults.
Leave a comment