Monitor Session - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

monitor session

monitor session
Use the monitor session global configuration command to start a new Switched Port Analyzer (SPAN)
or Remote SPAN (RSPAN) session. Use the no form of this command to remove the SPAN or the RSPAN
session or to remove source or destination interfaces from the SPAN or RSPAN session.
Syntax Description
session_number
destination interface
interface-id
encapsulation
dot1q
ingress vlan vlan id
destination remote vlan
vlan-id
reflector-port
interface-id
source interface
interface-id
,
-
both, rx, tx
source remote vlan
vlan-id
all, local, remote
Defaults
On a source interface, the default is to monitor both received and transmitted traffic.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-220
monitor session session_number {destination {interface interface-id [, | -] [encapsulation
{dot1q}] [ingress vlan vlan id] | remote vlan vlan-id reflector-port interface-id} | {source
{interface interface-id [, | -] [both | rx | tx] | remote vlan vlan-id}}
no monitor session session_number {destination {interface interface-id [, | -] [encapsulation
{dot1q}] [ingress vlan vlan id] | remote vlan vlan-id reflector-port interface-id} | {source
{interface interface-id [, | -] [both | rx | tx] | remote vlan vlan-id}}
no monitor session {session_number | all | local | remote}
Specify the session number identified with the SPAN or RSPAN session.
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.
Specify the encapsulation type as IEEE 802.1Q.
(Optional) Specify whether forwarding is enabled for ingress traffic on the
destination port. If encapsulation type is not specified, packets are sent in
native form.
Ingress forwarding is not supported on RSPAN destination ports.
Specify the destination remote VLAN for an RSPAN source session.
Specify the reflector port used for a source RSPAN session.
Specify the SPAN source interface type, slot, and port number. Valid
interfaces include physical ports and port channels.
(Optional) Specify a series of interfaces, or separate a range of interfaces
from a previous range. Enter a space after the comma.
(Optional) Specify a range of interfaces. Enter a space before and after the
hyphen.
(Optional) Specify the traffic direction for each source.
Specify the source RSPAN VLAN for an RSPAN destination session.
Specify all, local, or remote to clear all SPAN sessions, all local SPAN
sessions, or all RSPAN sessions.
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
OL-10102-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents