source port
Use this command to configure a source port per monitor session in either ingress or egress or both directions. Source port can be physical interface or a trunk port. 
Use the no parameter to remove the source port. 
Note:	The behavior is changed when the configuration is edited in the current release: For example, if you have configured as follows
source interface xe10 rx → running-config/backend: source interface xe10 rx
source interface xe10 tx → running-config/backend: source interface xe10 both
         its direction is changed to as follows
source interface xe10 rx → running-config/backend: source interface xe10 rx
source interface xe10 tx → running-config/backend: source interface xe10 tx
Command Syntax 
source interface IFNAME ( rx | tx | both | ) 
no source interface IFNAME 
Parameters 
IFNAME
Interface name 
rx
Ingress direction 
tx
Egress direction 
both
Both directions
Default 
Source port will be mirrored for both directions if the direction is not specified 
Command Mode 
Monitor configure mode 
Applicability
This command was introduced before OcNOS version 1.3.
Example 
#configure terminal 
(config)#monitor session 1 
(config-monitor)#source interface xe1 both 
(config-monitor)#no source interface xe1
Last modified date: 07/06/2023