182
4.9
Device Configuration Commands
CLI L2P
Release
7.0
05/2011
4.9.14 monitor session <session-id> source/
destination
This command allows you to configure and activate the port mirroring func-
tion of the switch. Port mirroring is when the data traffic of a source port is
copied to a specified destination port. The data traffic at the source port is not
influenced by port mirroring. A management tool connected at the specified
port, e.g., an RMON probe, can thus monitor the data traffic of the source
port.
This command can be called multiple times with different ports to add more
than one source port to the session.
It is possible to add/remove ports to/from an active session.
Note:
- The device supports a maximum of one session.
- The maximum number of source ports is 8.
- Ports configured as mirror source or destination ports have to be physical
ports.
Note: In active port mirroring, the specified destination port is used solely for
observation purposes.
Default
none
Format
monitor session <session-id> {source | destination}
interface <slot/port>
Mode
Global Config
session-id
Session number (currently, session number 1 is supported).
U no monitor session <session-id> source/destination
This command resets the monitor session (port monitoring) source/desti-
nation. The port will be removed from port mirroring
Format
no monitor session <session-id> {source | destina-
tion} interface