Cisco Systems WSC2960X24PDL Manual De Usuario
Purpose
Command or Action
A single session can include multiple sources (ports or VLANs),
defined in a series of commands, but you cannot combine source
ports and source VLANs in one session.
defined in a series of commands, but you cannot combine source
ports and source VLANs in one session.
• (Optional) [, | -] Specifies a series or range of interfaces. Enter a space
before and after the comma; enter a space before and after the hyphen.
• (Optional) both | rx | tx Specifies the direction of traffic to monitor. If
you do not specify a traffic direction, the source interface sends both
sent and received traffic.
sent and received traffic.
◦both—Monitors both received and sent traffic.
◦rx—Monitors received traffic.
◦tx—Monitors sent traffic.
Specifies the RSPAN session, the destination RSPAN VLAN, and the
destination-port group.
destination-port group.
monitor session session_number
destination remote vlan vlan-id
destination remote vlan vlan-id
Step 4
Example:
Switch(config)#
monitor session 1
destination remote vlan 100
• For session_number, enter the number defined in Step 3.
• For vlan-id, specify the source RSPAN VLAN to monitor.
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 5
Specifying VLANs to Filter
Beginning in privileged EXEC mode, follow these steps to configure the RSPAN source session to limit
RSPAN source traffic to specific VLANs.
RSPAN source traffic to specific VLANs.
SUMMARY STEPS
1. configure terminal
2. no monitor session {session_number | all | local | remote}
3. monitor session session_number source interface interface-id
4. monitor session session_number filter vlan vlan-id [, | -]
5. monitor session session_number destination remote vlan vlan-id
6. end
Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX
86
OL-29044-01
Configuring SPAN and RSPAN
Specifying VLANs to Filter