Port Monitor Commands
monitor session source interfaces
monitor session source interfaces
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Example
The following example defines the destination remote-span VLAN 2 and reflector
interface fa11 for the monitor session 1:
switchxxxxxx(config)# vlan 2
switchxxxxxx(config-vlan)# remote-span
switchxxxxxx(config-vlan)# exit
switchxxxxxx(config)# monitor session 1 destination remote-span vlan 2
reflector-interface gi11
To start a source interface (monitored) of a port monitor session (mirroring), use
the monitor session source interfaces Global Configuration mode command.
Use the no form of this command to stop a port monitor session.
Syntax
session-number
monitor session
no monitor session
session-number
session-number
monitor session
session-number
no monitor session
Parameters
session-number
•
interface-id
•
—The source interface ID. The interface ID must be an Ethernet
port.
•
both—Monitors both transmitted and received packets.
•
rx—Monitors received packets only.
•
tx—Monitors transmitted packets only.
vlan-id
•
vlan
—Specifies a VLAN.
Default Configuration
N/A
source interfaces
source interfaces
source vlan
source vlan
—The identifier for the port monitor session. (Range: 1 to 4)
interface-id
{both | rx | tx}
interface-id
vlan-id
27
{both | rx | tx}
374