capture interface

Last Updated : Oct 26, 2015 |
Specifies the interface on which to run the packet sniffing service. Use the no form of the command to run packet sniffing on all routing interfaces.
Prolog information

Syntax

capture interface interface_name
no capture interface

Parameters

Parameter
Description
Possible Values
Default Value
interface_name
The name of the interface on which to run packet sniffing. If the interface name contains spaces, it must be enclosed in quotes.

User level

read-write

Context

general

Example

To specify that the packet sniffing service run on interface FastEthernet 10/3:
Gxxx-001(super)# capture interface FastEthernet 10/3