Command Reference
Page 1
Catalyst 3560 Switch Command Reference Cisco IOS Release 12.2(25)SED October 2005 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Customer Order Number: DOC-7816405= Text Part Number: 78-16405-05
Catalyst 3560 Switch Command Reference Cisco IOS Release 12.2(25)SED October 2005 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Customer Order Number: DOC-7816405= Text Part Number: 78-16405-05
Command Reference
Page 2
... of their respective owners. All rights reserved. The use of Cisco Systems, Inc.; All rights reserved. and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch...
... of their respective owners. All rights reserved. The use of Cisco Systems, Inc.; All rights reserved. and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch...
Command Reference
Page 3
... xx Related Publications xx Obtaining Documentation xxi Cisco.com xxi Product Documentation DVD xxii Ordering Documentation xxii Documentation Feedback xxii Cisco Product Security Overview xxiii Reporting Security Problems in Cisco Products xxiii Obtaining Technical Assistance xxiv Cisco Technical Support & Documentation Website xxiv Submitting ... Configuration Mode 1-3 Interface Configuration Mode 1-4 config-vlan Mode 1-4 VLAN Configuration Mode 1-5 Line Configuration Mode 1-5 Commands Changed in Cisco IOS 12.2(20)SE 1-6 CONTENTS 78-16405-05 Catalyst 3560 Switch Command Reference iii
... xx Related Publications xx Obtaining Documentation xxi Cisco.com xxi Product Documentation DVD xxii Ordering Documentation xxii Documentation Feedback xxii Cisco Product Security Overview xxiii Reporting Security Problems in Cisco Products xxiii Obtaining Technical Assistance xxiv Cisco Technical Support & Documentation Website xxiv Submitting ... Configuration Mode 1-3 Interface Configuration Mode 1-4 config-vlan Mode 1-4 VLAN Configuration Mode 1-5 Line Configuration Mode 1-5 Commands Changed in Cisco IOS 12.2(20)SE 1-6 CONTENTS 78-16405-05 Catalyst 3560 Switch Command Reference iii
Command Reference
Page 4
Contents 2 C H A P T E R Catalyst 3560 Switch Cisco IOS Commands 2-1 aaa accounting dot1x 2-1 aaa authentication dot1x 2-3 action 2-5 archive download-sw 2-7 archive tar 2-10 archive upload-sw 2-13 arp access-list 2-15 auto qos voip 2-...
Contents 2 C H A P T E R Catalyst 3560 Switch Cisco IOS Commands 2-1 aaa accounting dot1x 2-1 aaa authentication dot1x 2-3 action 2-5 archive download-sw 2-7 archive tar 2-10 archive upload-sw 2-13 arp access-list 2-15 auto qos voip 2-...
Command Reference
Page 19
...routing, and fallback bridging). This guide provides the information that have been created or changed for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3560 switch, hereafter referred to as the switch. For detailed configuration ...procedures, see the system message guide for this guide, you should have experience working with the Cisco IOS commands and the switch software features. Purpose The Catalyst 3560 switch is for use with the Catalyst 3560 switches. For information...
...routing, and fallback bridging). This guide provides the information that have been created or changed for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3560 switch, hereafter referred to as the switch. For detailed configuration ...procedures, see the system message guide for this guide, you should have experience working with the Cisco IOS commands and the switch software features. Purpose The Catalyst 3560 switch is for use with the Catalyst 3560 switches. For information...
Command Reference
Page 27
..., IP refers to IP version 4 (IPv4) unless there is supported by Cisco IOS software. For task-oriented configuration steps, see the Cisco IOS Release 12.2 Command Summary. For information on Cisco IOS Release 12.2, see the software configuration guide for the switch: • User...when entered in global configuration mode. For information on the debug commands, see Chapter 2, "Catalyst 3560 Switch Cisco IOS Commands." Command modes support specific Cisco IOS commands. CH A P T E R 1 Using the Command-Line Interface The Catalyst 3560 switch is a specific reference ...
..., IP refers to IP version 4 (IPv4) unless there is supported by Cisco IOS software. For task-oriented configuration steps, see the Cisco IOS Release 12.2 Command Summary. For information on Cisco IOS Release 12.2, see the software configuration guide for the switch: • User...when entered in global configuration mode. For information on the debug commands, see Chapter 2, "Catalyst 3560 Switch Cisco IOS Commands." Command modes support specific Cisco IOS commands. CH A P T E R 1 Using the Command-Line Interface The Catalyst 3560 switch is a specific reference ...
Command Reference
Page 32
... qos Enables debugging of service Catalyst 3560 Switch Command Reference 1-6 78-16405-05 Commands Changed in Cisco IOS 12.2(20)SE Chapter 1 Using the Command-Line Interface Commands Changed in Cisco IOS 12.2(20)SE Table 1-2 lists describes the commands that have the same function but different syntax ...than Cisco IOS Release 12.2(20)SE Cisco IOS Release 12.2(20)SE or later Description show ip igmp snooping ...
... qos Enables debugging of service Catalyst 3560 Switch Command Reference 1-6 78-16405-05 Commands Changed in Cisco IOS 12.2(20)SE Chapter 1 Using the Command-Line Interface Commands Changed in Cisco IOS 12.2(20)SE Table 1-2 lists describes the commands that have the same function but different syntax ...than Cisco IOS Release 12.2(20)SE Cisco IOS Release 12.2(20)SE or later Description show ip igmp snooping ...
Command Reference
Page 33
... IEEE 802.1x accounting. If the first server is optional when you enter it after the broadcast group and group keywords. CH A P T E R 2 Catalyst 3560 Switch Cisco IOS Commands aaa accounting dot1x Use the aaa accounting dot1x global configuration command to enable authentication, authorization, and accounting (AAA) accounting and to create method lists...
... IEEE 802.1x accounting. If the first server is optional when you enter it after the broadcast group and group keywords. CH A P T E R 2 Catalyst 3560 Switch Cisco IOS Commands aaa accounting dot1x Use the aaa accounting dot1x global configuration command to enable authentication, authorization, and accounting (AAA) accounting and to create method lists...
Command Reference
Page 34
...Modes Global configuration Command History Release 12.2(20)SE Modification This command was introduced. For syntax information, see the Cisco IOS Security Command Reference, Release 12.2 > Authentication, Authorization, and Accounting > Authentication Commands. Enables or disables periodic ...to accept and log update or watchdog packets from the AAA client. aaa accounting dot1x Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Defaults AAA accounting is disabled. We recommend that you enter the dot1x reauthentication interface configuration command before configuring IEEE...
...Modes Global configuration Command History Release 12.2(20)SE Modification This command was introduced. For syntax information, see the Cisco IOS Security Command Reference, Release 12.2 > Authentication, Authorization, and Accounting > Authentication Commands. Enables or disables periodic ...to accept and log update or watchdog packets from the AAA client. aaa accounting dot1x Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Defaults AAA accounting is disabled. We recommend that you enter the dot1x reauthentication interface configuration command before configuring IEEE...
Command Reference
Page 35
... method that the authentication algorithm tries in the command-line help strings, only the default and group radius keywords are supported. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands aaa authentication dot1x aaa authentication dot1x Use the aaa authentication dot1x global configuration command to specify the authentication, authorization, and accounting (AAA) method to...
... method that the authentication algorithm tries in the command-line help strings, only the default and group radius keywords are supported. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands aaa authentication dot1x aaa authentication dot1x Use the aaa authentication dot1x global configuration command to specify the authentication, authorization, and accounting (AAA) method to...
Command Reference
Page 36
... Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. aaa authentication dot1x Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Related Commands Command aaa new-model show running-config Description Enables the AAA access control model. Displays the current operating configuration. Catalyst 3560 Switch ...
... Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. aaa authentication dot1x Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Related Commands Command aaa new-model show running-config Description Enables the AAA access control model. Displays the current operating configuration. Catalyst 3560 Switch ...
Command Reference
Page 37
... Syntax Description drop forward Drop the packet when the specified conditions are not used in the no form of the command. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands action action Use the action access-map configuration command to set the action that causes the VLAN to forward an IP packet if the...
... Syntax Description drop forward Drop the packet when the specified conditions are not used in the no form of the command. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands action action Use the action access-map configuration command to set the action that causes the VLAN to forward an IP packet if the...
Command Reference
Page 38
... maps created on the switch. Creates a named access list. Catalyst 3560 Switch Command Reference 2-6 78-16405-05 For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. Defines the match conditions for a VLAN ...map. Creates a VLAN access map. action Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Related Commands Command access-list {deny | permit} ip access-list mac access-list extended match (access-map configuration) show vlan ...
... maps created on the switch. Creates a named access list. Catalyst 3560 Switch Command Reference 2-6 78-16405-05 For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. Defines the match conditions for a VLAN ...map. Creates a VLAN access map. action Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Related Commands Command access-list {deny | permit} ip access-list mac access-list extended match (access-map configuration) show vlan ...
Command Reference
Page 39
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive download-sw archive download-sw Use the archive download-sw privileged EXEC command to download a new image from a TFTP server to the switch ...
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive download-sw archive download-sw Use the archive download-sw privileged EXEC command to download a new image from a TFTP server to the switch ...
Command Reference
Page 40
...removes the HTML files for the existing image if the existing image is downloaded to begin using the delete privileged EXEC command. Only the Cisco IOS image (without the /overwrite option, the download algorithm verifies that the new image is not the same as the one on the switch... 172.20.129.10 and overwrite the image on the flash device with the downloaded image. archive download-sw Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Defaults The current software image is not overwritten with the downloaded one. Both the software image and HTML files are different, the old...
...removes the HTML files for the existing image if the existing image is downloaded to begin using the delete privileged EXEC command. Only the Cisco IOS image (without the /overwrite option, the download algorithm verifies that the new image is not the same as the one on the switch... 172.20.129.10 and overwrite the image on the flash device with the downloaded image. archive download-sw Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Defaults The current software image is not overwritten with the downloaded one. Both the software image and HTML files are different, the old...
Command Reference
Page 41
Deletes a file or directory on the switch to a server. Uploads an existing image on the flash memory device. 78-16405-05 Catalyst 3560 Switch Command Reference 2-9 Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive download-sw Related Commands Command archive tar archive upload-sw delete Description Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
Deletes a file or directory on the switch to a server. Uploads an existing image on the flash memory device. 78-16405-05 Catalyst 3560 Switch Command Reference 2-9 Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive download-sw Related Commands Command archive tar archive upload-sw delete Description Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
Command Reference
Page 42
... /create destination-url flash:/file-url Create a new tar file on the local flash file system from a tar file. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Use the archive tar privileged EXEC command to create a tar file, list files in a tar file, or extract the files from which...
... /create destination-url flash:/file-url Create a new tar file on the local flash file system from a tar file. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Use the archive tar privileged EXEC command to create a tar file, list files in a tar file, or extract the files from which...
Command Reference
Page 43
option to specify an optional list of an existing tar file to be extracted. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Defaults /table source-url /xtract source-url flash:/file-url [dir/file...] Display the contents of files or directories within the tar ...
option to specify an optional list of an existing tar file to be extracted. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Defaults /table source-url /xtract source-url flash:/file-url [dir/file...] Display the contents of files or directories within the tar ...
Command Reference
Page 44
... file that is in the saved.tar file are case sensitive. Usage Guidelines Filenames and directory names are ignored. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Command Modes Privileged EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. Image names are case sensitive. This command extracts just...
... file that is in the saved.tar file are case sensitive. Usage Guidelines Filenames and directory names are ignored. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Command Modes Privileged EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. Image names are case sensitive. This command extracts just...
Command Reference
Page 45
...creates the tar file. Defaults Uploads the currently running image from the flash: file system. After these files are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. Image names are supported: • The syntax for the local flash file system: flash: •... existing image. Command Modes Privileged EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive upload-sw archive upload-sw Use the archive upload-sw privileged EXEC command to upload an existing switch image to be ...
...creates the tar file. Defaults Uploads the currently running image from the flash: file system. After these files are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. Image names are supported: • The syntax for the local flash file system: flash: •... existing image. Command Modes Privileged EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive upload-sw archive upload-sw Use the archive upload-sw privileged EXEC command to upload an existing switch image to be ...