Connectivity Guide
Usage Information Use this command to view VLAN conguration information for a specic VLAN ID.
Example
OS10(config)# do show vlan
Codes: * - Default VLAN, M - Management VLAN, R - Remote Port Mirroring VLANs
Q: A - Access (Untagged), T - Tagged
NUM Status Description Q Ports
* 1 Active A Eth1/1/15
A Po100
2101 Active T Eth1/1/1,1/1/3
T Po100
2102 Active T Eth1/1/1,1/1/3
Supported Releases 10.2.0E or later
Port monitoring
Port monitoring monitors ingress or egress trac of one port to another for analysis. A monitoring port (MG) or destination port, is the port
where the monitored trac is sent for analysis. A monitored port (MD) or source port is the source interface that is monitored for trac
analysis.
The dierent types of port monitoring are:
• Local port monitoring — Port monitoring is done in the same switch. The switch forwards a copy of incoming and outgoing trac
from one port to another port for further analysis.
• Remote port monitoring (RPM) — Port monitoring is done on trac running across a remote device in the same network. The L2
network carries the monitored trac.
• Encapsulated remote port monitoring (ERPM) — Port monitoring is done on the L3 network. The trac from the source port is
encapsulated and forwards to the destination port in another switch.
Local port monitoring
For local port monitoring, the monitored source ports 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 the 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
374
Layer 2