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>
direction <d-type>
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".
Configures interface as "ethernet" or "port-channel".
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
Mellanox® Technologies Confidential
Rev 1.6.9
Mellanox Technologies
402