Switching Commands
100
ProSAFE M7100 Managed Switches
Port Mirroring Commands
Port mirroring, which is also known as port monitoring, selects network traffic that you can
analyze with a network analyzer, such as a SwitchProbe device or other Remote Monitoring
(RMON) probe.
In additional to the port mirroring, VLAN-based mirroring, remote switched port analyzer
(RSPAN)-based and flow-based mir
roring are also supported.
VLAN-based mirroring allows traffic to and from a configured VLAN to be mirrored. That is, all
packets that are transmitted and received on all the physical ports that are members of that
particular VLAN are mirrored.
RSPAN-based mirroring allows mirrored traffic to be sent to the remote analyzer across the
entire Layer 2 ne
twork.
Flow-based mirroring allows ACLs to be attached to the mirroring session. The network traffic
that matches the ACL is only sent to the destination port. This feature is also supported for
remote monitoring. You can attach an IP ACL or MAC ACL to a mirroring session.
Note: ACL attributes (redirect, mirror, log, rate-limit, assign-queue,
time-range) are not supported when applied to a mirroring session.
monitor session source
The command configures a source port to be mirrored. You can define the source as an interface
(a particular port, the CPU, or a LAG), as a local VLAN, or as a remote VLAN. You can also specify
whether only ingress or egress packets need to be monitored.
The <session-id> parame
ter 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.
Default You need to enter 1 for the <session-id> parameter.
Format monitor session <session-id> source {interface {<unit/slot/port> |
cpu | lag <lag-group-id>} | vlan <vlan-id> | remote vlan <vlan-id>}
[rx/tx]}
Mode Global Config