65
Command
Parameters
config mirror port
{enable [<port> source ports
<portlist> [rx | tx |both]] | disable}
show mirror
Each command is listed, in detail, in the following sections.
config mirror port
Purpose
Used to configure a mirror port – source port pair
on the Switch. Traffic for any source port to a
target port can be mirrored for real-time analysis.
Syntax
{enable [<port> source ports <portlist> [rx |
tx |both]] | disable}
Description
This command allows you configure a mirror port
- source port pair on the Switch.
Description <port>
-
This specifies the Target port (the port
where mirrored packets will be received). The
target port must be configured in the same VLAN
and must be operating at the same speed as the
source port. If the target port is operating at a
lower speed, the source port will be forced to
drop its operating speed to match that the target
port.
source ports -
The port or ports being mirrored.
This can not include the Target port.
Description <portlist>
-
This specifics a port or range of
ports that will be mirrored. That is the range of
ports which all traffic will be copied and sent to
the Target port.
rx -
Allows the mirroring of only packets received
by (flowing into) the port or ports in the port list.
tx -
Allows the mirroring of only packets sent to
(flowing out of) the port or ports in the port list.
both -
Mirrors all the packets received or sent by
the port in the port list.
Example usage:
To enable and configure the Port Mirror function of the Switch: