Switching Commands
101
ProSAFE M7100 Managed Switches
Using the following options, you can specify a specific source for the session.
monitor session destination
This command configures a destination port to be mirrored. You can define the destination as a
particular port or a remote VLAN with a reflector port.
The <session-id> parameter is an integer value that is used to identify the session. However,
you always need to enter 1 for the <session-id> parameter.
Remote port mirroring is configured by specifying the RSPAN VLAN ID. At the source switch, you
configure the destination as an RSPAN VLAN, and at the destination switch, you configure the
source as an RSPAN VLAN.
Note: For an RSPAN VLAN, you cannot configure both the source and the destination as
a remote VLAN on the same device.
Parameters Description
source interface Use the interface <unit/slot/port> parame
ter to specify the interface
to monitor, the cpu parameter to specify the CPU to monitor, or the lag
<lag-group-id> parameter to specify a link aggregation group (LAG) to
monitor.
source vlan Use the vlan <vlan-id> par
ame
ter to configure a VLAN as the source for a
session. All member ports of the selected VLAN are monitored.
source remote vlan Create an RSPAN VLAN on the intermediate switch. Configure the ports that are
connec
ted to the source switch and destination switch as participants in the
RSPAN VLAN. Enable RSPAN VLAN egress tagging on the interface on the
intermediate switch that is connected to the destination switch. Use the remote
vlan <vlan-id> parameter to specify the RSPAN VLAN.
source rx/tx Specify the rx par
ame
ter to monitor only ingress packets. Specify the tx
parameter to monitor only egress packets. If you do not specify either
parameter, both ingress (rx) and egress (tx) packets are monitored.
Default You need to enter 1 for the <session-id> parame
ter.
Format monitor session <session-id> destination {interface <unit/slot/port>
| remote vlan <vlan-id> reflector-port <unit/slot/port>}
Mode Global Config