Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch
Rev 2.10
Mellanox Technologies
534
Mellanox Technologies Confidential
add source interface
add source interface <type> <number> direction <d-type>
no source interface <type> <number>
Adds a source interface to the mirrored session.
The no form of the command deletes the source interface.
Syntax Description interface <type> <num-
ber>
Configures interface as “ethernet” or “port-channel”.
direction <d-type> Configures the direction of the mirrored traffic. The 
options are as follows:
• egress – sets the egress traffic to be monitored
• ingress – sets the ingress traffic to be monitored
• both – sets egress and ingress traffic to be monitored
Default N/A
Configuration Mode Config Monitor Session
History 3.3.3500
Role admin
Example
switch (config monitor session 1) # add source interface ethernet 1/1 
direction both
switch (config monitor session 1)# 
Related Commands
Note If mirroring is configured in one direction (e.g. ingress) on an interface and then is 
configured in the other direction (e.g. egress), then the ultimate setting is “both”.










