Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

Name

monitor session — global

Synopsis

monitor session session-number {source {interface interface-name}}
[range | rx | tx | both]
no monitor session session-number {source {interface interface-name}}
[range | rx | tx | both]
monitor session session-number {destination {interface interface-name}} [range]
no monitor session session-number {destination {interface interface-name}}
[range]
monitor session session-number
no monitor session session-number

Configures

Switched Port Analyzer (SPAN)

Default

None

Description

This command enables the Switched Port Analyzer or SPAN, which allows a port to “monitor” traffic that’s sent or received on another port or VLAN. For more information, see Chapter 14. Use the command show monitor to display the SPAN session information.

session-number

The SPAN session number. Valid values are 1 and 2.

source

Specifies the SPAN source.

destination

Specifies the SPAN destination.

interface-name

Optional. The interface type and number.

range

Optional. Specifies a list of VLANs to use for SPAN. It can be a list or a range. For example, “100,200,205,305” or “100-300”. Valid values are 1 to 1,005.

rx

Optional. Restricts monitor to received traffic only.

tx

Optional. Restricts monitor to transmitted traffic only.

both

Optional. Monitor for both received and transmitted traffic.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata