Ruijie Community

Title: How to use wireshark to capture packets on the switch [Print this page]

Author: chenlin5@ruijie    Time: 2021-8-15 16:59
Title: How to use wireshark to capture packets on the switch
Requirement
Capture the packet between switch and radius server

1. Download and install Wireshark on a computer for packets capturing, and connect the computer to one of the devicer's port.
https://www.wireshark.org/
2. confgiure port mirror on switch, so that PC can capture the  packet  of the port gi 0/3.
Ruijie(config)#monitor session 1 source interface gigabitEthernet 0/3 both   ----you can change the port by ture
Ruijie(config)#monitor session 1 destination interface gigabitEthernet 0/1 switch
3. Run Wireshark (as administrator), double-click the network Interface connecting to the device

4. Then can see the packets and wait until you got the packet you need, then click the stop button.

5. Save the file.






Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2