EasyManua.ls Logo

Cisco WS-C3560E-24PD-E User Manual

Cisco WS-C3560E-24PD-E
914 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #307 background imageLoading...
Page #307 background image
2-275
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
monitor session
monitor session
Use the monitor session global configuration command to start a new Switched Port Analyzer (SPAN)
session or Remote SPAN (RSPAN) source or destination session, to enable ingress traffic on the
destination port for a network security device (such as a Cisco IDS Sensor Appliance), 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 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. For destination
interfaces, the encapsulation options are ignored with the no form of the command.
monitor session session_number destination {interface interface-id [, | -] [encapsulation
replicate] [ingress {dot1q vlan vlan-id | isl | untagged vlan vlan-id | vlan vlan-id}]} | {remote
vlan vlan-id}
monitor session session_number filter vlan vlan-id [, | -]
monitor session session_number source {interface interface-id [, | -] [both | rx | tx]} | {vlan
vlan-id [, | -] [both | rx | tx]}| {remote vlan vlan-id}
no monitor session {session_number | all | local | remote}
no monitor session session_number destination {interface
interface-id [, | -] [encapsulation
replicate] [ingress {dot1q vlan vlan-id | isl | untagged vlan vlan-id | vlan vlan-id}]} | {remote
vlan vlan-id}
no monitor session session_number filter vlan vlan-id [, | -]
no monitor session session_number source {interface interface-id [, | -] [both | rx | tx]} | {vlan
vlan-id [, | -] [both | rx | tx]} | {remote vlan vlan-id}
Syntax Description session_number Specify the session number identified with the SPAN or RSPAN session.
The range is 1 to 66.
destination Specify the SPAN or RSPAN destination. A destination must be a physical
port.
interface interface-id Specify the destination or source interface for a SPAN or RSPAN session.
Valid interfaces are physical ports (including type and port number). For
source interface, port channel is also a valid interface type, and the valid
range is 1 to 48.
encapsulation replicate (Optional) Specify that the destination interface replicates the source
interface encapsulation method. If not selected, the default is to send
packets in native form (untagged).
These keywords are valid only for local SPAN. For RSPAN, the RSPAN
VLAN ID overwrites the original VLAN ID; therefore, packets are always
sent untagged.
ingress (Optional) Enable ingress traffic forwarding.
dot1q vlan vlan-id Accept incoming packets with IEEE 802.1Q encapsulation with the
specified VLAN as the default VLAN.
isl Specify ingress forwarding using ISL encapsulation.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Cisco WS-C3560E-24PD-E and is the answer not in the manual?

Cisco WS-C3560E-24PD-E Specifications

General IconGeneral
BrandCisco
ModelWS-C3560E-24PD-E
CategorySwitch
LanguageEnglish

Summary

Preface

Audience

Defines the target audience for the Cisco IOS CLI and switch software features.

Purpose

Describes the information about Layer 2 and Layer 3 commands for Catalyst 3560 switches.

Conventions

Explains text and symbol conventions used to convey instructions and information.

Related Publications

Lists related Cisco documents available from Cisco.com.

Obtaining Documentation

Explains how to access Cisco documentation and literature from Cisco.com and other sources.

Cisco Product Security Overview

Provides information on Cisco's Security Vulnerability Policy and how to report security problems.

Obtaining Technical Assistance

Provides information on how to obtain 24-hour technical assistance from Cisco.

CHAPTER 1 Using the Command-Line Interface

CLI Command Modes

Describes the CLI command mode structure and lists the main command modes for the switch.

Commands Changed in Cisco IOS 12.2(20)SE

Lists commands with the same function but different syntax in software releases before Cisco IOS Release 12.2(20)SE.

CHAPTER 2 Catalyst 3560 Switch Cisco IOS Commands

aaa accounting dot1x

Enables AAA accounting and creates method lists for IEEE 802.1x sessions.

auto qos voip

Configures QoS for voice over IP (VoIP) within a QoS domain.

boot system

Specifies the Cisco IOS image to load during the next boot cycle.

channel-group

Assigns an Ethernet port to an EtherChannel group, or enables an EtherChannel mode.

clear ip arp inspection log

Clears the dynamic ARP inspection log buffer.

dot1x

Globally enables IEEE 802.1x. Use the no form to return to the default setting.

ip address

Sets an IP address for the Layer 2 switch or an IP address for each switch virtual interface (SVI) or routed port.

mls qos

Enables quality of service (QoS) for the entire switch.

spanning-tree mode

Enables per-VLAN spanning-tree plus (PVST+), rapid PVST+, or multiple spanning tree (MST).

switchport mode

Configures the VLAN membership mode of a port.

vlan (global configuration)

Adds a VLAN and enters config-vlan mode. Use the no form to delete the VLAN.

vtp (global configuration)

Sets or modifies the VLAN Trunking Protocol (VTP) configuration characteristics.

APPENDIX A Catalyst 3560 Switch Boot Loader Commands

boot

Loads and boots an executable image and enters the command-line interface.

copy

Copies a file from a source to a destination.

delete

Deletes one or more files from the specified file system.

dir

Displays a list of files and directories on the specified file system.

set

Sets or displays environment variables to control the boot loader or other software.

APPENDIX B Catalyst 3560 Switch Debug Commands

debug auto qos

Enables debugging of the automatic quality of service (auto-QoS) feature.

debug cluster

Enables debugging of cluster-specific events.

debug dot1x

Enables debugging of the 802.1x feature.

debug ip dhcp snooping

Enables debugging of DHCP snooping.

debug platform ip multicast

Enables debugging of IP multicast routing.

debug spanning-tree

Enables debugging of spanning-tree activities.

debug sw-vlan

Enables debugging of VLAN manager activities.

APPENDIX C Catalyst 3560 Switch Show Platform Commands

show platform acl

Displays platform-dependent access control list (ACL) manager information.

show platform configuration

Displays platform-dependent configuration-manager related information.

show platform ip multicast

Displays platform-dependent IP multicast tables and other information.

show platform mac-address-table

Displays platform-dependent MAC address table information.

show platform pm

Displays platform-dependent port-manager information.

show platform port-asic

Displays platform-dependent port ASIC register information.

show platform qos

Displays global quality of service (QoS) information.

show platform spanning-tree

Displays spanning-tree state synchronization information.

Related product manuals