source vlan
Use this command to configure one or more VLANs as source per monitor session. A VLAN as source will be mirrored only in the ingress direction. Up to 32 VLANs can be configured as source per monitor session. 
Use the no parameter to remove vlan source from monitor session. 
Command Syntax 
source vlan VLAN_RANGE 
no source vlan VLAN_RANGE 
Parameters 
VLAN_RANGE
VLAN identifier or VLAN identifier range 
Default 
A trunk port is a member of all VLANs by default.
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 vlan 2 
(config-monitor)#source vlan 4-10 
(config-monitor)#no source vlan 2-5,10 
Last modified date: 07/06/2023