hit counter script

Example 4: Capture Sessions - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 56
Configuring Wireshark
9
20002
10
20002
11
20002
12
20002
13
20002
14
20002
15
20002
16
20002
Step 12
Stop the packet capture and display the buffer contents.
Switch# monitor capture mycap stop
Switch# show monitor capture mycap buffer brief
0.000000
1.000000
2.000000
3.000000
4.000000
5.000000
6.000000
7.000000
8.000000
9.000000
10.000000
11.000000
Clear the buffer and then try to display packets from the buffer.
Step 13
Switch# monitor capture mycap clear
Switch# show monitor capture mycap buffer brief
Delete the capture point.
Step 14
Switch# no monitor capture mycap

Example 4: Capture Sessions

The following examples show how to start or stop a capture session in various modes:
Switch# monitor capture mycap int gi 3/1 in match ipv4 any any
Switch# monitor capture mycap file location bootflash:mycap.pcap
Switch# monitor capture mycap limit packets 100 duration 60
Switch# monitor capture mycap start
Switch#
Switch# monitor capture mycap stop
Switch# monitor capture mycap start capture-filter "udp.port == 20001"
Switch# monitor capture mycap stop
Switch# monitor capture mycap start capture-filter "udp.port == 20001" display
A file by the same capture file name already exists, overwrite?[confirm]
0.000000
0.000000
OL-25340-01
8.000000
10.1.1.10 -> 20.1.1.2
9.000000
10.1.1.11 -> 20.1.1.2
10.000000
10.1.1.12 -> 20.1.1.2
11.000000
10.1.1.13 -> 20.1.1.2
12.000000
10.1.1.14 -> 20.1.1.2
13.000000
10.1.1.15 -> 20.1.1.2
14.000000
10.1.1.16 -> 20.1.1.2
15.000000
10.1.1.17 -> 20.1.1.2
10.1.1.2 -> 20.1.1.2
10.1.1.3 -> 20.1.1.2
10.1.1.4 -> 20.1.1.2
10.1.1.5 -> 20.1.1.2
10.1.1.6 -> 20.1.1.2
10.1.1.7 -> 20.1.1.2
10.1.1.8 -> 20.1.1.2
10.1.1.9 -> 20.1.1.2
10.1.1.10 -> 20.1.1.2
10.1.1.11 -> 20.1.1.2
10.1.1.12 -> 20.1.1.2
10.1.1.13 -> 20.1.1.2
10.1.1.9 -> 20.1.1.2
10.1.1.10 -> 20.1.1.2
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
UDP Source port: 20001
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Usage Examples for Wireshark
Destination port:
Destination port:
Destination port:
Destination port:
Destination port:
Destination port:
Destination port:
Destination port:
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
Destination port: 20002
56-23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents