Monitor Session - Cisco Catalyst 3550 Command Reference Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands

monitor session

Use the monitor session global configuration command to start a new Switched Port Analyzer (SPAN)
or Remote SPAN (RSPAN) session, to add or delete interfaces or VLANs to or from an existing SPAN
or RSPAN session, and to limit (filter) SPAN source traffic to specific source VLANs. Use the no form
of this command to remove the SPAN or RSPAN session or to remove source or destination interfaces
or filters from the SPAN or RSPAN session.
Syntax Description
session_number
destination interface
interface-id
encapsulation
dot1q
isl
ingress vlan vlan id
destination remote vlan
vlan-id
reflector-port
interface-id
filter vlan vlan-id
source interface
interface-id
78-11195-09
monitor session session_number {destination {interface interface-id [encapsulation {dot1q
[ingress vlan vlan id] | ISL [ingress]} [ingress vlan vlan id] | remote vlan vlan-id
reflector-port interface-id} | filter vlan vlan-id [, | -] | {source {interface interface-id [, | -]
[both | rx | tx ] | remote vlan vlan-id | vlan vlan-id [, | -] rx}}
no monitor session session_number {destination {interface interface-id [encapsulation {dot1q
[ingress vlan vlan id] | ISL [ingress]} [ingress vlan vlan id] | remote vlan vlan-id
reflector-port interface-id} | filter vlan vlan-id [, | -] | {source {interface interface-id [, | -]
[both | rx | tx ] | remote vlan vlan-id | vlan vlan-id [, | -] rx}}
no monitor session {session_number | all | local | remote}
Specify the session number identified with the SPAN or RSPAN session.
Valid values are 1 and 2.
Specify the destination interface for a local SPAN session. Valid interfaces
are physical ports.
(Optional) Specify the encapsulation header for outgoing packets through a
destination port. If encapsulation type is not specified, packets are sent in
native form. To reconfigure a destination port in native form, enter the
command without the encapsulation keyword.
(Optional) Specify the encapsulation type as 802.1Q.
(Optional) Specify the encapsulation type as ISL.
(Optional) Specify whether forwarding is enabled for ingress traffic on the
destination port.
Specify the destination remote VLAN for an RSPAN source session.
Specify the reflector port used for a source RSPAN session.
Specify a list of VLANs as filters on trunk source ports. The vlan-id range
is 1 to 4094.
Specify the SPAN source interface type, slot, and port number. Valid
interfaces include physical ports and port channels.
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 ingress to enable ingress forwarding when using ISL
encapsulation.
Catalyst 3550 Multilayer Switch Command Reference
monitor session
2-179

Advertisement

Table of Contents
loading

Table of Contents