capture-service

Last Updated : Nov 06, 2012 |

Used to enable the packet sniffing service. Use the no form of the command to disable the packet sniffing service. By disabling the service, the administrator can prevent users with read-write access from starting packet sniffing.

Note:

This command can only be executed by an admin user connected through the Services port.

Syntax

[no] capture-service

User level

admin

Context

general

Examples

To enable packet sniffing:

Gxxx-001(super)# capture-service
Packet sniffing service enabled

To disable packet sniffing:

Gxxx-001(super)# no capture-service
Packet sniffing service disabled