Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-719
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2    Catalyst 3750-X and 3560-X Cisco IOS Commands
show monitor
show monitor
Use the show monitor user EXEC command to display information about all Switched Port Analyzer 
(SPAN) and Remote SPAN (RSPAN) sessions on the switch. Use the command with keywords to show 
a specific session, all sessions, all local sessions, or all remote sessions.
show monitor [session {session_number | all | local range list remote} [detail]] [ | {begin | 
exclude | includeexpression]
Syntax Description
Command Modes
User EXEC
Command History
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.
The output is the same for the show monitor command and the show monitor session all command.
session 
(Optional) Display information about specified SPAN sessions.
session_number
Specify the number of the SPAN or RSPAN session. The range is 1 to 66. 
all
Display all SPAN sessions.
local
Display only local SPAN sessions.
range list
Display a range of SPAN sessions, where list is the range of valid sessions
either a single session or a range of sessions described by two numbers, the 
lower one first, separated by a hyphen. Do not enter any spaces between 
comma-separated parameters or in hyphen-specified ranges.
Note
This keyword is available only in privileged EXEC mode.
remote
Display only remote SPAN sessions.
detail
(Optional) Display detailed information about the specified sessions.
| begin
Display begins with the line that matches the expression.
| exclude
Display excludes lines that match the expression.
| include
Display includes lines that match the specified expression.
expression
Expression in the output to use as a reference point.
Release
Modification
12.2(53)SE2
This command was introduced.