Starting the packet sniffing service

Last Updated : Apr 06, 2020 |

About this task

Use this procedure to enable the packet sniffing service.

You must apply a capture list using the capture filter-group command in order for the capture list to be active. If you do not use the capture filter-group command, the packet sniffing service captures all packets.

Note:

The capture start command resets the buffer before starting the sniffer.

Procedure

Once you have defined and applied the packet capture lists, use the capture start command in general context to instruct the packet sniffing service to start capturing packets.

Result

If packet sniffing has been enabled by the administrator, the following appears:

Gxxx-001(super)# capture start
Starting the packet sniffing process
Gxxx-001(super)#

If packet sniffing has not been enabled by the administrator, the following appears:

Gxxx-001(super)# capture start
Capture service is disable
To enable, use the `capture-service` command in supervisor mode.
Gxxx-001(super)#