Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

How to Configure SPAN and RSPAN
Command or Action
Step 4
monitor session session_number source
remote vlan vlan-id
Example:
Switch(config)# monitor session 2
source remote vlan 901
Step 5
monitor session session_number destination
{interface interface-id [, | -] [ingress {dot1q
vlan vlan-id | untagged vlan vlan-id | vlan
vlan-id}]}
Example:
Switch(config)# monitor session 2
destination interface
gigabitethernet1/0/2 ingress vlan 6
Step 6
end
Example:
Switch(config)# end
Step 7
show running-config
Example:
Switch# show running-config

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

500
Purpose
Specifies the RSPAN session and the source RSPAN VLAN.
• For session_number, the range is 1 to 66.
• 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.
• 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.
• For interface-id, specify the destination interface. The destination
interface must be a physical interface.
• 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.
Verifies your entries.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents