monitor session

monitor session

This command adds a mirrored port (source port) or probe port (destination port) to a session identified with the session ID of 1. In all released versions of SFTOS, the session is always 1.

Syntax

[no] monitor session 1 {destination interface unit/slot/port source interface

 

unit/slot/port mode}

 

 

 

 

 

 

Parameters

destination interface

Specify the probe port (target port). The probe port can be a VLAN

 

unit/slot/port

member only if you first add the port to a VLAN and then configure it

 

 

as a probe port.

 

source interface unit/ Specify the source interface (mirrored port). The port can be a part of

 

slot/port

any VLAN.

 

 

 

 

 

mode

Enable/disable the port mirroring session. See monitor session 1

 

 

mode on page 113.

 

 

 

 

To remove the destination port, use no monitor session 1 destination interface.

 

To remove a source port, use no monitor session 1 source interface unit/slot/port.

 

In other words, removing the source interface requires specifying the port to be removed, but

 

removing the destination port does not require specifying the destination port, since there can

 

be only one destination port.

 

 

Default

None

 

 

Mode

Global Config

 

 

Usage

Note the restrictions described above on using mirrored and probe ports in VLANs.

Information

Furthermore, if either port is in a VLAN, then the other port must also be in the same VLAN.

 

Remove an existing source or destination port before replacing it with another. For more on

 

configuring port monitoring (port mirroring), see the Port Mirroring chapter of the SFTOS

 

Configuration Guide.

 

 

Related

 

 

 

monitor session 1 mode

Sets the monitor session (port monitoring) mode to enabled.

Commands

 

 

 

no monitor

Removes the destination port and all source ports from the mirroring

 

 

 

configuration.

 

 

 

 

 

show monitor session

Shows the mirroring configuration.

 

 

 

 

112

System Configuration Commands

Page 112
Image 112
Force10 Networks S2410s manual Monitor session, Be only one destination port, Destination interface, Mode