Purpose
Command or Action
Removes any existing SPAN configuration for the session.
no monitor session
{
session_number
|
all
|
local
|
remote
}
Step 6
•
For
session_number
, the range is 1 to 66.
Example:
Switch(config)#
no monitor session 1
•
all
—
Removes all SPAN sessions.
•
local
—
Removes all local sessions.
•
remote
—
Removes all remote SPAN sessions.
Specifies the RSPAN session and the source RSPAN VLAN.
monitor session session_number source
remote vlan vlan-id
Step 7
•
For
session_number
, the range is 1 to 66.
Example:
Switch(config)#
monitor session 1 source
remote vlan 901
•
For
vlan-id
, specify the source RSPAN VLAN to monitor.
Specifies the RSPAN session and the destination interface.
monitor session session_number destination
interface interface-id
Step 8
•
For
session_number
, enter the number defined in Step 7.
Example:
Switch(config)#
monitor session 1
In an RSPAN destination session, you must use the same session
number for the source RSPAN VLAN and the destination port.
•
For
interface-id
, specify the destination interface. The destination
interface must be a physical interface.
destination interface
gigabitethernet2/0/1
•
Though visible in the command-line help string,
encapsulation
replicate
is not supported for RSPAN. The original VLAN ID
is overwritten by the RSPAN VLAN ID, and all packets appear
on the destination port as untagged.
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 9
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 10
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config
Step 11
startup-config
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
498
How to Configure SPAN and RSPAN
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......