Reference Guide
• Encapsulated remote port monitoring (ERPM) — The port monitoring is performed on an L3 network. The trac from the source
port is encapsulated and forwarded to the destination port in another switch.
Local port monitoring
The local port monitoring monitors trac 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.
Congure local monitoring session
1 Verify that the intended monitoring port has no conguration 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 trac in MONITOR-SESSION mode.
source interface interface-type {both | rx | tx}
4 Enter the destination of trac in MONITOR-SESSION mode.
destination interface interface-type
Create monitoring session
OS10(config)# monitor session 1
OS10(conf-mon-local-1)#
Congure source and destination port, and trac 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 congured 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 trac on multiple source ports of multiple devices and forward the
monitored trac to multiple destination ports on dierent remote devices. Remote port monitoring helps network administrators monitor
and analyze trac to troubleshoot network problems in a time-saving and ecient way.
In a remote port monitoring session, monitored trac is tagged with a VLAN ID and switched on a user-dened, non-routable L2 VLAN.
The VLAN is reserved in the network to carry only monitored trac, which is forwarded on all egress ports of the VLAN. You must
congure each intermediate switch that participates in the transport of monitored trac 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