66-19
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 66 Configuring SPAN and RSPAN
Configuring RSPAN
This example shows how to configure VLAN 901 as the source remote VLAN and port 5 as the
destination interface:
Switch#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
monitor session 1 source remote vlan 901
Switch(config)#
monitor session 1 destination interface gigabitEthernet1/2
Switch(config)#
end
Creating an RSPAN Destination Session and Enabling Ingress Traffic
To create an RSPAN destination session, to specify the source RSPAN VLAN, and to enable ingress
traffic on the destination port for a network security device (such as a Cisco IDS [Intrusion Detection
System] sensor appliance), perform this task:
Step 3
Switch(config)# [
no
]
monitor session
session_number
destination
interface
interface
[
encapsulation
{
dot1q
}]
[
ingress
[
vlan
vlan_IDs
]
[learning
]]
Specifies the RSPAN session and the destination interface.
For
session_number
, specifies the session number identified with this
RSPAN session (1 through 6).
For
interface
, specifies the destination interface.
For
vlan_IDs
, specifies the ingress VLAN, if necessary.
(Optional) [
,
|
-
] Specifies a series or range of interfaces. Enter a
space after the comma; enter a space before and after the hyphen.
(Optional) Specifies the direction of traffic to monitor. If you do not
specify a traffic direction, the source interface sends both sent and
received traffic. Only received (
rx
) traffic can be monitored on
additional source ports.
•
dot1q
—Use 802.1Q encapsulation.
Step 4
Switch(config)#
end
Returns to privileged EXEC mode.
Step 5
Switch#
show monitor
[
session
session_number
]
Verifies your entries.
Step 6
Switch#
copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command
Purpose
Command
Purpose
Step 1
Switch#
configure terminal
Enters global configuration mode.
Step 2
Switch(config)#
monitor session
{
session_number
}
source vlan
vlan_IDs
Specifies the RSPAN session and the source RSPAN VLAN.
For
session_number
, specifies the session number identified with this
RSPAN session (1 through 6).
For
vlan_IDs
, specifies the source VLAN or VLANs to monitor.
Valid VLANs are in the range from 1 to 4094.
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...