Reference Guide

Primary, C-Community, I-Isolated
Q: A-Access (Untagged), T-Tagged
x-Dot1x untagged, X-Dot1x tagged
G-GVRP tagged, M-Vlan-stack, H-VSN tagged
i-Internal untagged, I-Internal tagged, v-VLT untagged, V-VLT tagged
NUM Status Description Q Ports
* 1 up A Eth1/1/2-1/1/32
A Po40
200 up T Eth1/1/3:2
T Po40
A Eth1/1/31
320 up T Eth1/1/25:4 1/1/32
T Po40
A Eth1/1/3:1
Supported Releases 10.2.0E or later
Port monitoring
Port monitoring enables mirroring of ingress or egress trac of one port to another for analysis. A mirroring port (MG) or destination port,
is the port where the mirrored trac is sent for analysis. A monitored port (MD) is the source interface which is monitored for trac
analysis, also called source port.
Depending on the location of the destination interface, port monitoring performs as local port mirroring and remote port mirroring (RPM).
Remote port monitoring (RPM) allows monitoring of trac running across a remote device in the same LAN (see Remote port mirroring).
Port monitoring is supported on both physical and logical interfaces such as VLANs and port-channels.
For local port mirroring, the monitored source (MD) and monitoring destination ports (MG) must be on the same device.
A monitoring port must have no IP address and be in no switchport mode.
There may only be one destination port (MG) in a monitoring session.
More than one destination port (MG) can monitor a source port (MD).
A port monitoring session can have multiple source interfaces.
Use ow-based monitoring to selectively monitor trac ows using match criteria.
Create monitor 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
3 Enter the source and direction of trac in MONITOR-SESSION mode.
source interface type interface-range direction
4 Enter the destination of trac in MONITOR-SESSION mode.
destination interface type id
Create monitoring session
OS10(config)# monitor session 10
OS10(conf-mon-local-10)#
Congure source and destination port and trac direction
OS10(conf-mon-local-10)# source interface ethernet 1/1/7-1/1/8 rx
OS10(conf-mon-local-10)# destination interface port-channel 10
OS10(conf-mon-local-10)# no shutdown
View congured monitoring sessions
Layer 2
185