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
... other company. (0502R) Catalyst 3560 Switch Command Reference Copyright © 2004-2005 Cisco Systems, Inc. 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, Fast...
... other company. (0502R) Catalyst 3560 Switch Command Reference Copyright © 2004-2005 Cisco Systems, Inc. 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, Fast...
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
... as the enhanced multilayer image (EMI). For more information, see the software configuration guide for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3560 switch, hereafter referred to as the Enhanced Interior Gateway Routing Protocol ...configuring your switch. Before using this release. 78-16405-05 Catalyst 3560 Switch Command Reference xix For documentation updates, see the Cisco IOS documentation set of service (QoS), static routing, and the Routing Information Protocol (RIP). Before using this release. This guide...
... as the enhanced multilayer image (EMI). For more information, see the software configuration guide for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3560 switch, hereafter referred to as the Enhanced Interior Gateway Routing Protocol ...configuring your switch. Before using this release. 78-16405-05 Catalyst 3560 Switch Command Reference xix For documentation updates, see the Cisco IOS documentation set of service (QoS), static routing, and the Routing Information Protocol (RIP). Before using this release. This guide...
Command Reference
Page 27
...features, see Appendix A, "Catalyst 3560 Switch Boot Loader Commands." Command modes support specific Cisco IOS commands. For information on the show platform commands, see the Cisco IOS Release 12.2 Command Summary. For task-oriented configuration steps, see Appendix B, "Catalyst ...configuration • Config-vlan • VLAN configuration • Line configuration 78-16405-05 Catalyst 3560 Switch Command Reference 1-1 For information on Cisco IOS Release 12.2, see Appendix C, "Catalyst 3560 Switch Show Platform Commands." CH A P T E R 1 Using the Command-Line Interface The...
...features, see Appendix A, "Catalyst 3560 Switch Boot Loader Commands." Command modes support specific Cisco IOS commands. For information on the show platform commands, see the Cisco IOS Release 12.2 Command Summary. For task-oriented configuration steps, see Appendix B, "Catalyst ...configuration • Config-vlan • VLAN configuration • Line configuration 78-16405-05 Catalyst 3560 Switch Command Reference 1-1 For information on Cisco IOS Release 12.2, see Appendix C, "Catalyst 3560 Switch Show Platform Commands." CH A P T E R 1 Using the Command-Line Interface The...
Command Reference
Page 32
... Group Management Protocol 2. Commands Changed in Cisco IOS 12.2(20)SE Chapter 1 Using the Command-Line Interface Commands Changed in software releases before Cisco IOS Release 12.2(20)SE. Table 1-2 Commands Changed Releases earlier than they did 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(...
... Group Management Protocol 2. Commands Changed in Cisco IOS 12.2(20)SE Chapter 1 Using the Command-Line Interface Commands Changed in software releases before Cisco IOS Release 12.2(20)SE. Table 1-2 Commands Changed Releases earlier than they did 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(...
Command Reference
Page 33
...; radius-List of all RADIUS hosts. • tacacs+-List of a process. Send a start accounting notice was received by the accounting server. 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...
...; radius-List of all RADIUS hosts. • tacacs+-List of a process. Send a start accounting notice was received by the accounting server. 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
... new-model dot1x reauthentication dot1x timeout reauth-period Description Specifies one or more AAA methods for use on an interface. For syntax information, see the Cisco IOS Security Command Reference, Release 12.2 > Authentication, Authorization, and Accounting > Authentication Commands. Sets the number of seconds between re-authentication attempts. Command Modes Global configuration Command...
... new-model dot1x reauthentication dot1x timeout reauth-period Description Specifies one or more AAA methods for use on an interface. For syntax information, see the Cisco IOS Security Command Reference, Release 12.2 > Authentication, Authorization, and Accounting > Authentication Commands. Sets the number of seconds between re-authentication attempts. Command Modes Global configuration Command...
Command Reference
Page 35
...(config)# aaa authentication dot1x default group radius You can verify your settings by entering the show running -config privileged EXEC command. 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...
...(config)# aaa authentication dot1x default group radius You can verify your settings by entering the show running -config privileged EXEC command. 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
... Commands. Catalyst 3560 Switch Command Reference 2-4 78-16405-05 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. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
... Commands. Catalyst 3560 Switch Command Reference 2-4 78-16405-05 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. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
Command Reference
Page 37
... can verify your settings by using the vlan access-map global configuration command. action {drop | forward} 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...
... can verify your settings by using the vlan access-map global configuration command. action {drop | forward} 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
For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. Displays the VLAN access maps created on the switch. Creates a VLAN ...the match conditions for a VLAN map. Creates a named MAC address access list. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. action Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Related Commands Command access-list {deny | permit} ip access-list mac access-list extended match...
For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. Displays the VLAN access maps created on the switch. Creates a VLAN ...the match conditions for a VLAN map. Creates a named MAC address access list. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. action Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Related Commands Command access-list {deny | permit} ip access-list mac access-list extended match...
Command Reference
Page 39
.... do not delete it is successfully downloaded. These options are deleted only if the existing version is deleted after the download. 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...
.... do not delete it is successfully downloaded. These options are deleted only if the existing version is deleted after the download. 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
The new image is downloaded. 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 flash device. ...: file system. If the images are different, the old image is deleted, and the new one is downloaded. archive download-sw Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Defaults The current software image is not overwritten with the downloaded one.
The new image is downloaded. 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 flash device. ...: file system. If the images are different, the old image is deleted, and the new one is downloaded. archive download-sw Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Defaults The current software image is not overwritten with the downloaded one.
Command Reference
Page 41
Uploads an existing image on the flash memory device. 78-16405-05 Catalyst 3560 Switch Command Reference 2-9 Deletes a file or directory on the switch to a server. 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.
Uploads an existing image on the flash memory device. 78-16405-05 Catalyst 3560 Switch Command Reference 2-9 Deletes a file or directory on the switch to a server. 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
... the files from which the new tar file is created. An optional list of the tar file to create. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Use the archive tar privileged EXEC command to be specified to write to the newly created tar file. 2-10 Catalyst 3560 Switch...
... the files from which the new tar file is created. An optional list of the tar file to create. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Use the archive tar privileged EXEC command to be specified to write to the newly created tar file. 2-10 Catalyst 3560 Switch...
Command Reference
Page 43
... an optional list of an existing tar file to the screen. None 78-16405-05 Catalyst 3560 Switch Command Reference 2-11 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...
... an optional list of an existing tar file to the screen. None 78-16405-05 Catalyst 3560 Switch Command Reference 2-11 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
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. The command writes the contents of the new-configs ...
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. The command writes the contents of the new-configs ...
Command Reference
Page 45
...Catalyst 3560 Switch Command Reference 2-13 Image names are uploaded, the software creates the tar file. These options are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. The files are supported: • The syntax for the local flash file system: flash: •... only if the HTML files associated with the embedded device manager have been installed with the existing image. 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 a server...
...Catalyst 3560 Switch Command Reference 2-13 Image names are uploaded, the software creates the tar file. These options are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. The files are supported: • The syntax for the local flash file system: flash: •... only if the HTML files associated with the embedded device manager have been installed with the existing image. 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 a server...