Users Guide

Table Of Contents
Local port monitoring
In local port monitoring, the monitored source ports and monitoring destination ports are on the same device.
In the following diagram, the local port mirroring enables the network switch to forward the copy of the packet on the source
port (Eth 1/1/7) to the destination port (Eth 1/1/1). The monitoring device connected with the destination port analyzes the
packet.
Configure local monitoring session
To configure a local monitoring session, configure the source and destination ports, and the traffic direction.
1. Verify that the intended monitoring port has no configuration 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 the monitored traffic in MONITOR-SESSION mode.
source interface interface-type {both | rx | tx}
4. Enter the destination of traffic in MONITOR-SESSION mode.
destination interface interface-type
Example output to create a monitoring session
OS10(config)# monitor session 1
OS10(conf-mon-local-1)#
Layer 2
697