One of the last steps in troubleshooting is recording and analyzing using an analyzer (e.g. Wireshark). This article describes the port mirroring feature which is called observing port by Huawei. This solution needs physiscal access to the switch to connect the analyzer.
For a quick analysis without physical access to the switch, the CLI packet capture feature can also be used. The following solution is very suitable for larger or long-term recordings. In this example, the analyzer is connected to port GigabitEthernet0/0/2 and all traffic (inbound/outbound) from port GigabitEthernet0/0/1 is mirrored to it.
1. |
Configure an observing port where the packet analyzer is connected (e.g. Wireshark)
|
2. |
Configure port to be mirrored (inbound and outbound)
|
3. |
Check the configuration of observe port
|
4. |
Check the configuration of mirrored port
|