Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch

Rev 2.10
Mellanox Technologies
535
Mellanox Technologies Confidential
header-format
header-format {local [traffic-class <tc>] | add-vlan <vlan-id> [priority <prio>]
[traffic-class <tc>] | add-ethernet-header destination-mac <mac-address> [add-
vlan <vlan-id> [priority <prio>]] [traffic-class <tc>]}
no header-format
Sets the header format of the mirrored traffic.
The no form of the command resets the parameter values back to default.
Syntax Description local The mirrored header of the frame is not changed.
traffic-class <tc> Changes the egress traffic class of the frame. Range is
0-3.
add-vlan <vlan-id> An 802.1q VLAN tag is added to the frame.
priority <prio> The priority to be added to the Ethernet header. Range
is 0-7.
add-ethernet-header Adds an Ethernet header to the mirrored frame.
destination-mac The destination MAC address of the added Ethernet
frame.
Default no-change
vlan 1
priority 0
traffic-class 0
Configuration Mode Config Monitor Session
History 3.3.3500
Role admin
Example
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
switch (config monitor session 1)#
Related Commands
Note If add-ethernet-header is used, the source MAC address is the one attached to the
switch.