Portmirror – Dell POWEREDGE M1000E User Manual
Page 765
Fabric OS Command Reference
733
53-1001764-02
portMirror
2
portMirror
Adds, deletes, or displays port mirror connections.
Synopsis
portmirror
portmirror --show
portmirror --add [slot/]port SID DID
portmirror --delete SID DID
Description
Use this command to add, delete, or display a mirror connection between two ports, a source and a
destination port. When used without operand, this command displays the usage.
Port mirroring allows you to configure any switch port in such a way that it will mirror the traffic
passing in both directions between a specified source port (SID) and a destination port (DID) back
to the configured mirror port. You can use this feature to troubleshoot Fiber Channel end-to-end
link communications.
The port mirroring feature mirrors only those frames to the mirror port that contain the specified
SID/DID. It does not mirror all frames transmitted or received for a given port. This restriction
allows a single mirror port to mirror multiple mirror connections.
The SID must be located in the same domain where the mirror port is configured. The following
configurations are supported:
•
SID, DID and mirror port reside in the same blade.
•
SID, DID and mirror port reside in the same switch (standalone platform).
•
SID, DID and mirror port reside in different blades in the same chassis.
•
SID, DID and mirror port reside in two different chassis or standalone switches connected
through interchassis or interswitch links.
The DID can be either on the local switch or on a different switch. Any given SID can participate in
either one or a maximum of three mirror connections, depending on the switch configuration and
switch model associated with the SID.
Port mirroring makes use of ASIC resources, and the behavior of this command is therefore
dependent on the hardware platform on which the feature is configured. Refer to the Fabric OS
Troubleshooting and Diagnostics Guide for information on:
•
Platforms that support the port mirroring feature
•
Supported mirror connection maximums for each platform
•
Platform-specific feature restrictions
•
Special configuration considerations and configuration scenarios
A mirror connection may be rejected because of an invalid configuration, an unavailability of
resources, duplicate entries, a mirror port that is not configured, or an offline connection port.
When issued with the --show option, this command displays the following information:
Mirror_Port
The port number of the mirror port that mirrors the traffic between a SID and
a DID.
SID
Source Port ID.
DID
Destination Port ID.