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 #151 background imageLoading...
Page #151 background image
2-119
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
interface range
• gigabitethernet module/{first port} - {last port}, where module is always 0
For physical interfaces:
–
module is always 0
–
the range is type 0/number - number (for example, gigabitethernet0/1 - 2)
• port-channel port-channel-number - port-channel-number, where port-channel-number is from 1
to 48
Note When you use the interface range command with port channels, the first and last port
channel number in the range must be active port channels.
When you define a range, you must enter a space between the first entry and the hyphen (-):
interface range gigabitethernet0/1 -2
When you define multiple ranges, you must still enter a space after the first entry and before the
comma (,):
interface range fastethernet0/1 - 2, gigabitethernet0/1 - 2
You cannot specify both a macro and an interface range in the same command.
You can also specify a single interface in port-range. The command is then similar to the interface
interface-id global configuration command.
For more information about configuring interface ranges, see the software configuration guide for this
release.
Examples This example shows how to use the interface range command to enter interface-range configuration
mode to apply commands to two ports:
Switch(config)# interface range gigabitethernet0/1 - 2
Switch(config-if-range)#
This example shows how to use a port-range macro macro1 for the same function. The advantage is that
you can reuse macro1 until you delete it.
Switch(config)# define interface-range macro1 gigabitethernet0/1 - 2
Switch(config)# interface range macro macro1
Switch(config-if-range)#
Related Commands Command Description
define interface-range Creates an interface range macro.
show running-config Displays the configuration information currently running on the switch. For
syntax information, select Cisco IOS Configuration Fundamentals
Command Reference, Release 12.2 > File Management Commands >
Configuration File Management Commands.

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