66-20
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 how to configure the
destination port for ingress traffic on VLAN 5 by using a security device that supports 802.1Q
encapsulation:
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 ingress vlan 5
Switch(config)#
end
Removing Ports from an RSPAN Session
To remove a port as an RSPAN source for a session, perform this task:
Step 3
Switch(config)# [
monitor session
session_number
destination interface
interface-id
[
encapsulation
{
dot1q
[
ingress vlan
vlan id
]} |
ingress vlan
vlan id
] [
learning
]]
Specifies the RSPAN session, the destination port, the packet
encapsulation, and the ingress VLAN.
For
session_number
, specifies the session number identified with this
RSPAN session (1 through 6).
For
interface-id
, specifies the destination port. Valid interfaces
include physical interfaces.
(Optional) Specifies the encapsulation of the packets transmitted on
the RSPAN destination port. If no encapsulation is specified, all
transmitted packets are sent in native format (untagged).
•
Enter
encapsulation dot1q
to send native VLAN packets
untagged, and all other VLAN
tx
packets tagged
dot1q
.
(Optional) Specifies whether forwarding is enabled for ingress traffic
on the RSPAN destination port.
•
For native (untagged) and
dot1q
encapsulation, specify
ingress
vlan
vlan id
to enable ingress forwarding with
vlan id
as the
native VLAN;
vlan id
is also used as the native VLAN for
transmitted packets.
•
Specify
learning
to enable learning when ingress is enabled.
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
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 ...