Port Monitor Commands
no monitor session
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
376
27
Parameters
•
session-number
—RSPAN monitor session number. (Range: 1 to 4)
•
vlan
vlan-id
—Specifies the remote VLAN for a RSPAN source session. The
VLAN is used to copy traffic to another device. (Range: 2 to 4094)
Command Mode
Global Configuration mode
Example
The following example defines the source remote-span VLAN 2 for the monitor
session 1:
switchxxxxxx(config)#
vlan 2
switchxxxxxx(config-vlan)#
remote-span
switchxxxxxx(config-vlan)#
exit
switchxxxxxx(config)#
monitor session 1 source remote-span vlan 2
no monitor session
To disable all monitor sessions or disable a specific monitor session, use the no
monitor session Global Configuration mode command.
Syntax
no monitor session {
session number
| all | local | remote}
Parameters
•
session number
—A specific monitor session to be disabled. (Range: 1 to 4)
•
all—Disables all monitor sessions.
•
local—Disables a local monitor session.
•
remote—Disables a RSPAN session.
Default Configuration
N/A