Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch
Rev 2.10
Mellanox Technologies
526
Mellanox Technologies Confidential
A mirroring session is a monitoring configuration mode that has the following parameters:
Table 43 - Mirroring Parameters
Parameter Description Access
Source interface(s) List of source interfaces to be mirrored. RW
Destination interface A single analyzer port through which all mirrored traffic egress. RW
Header format The format and encapsulation of the mirrored traffic
when sent to analyzer. RW
Truncation Enabling truncation segments each mirrored packet to 64
bytes. RW
Congestion control Controls the behavior of the source port when destination port is congested. RW
Admin state Administrative state of the monitoring session. RW
5.11.1.1 Source Interface
The source interface (mirror port) refers to the interface
from which the traffic is monitored. Port
mirroring does not affect the switching of the original traffic. The traffic is simply duplicated and
sent to the analyzer port. Traffic in any direction (either ingress, egress or both) can be mirrored.
There is no limitation on the number of the source
interfaces mapped to a mirroring session.
LAG
The source interface can be a physical interface or a LAG.
Port mirroring can be configured on a LAG interface but not on a LAG member. When a port is
added to a mirror
e
d LAG it inherits the LAG’s mirror configuration. However, if port mirroring
configuration is set on a port, that configuration must be removed prior to adding the port to a
LAG interface.
When a port is removed from a LAG, the mirror property is switched off for that port.
Control Protoco
ls
All control protocols captured on the mirror port are
forwarded
to the analyzer port in addition to
their normal treatment. For example LACP, STP, and LLDP are forwarded to the analyzer port in
addition to their normal treatment by the CPU.
Exceptions to the behavior above ar
e the packets that are being handled by the MAC layer, such
as pause frames.
5.11.1.2 Destination Interface
The destination interface is an analyzer port is one to whic
h mirrored traf
fic is sent. The mirrored
packets, are duplicated, optionally modified and sent to the analyzer port. The SwitchX® plat-
form supports up to 7 analyzer ports where any mirror port can be mapped to any analyzer port
and more than a single
mirror port can be mapped to a single analyzer port.
Ingress and egress traffic flows of a specific source interface can be mapped to two dif-
ferent sessions.










