Cisco Systems WSC2960X24PDL Manual De Usuario

Descargar
Página de 112
To remove a source port or VLAN from the SPAN session, use the no monitor session session_number
source {interface interface-id | vlan vlan-id} global configuration command. To remove the RSPAN VLAN
from the session, use the no monitor session session_number destination remote vlan vlan-id.
Creating an RSPAN Source Session
Beginning in privileged EXEC mode, follow these steps to create and start an RSPAN source session and to
specify the monitored source and the destination RSPAN VLAN.
SUMMARY STEPS
1. configure terminal
2. no monitor session {session_number all local remote}
3. monitor session session_number source {interface interface-id vlan vlan-id} [-] [both rx tx]
4. monitor session session_number destination remote vlan vlan-id
5. end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Removes any existing SPAN configuration for the session.
no monitor session {session_number all
local remote}
Step 2
• 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 port (monitored port).
monitor session session_number source
{interface interface-id vlan vlan-id} [|
-] [both rx tx]
Step 3
• For session_number, the range is 1 to 66.
Example:
Switch(config)#
monitor session 1
• Enter a source port or source VLAN for the RSPAN session:
◦For interface-id, specifies the source port to monitor. Valid
interfaces include physical interfaces and port-channel logical
source interface
gigabitethernet1/0/1 tx
interfaces (port-channel port-channel-number). Valid port-channel
numbers are 1 to 48.
◦For vlan-id, specifies the source VLAN to monitor. The range is
1 to 4094 (excluding the RSPAN VLAN).
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX    
   OL-29044-01
85
Configuring SPAN and RSPAN
Creating an RSPAN Source Session