Download Cisco 2950 - Catalyst Switch Specifications

Transcript
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
show monitor
show monitor
Use the show monitor user EXEC command to display Switched Port Analyzer (SPAN) and Remote
SPAN (RSPAN) session information.
show monitor [session {session_number | all | local | range | remote}] [ | {begin | exclude |
include} expression]
Syntax Description
session session_number
(Optional) Specify the session number identified with this SPAN or
RSPAN session.
all
Specify all sessions.
local
Specify local sessions.
range
Specify a range of sessions.
remote
Specify remote sessions.
| begin
(Optional) Display begins with the line that matches the expression.
| exclude
(Optional) Display excludes lines that match the expression.
| include
(Optional) Display includes lines that match the specified expression.
expression
Expression in the output to use as a reference point.
Command Modes
User EXEC
Command History
Release
Modification
12.1(6)EA1
This command was introduced.
12.1(11)EA1
The all, local, and remote keywords were added.
12.1(13)EA1
The range keyword was added.
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Examples
This is an example of output for the show monitor privileged EXEC command for RSPAN source
session 1:
Switch# show monitor session 1
Session 1
--------Type: Remote Source Session
Source Ports:
RX Only: Fa0/3
TX Only:
None
Both:
None
Source VLANs:
RX Only:
None
TX Only:
None
Both:
None
Catalyst 2950 and Catalyst 2955 Switch Command Reference
0L-10102-02
2-375