Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet Managed Blade Switch

Rev 1.6.9
Mellanox Technologies
85
Mellanox Technologies Confidential
Step 3. Add destination interface. Run:
Step 4. (Optional) Set header format. Run:
Step 5. (Optional) Truncate the mirrored traffic to 64-byte packets. Run:
Step 6. (Optional) Set congestion control. Run:
Step 7. Enable the session. Run:
5.10.3 Verifying Mirroring Sessions
To verify the attributes of a specific mirroring session:
switch (config monitor session 1) # destination interface ethernet 1/2
switch (config monitor session 1) # header-format add-ethernet-header destination-mac
00:0d:ec:f1:a9:c8 add-vlan 10 priority 5 traffic-class 2
For remote connectivity use the header formats
add-vlan
or
add-ethernet-header
. For
local connectivity, use
local
.
switch (config monitor session 1) # truncate
switch (config monitor session 1) # congestion pause-excessive-frames
The default for this command is to drop excessive frames. The
pause-excessive-
frames
option uses flow control to regulate the traffic from the source interfaces.
If the option
pause-excessive-frame
is selected, make sure that flow control is
enabled on all source interfaces on the ingress direction of the monitoring session
using the command
flowcontrol
in the interface configuration mode.
switch (config monitor session 1) # no shutdown
switch (config) # show monitor session 1
Admin: Enable
Status: Up
Truncate: Enable
Destination interface: eth1/2
Congestion type: pause-excessive-frames
Header format: add-ethernet-header
- traffic class 2
- vlan 10
- priority 5
- destination-mac 00:0d:ec:f1:a9:c8