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 #64 background imageLoading...
Page #64 background image
2-32
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
channel-group
If you set the protocol by using the channel-protocol interface configuration command, the setting is
not overridden by the channel-group interface configuration command.
Do not configure a port that is an active or a not-yet-active member of an EtherChannel as an
IEEE 802.1x port. If you try to enable IEEE 802.1x on an EtherChannel port, an error message appears,
and IEEE 802.1x is not enabled.
Note If IEEE 802.1x is enabled on a not-yet active port of an EtherChannel in software releases earlier than
Cisco IOS Release 12.2(20)SE, the port does not join the EtherChannel.
Do not configure a secure port as part of an EtherChannel or an EtherChannel port as a secure port.
For a complete list of configuration guidelines, see the “Configuring EtherChannels” chapter in the
software configuration guide for this release.
Caution Do not enable Layer 3 addresses on the physical EtherChannel ports. Do not assign bridge groups on the
physical EtherChannel ports because it creates loops.
Examples This example shows how to configure an EtherChannel. It assigns two static-access ports in VLAN 10
to channel 5 with the PAgP mode desirable:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/1 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode desirable
Switch(config-if-range)# end
This example shows how to configure an EtherChannel. It assigns two static-access ports in VLAN 10
to channel 5 with the LACP mode active:
Switch# configure terminal
Switch(config)# interface range gigabitethernet0/1 -2
Switch(config-if-range)# switchport mode access
Switch(config-if-range)# switchport access vlan 10
Switch(config-if-range)# channel-group 5 mode active
Switch(config-if-range)# end
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands Command Description
channel-protocol Restricts the protocol used on a port to manage channeling.
interface port-channel Accesses or creates the port channel.
show etherchannel Displays EtherChannel information for a channel.
show lacp Displays LACP channel-group information.
show pagp Displays PAgP channel-group information.
show running-config Displays the current operating configuration. 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