monitor session destination interface
To start a destination interface (monitoring) of a port monitor session (mirroring), use the monitor session destination interface Global Configuration mode command.
To stop a destination interface of a port monitoring session, use the no form of this command.
Syntax
monitor session session-number destination interface interface-id [allow-ingress-packet]
no monitor session session-number destination interface interface-id
Parameters
session-number—The identifier for a port monitor session. (Range: 1 to 4)
interface-id—The destination interface ID. The interface must be an Ethernet interface.
allow-ingress-packet—(Optional) Enables ingress traffic forwarding for the destination interface.
Default Configuration
N/A
Command Mode
Global Configuration mode
User Guidelines
This command specifies the destination port for a monitor session. The following restrictions apply to the ports that are configured to be monitored ports:
-
The port cannot be source port.
-
The port is not a member in the port channel.
-
GVRP is not enabled on the port.
Example
The following example defines the destination port fa24 for the monitor session 1:
switchxxxxxx(config)# monitor session 1 destination interface gi24