PurposeCommand or Action
Specifies the RSPAN session and the source RSPAN VLAN.
monitor session session_number source
remote vlan vlan-id
Step 4
•
For session_number, the range is 1 to 66.
Example:
Switch(config)# monitor session 2
source remote vlan 901
•
For vlan-id, specify the source RSPAN VLAN to monitor.
Specifies the SPAN session, the destination port, the packet encapsulation,
and the incoming VLAN and encapsulation.
monitor session session_number destination
{interface interface-id [, | -] [ingress {dot1q
Step 5
vlan vlan-id | untagged vlan vlan-id | vlan
vlan-id}]}
•
For session_number, enter the number defined in Step 5.
In an RSPAN destination session, you must use the same session
number for the source RSPAN VLAN and the destination port.
Example:
Switch(config)# monitor session 2
•
For interface-id, specify the destination interface. The destination
interface must be a physical interface.
destination interface
gigabitethernet1/0/2 ingress vlan 6
•
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.
•
(Optional) [, | -] Specifies a series or range of interfaces. Enter a
space before and after the comma; enter a space before and after the
hyphen.
•
Enter ingress with additional keywords to enable forwarding of
incoming traffic on the destination port and to specify the
encapsulation type:
◦
dot1q vlan vlan-id—Forwards incoming packets with IEEE
802.1Q encapsulation with the specified VLAN as the default
VLAN.
◦
untagged vlan vlan-id or vlan vlan-id—Forwards incoming
packets with untagged encapsulation type with the specified
VLAN as the default VLAN.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 6
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 7
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
500
How to Configure SPAN and RSPAN