ECS4110-28T_Management Guide

Table Of Contents
– 1045
30 PORT MIRRORING COMMANDS
Data can be mirrored from a local port on the same switch or from a
remote port on another switch for analysis at the target port using
software monitoring tools or a hardware probe. This switch supports the
following mirroring modes.
LOCAL PORT MIRRORING COMMANDS
This section describes how to mirror traffic from a source port to a target
port.
port monitor This command configures a mirror session. Use the no form to clear a
mirror session.
SYNTAX
port monitor {interface [rx | tx | both] | vlan vlan-id |
mac-address mac-address | access-list acl-name}
no port monitor {interface | vlan vlan-id |
mac-address mac-address | access-list acl-name}
interface
ethernet unit/port (source port)
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-28/52)
port-channel channel-id (Range: 1-16)
rx - Mirror received packets.
Table 125: Port Mirroring Commands
Command Function
Local Port Mirroring Mirrors data to another port for analysis without affecting the data
passing through or the performance of the monitored port
RSPAN Mirroring Mirrors data from remote switches over a dedicated VLAN
Table 126: Mirror Port Commands
Command Function Mode
port monitor Configures a mirror session IC
show port monitor Shows the configuration for a mirror port PE