Reference Guide

Encapsulated remote port monitoring (ERPM) — The port monitoring is performed on an L3 network. The trac from the source
port is encapsulated and forwarded to the destination port in another switch.
Local port monitoring
The local port monitoring monitors trac from one or more ports from the switch to one or more ports on the same switch. For local port
monitoring, the monitored source and monitoring destination ports are on the same device.
Congure local monitoring session
1 Verify that the intended monitoring port has no conguration other than no shutdown and no switchport.
show running-configuration
2 Create a monitoring session in CONFIGURATION mode.
monitor session session-id [local]
3 Enter the source and direction of monitored trac in MONITOR-SESSION mode.
source interface interface-type {both | rx | tx}
4 Enter the destination of trac in MONITOR-SESSION mode.
destination interface interface-type
Create monitoring session
OS10(config)# monitor session 1
OS10(conf-mon-local-1)#
Congure source and destination port, and trac direction
OS10(conf-mon-local-1)# source interface ethernet 1/1/7-1/1/8 rx
OS10(conf-mon-local-1)# destination interface ethernet1/1/1
OS10(conf-mon-local-1)# no shut
View congured monitoring sessions
In the State eld, true indicates that the port is enabled. In the Reason eld, Is UP indicates that hardware resources are allocated.
OS10# show monitor session all
S.Id Source Destination Dir SrcIP DstIP DSCP TTL State Reason
----------------------------------------------------------------------
1 ethernet1/1/7 ethernet1/1/1 rx N/A N/A N/A N/A true Is UP
Remote port monitoring
Remote port monitoring allows you to monitor ingress and/or egress trac on multiple source ports of multiple devices and forward the
monitored trac to multiple destination ports on dierent remote devices. Remote port monitoring helps network administrators monitor
and analyze trac to troubleshoot network problems in a time-saving and ecient way.
In a remote port monitoring session, monitored trac is tagged with a VLAN ID and switched on a user-dened, non-routable L2 VLAN.
The VLAN is reserved in the network to carry only monitored trac, which is forwarded on all egress ports of the VLAN. You must
congure each intermediate switch that participates in the transport of monitored trac with the reserved L2 VLAN. Remote port
monitoring supports monitoring sessions in which multiple source and destination ports distribute across multiple network devices.
256
Layer 2