Force10 Networks S2410s Switch User Manual


 
112 System Configuration Commands
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}
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
Information
Note the restrictions described above on using mirrored and probe ports in VLANs.
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.
Parameters
destination interface
unit/slot/port
Specify the probe port (target port). The probe port can be a VLAN
member only if you first add the port to a VLAN and then configure it
as a probe port.
source interface unit/
slot/port
Specify the source interface (mirrored port). The port can be a part of
any VLAN.
mode
Enable/disable the port mirroring session. See monitor session 1
mode on page 113.
Related
Commands
monitor session 1 mode Sets the monitor session (port monitoring) mode to enabled.
no monitor Removes the destination port and all source ports from the mirroring
configuration.
show monitor session Shows the mirroring configuration.