HP Mellanox SX1018 Mellanox MLNX-OS® User Manualfor SX1018HP Ethernet - Page 85
Verifying Mirroring Sessions
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
Rev 1.6.9 Step 3. Step 4. Add destination interface. Run: switch (config monitor session 1) # destination interface ethernet 1/2 (Optional) Set header format. Run: 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. Step 5. Step 6. (Optional) Truncate the mirrored traffic to 64-byte packets. Run: switch (config monitor session 1) # truncate (Optional) Set congestion control. Run: switch (config monitor session 1) # congestion pause-excessive-frames The default for this command is to drop excessive frames. The pause-excessiveframes 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. Step 7. Enable the session. Run: switch (config monitor session 1) # no shutdown 5.10.3 Verifying Mirroring Sessions To verify the attributes of a specific mirroring session: 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 Mellanox Technologies 85 Mellanox Technologies Confidential