Reference Guide

Table Of Contents
Source session
Configure physical ports and port-channels as sources in remote port monitoring and use them in the same source session.
You can use both L2 (configured with the switchport command) and L3 ports as source ports. Optionally configure one
or more source VLANs to configure the VLAN traffic to be monitored on source ports.
Use the default VLAN and native VLANs as a source VLAN.
You cannot configure the dedicated VLAN used to transport mirrored traffic as a source VLAN.
Restrictions
When you use a source VLAN, enable flow-based monitoring (flow-based enable).
In a source VLAN, only received (rx) traffic is monitored.
In S5148F-ON, only received (rx) traffic is monitored.
You cannot configure a source port-channel or source VLAN in a source session if the port-channel or VLAN has a member
port configured as a destination port in a remote port monitoring session.
You cannot use a destination port for remote port monitoring as a source port, including the session the port functions as
the destination port.
The reserved VLAN used to transport mirrored traffic must be a L2 VLAN L3 VLANs are not supported.
Configure remote port monitoring
Remote port monitoring requires a source interface (monitored ports on different source network devices) and a reserved
tagged VLAN for transporting mirrored traffic (configured on the source, intermediate, and destination devices).
1. Create a remote monitoring session in CONFIGURATION mode.
monitor session session-id type rpm-source
2. Enter the source to monitor traffic in MONITOR-SESSION mode.
source interface interface-range direction
3. Enter the destination to send the traffic to in MONITOR-SESSION mode.
destination remote-vlan vlan-id
4. Enable the monitoring interface in MONITOR-SESSION mode.
no shut
Create remote monitoring session
OS10(config)# monitor session 10 type rpm-source
OS10(conf-mon-rpm-source-10)#
Configure source and destination port, and traffic direction
OS10(conf-mon-rpm-source-10)# source interface vlan 10 rx
OS10(conf-mon-rpm-source-10)# destination remote-vlan 100
OS10(conf-mon-rpm-source-10)# no shut
View monitoring session
OS10(conf-mon-rpm-source-10)# do show monitor session all
S.Id Source Destination Dir SrcIP DstIP DSCP TTL State Reason
---------------------------------------------------------------
1 vlan10 vlan 100 rx N/A N/A N/A N/A true Is UP
Layer 2
245