Reference Guide
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 port-channel 10
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 port-channel10 rx N/A N/A N/A N/A true Is UP
Remote port mirroring
Remote port mirroring allows you to monitor ingress and/or egress trac on multiple source ports of multiple devices and forward the
mirrored trac to multiple destination ports on dierent remote devices. Remote port mirroring helps network administrators monitor and
analyze trac to troubleshoot network problems in a time-saving and ecient way.
In a remote-port mirroring 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 mirrored trac, which is forwarded on all egress ports of the VLAN. You must congure each
intermediate switch that participates in the transport of mirrored trac with the reserved L2 VLAN. Remote port monitoring supports
mirroring sessions in which multiple source and destination ports distribute across multiple network devices.
Layer 2
241