HP Mellanox SX1018 Mellanox MLNX-OS®Command Reference Guide for SX101 - Page 403
header-format
View all HP Mellanox SX1018 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 403 highlights
Rev 1.6.9 header-format header-format {local [traffic-class ] | add-vlan [priority ] [traffic-class ] | add-ethernet-header destination-mac [addvlan [priority ]] [traffic-class ]} 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 Changes the egress traffic class of the frame. Range is 0-3. add-vlan An 802.1q VLAN tag is added to the frame. priority 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. Mellanox Technologies 403 Mellanox® Technologies Confidential