59-24
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
OL_28731-01
Chapter 59 Configuring Wireshark
Usage Examples for Wireshark
2 1.000000 10.1.1.3 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
3 2.000000 10.1.1.4 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
4 3.000000 10.1.1.5 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
5 4.000000 10.1.1.6 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
6 5.000000 10.1.1.7 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
7 6.000000 10.1.1.8 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
8 7.000000 10.1.1.9 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
9 8.000000 10.1.1.10 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
10 9.000000 10.1.1.11 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
11 10.000000 10.1.1.12 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
12 11.000000 10.1.1.13 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
13 12.000000 10.1.1.14 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
14 13.000000 10.1.1.15 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
15 14.000000 10.1.1.16 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
16 15.000000 10.1.1.17 -> 20.1.1.2 UDP Source port: 20001 Destination port:
20002
Step 12 Stop the packet capture and display the buffer contents by entering:
Switch# monitor capture mycap stop
Switch# show monitor capture mycap buffer brief
0.000000 10.1.1.2 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
1.000000 10.1.1.3 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
2.000000 10.1.1.4 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
3.000000 10.1.1.5 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
4.000000 10.1.1.6 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
5.000000 10.1.1.7 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
6.000000 10.1.1.8 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
7.000000 10.1.1.9 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
8.000000 10.1.1.10 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
9.000000 10.1.1.11 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
10.000000 10.1.1.12 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
11.000000 10.1.1.13 -> 20.1.1.2 UDP Source port: 20001 Destination port: 20002
Step 13 Clear the buffer and then try to display packets from the buffer by entering:
Switch# monitor capture mycap clear
Switch# show monitor capture mycap buffer brief
Step 14 Delete the capture point by entering:
Switch# no monitor capture mycap
Example: Capture Sessions
The following examples shows how to start or stop a capture session in various modes: