Command Reference
Page 2
...affiliates in the United States and certain other trademarks mentioned in this document or Website are registered trademarks of Cisco Systems, Inc.; ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. THE ..., INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS...
...affiliates in the United States and certain other trademarks mentioned in this document or Website are registered trademarks of Cisco Systems, Inc.; ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. THE ..., INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS...
Command Reference
Page 4
... 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-17 boot boothlpr 2-22 boot config-file 2-23 boot enable-break 2-24 boot helper 2-25 boot helper-config-file 2-26 boot manual 2-27...
... 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-17 boot boothlpr 2-22 boot config-file 2-23 boot enable-break 2-24 boot helper 2-25 boot helper-config-file 2-26 boot manual 2-27...
Command Reference
Page 20
...be careful. Related Publications These documents provide complete information about the switch and are available from this Cisco.com site: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3560/index.htm Note Before installing, configuring, or upgrading...in the hardware installation guide. • For device manager requirements, see the Getting Started with Cisco Network Assistant (not orderable but available on Cisco.com). Notes, cautions, and warnings use these conventions: • Terminal sessions and system displays... uses these conventions to materials not contained in this manual.
...be careful. Related Publications These documents provide complete information about the switch and are available from this Cisco.com site: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3560/index.htm Note Before installing, configuring, or upgrading...in the hardware installation guide. • For device manager requirements, see the Getting Started with Cisco Network Assistant (not orderable but available on Cisco.com). Notes, cautions, and warnings use these conventions: • Terminal sessions and system displays... uses these conventions to materials not contained in this manual.
Command Reference
Page 59
...Command show boot Description Displays the settings of the MANUAL_BOOT environment variable. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands boot manual boot manual Use the boot manual global configuration command to the default setting. Command Modes Global configuration Command History Release 12.1(19)EA1 ...-05 Catalyst 3560 Switch Command Reference 2-27 For more information, see Appendix A, "Catalyst 3560 Switch Boot Loader Commands." Defaults Manual booting is shown by the switch: prompt. Usage Guidelines The next time you reboot the system, the switch is in boot...
...Command show boot Description Displays the settings of the MANUAL_BOOT environment variable. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands boot manual boot manual Use the boot manual global configuration command to the default setting. Command Modes Global configuration Command History Release 12.1(19)EA1 ...-05 Catalyst 3560 Switch Command Reference 2-27 For more information, see Appendix A, "Catalyst 3560 Switch Boot Loader Commands." Defaults Manual booting is shown by the switch: prompt. Usage Guidelines The next time you reboot the system, the switch is in boot...
Command Reference
Page 63
...was changed from ever becoming operational. Instead, you apply the configuration. Configuration changes applied to a channel group. Caution You should manually configure the port-channel logical interface before assigning a physical port to the physical port affect only the port where you can use...to a channel group, and to the port-channel interface. If the group is not already created. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. You create Layer 3 port channels by using the interface port-channel command ...
...was changed from ever becoming operational. Instead, you apply the configuration. Configuration changes applied to a channel group. Caution You should manually configure the port-channel logical interface before assigning a physical port to the physical port affect only the port where you can use...to a channel group, and to the port-channel interface. If the group is not already created. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. You create Layer 3 port channels by using the interface port-channel command ...
Command Reference
Page 113
Enables manual control of the authorization state of the port. Displays IEEE 802.1x status for the specified port. 78-16405-05 Catalyst 3560 Switch Command Reference 2-81 Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x Related Commands Command dot1x guest-vlan dot1x port-control show dot1x [interface interface-id] Description Enables and specifies an active VLAN as an IEEE 802.1x guest VLAN.
Enables manual control of the authorization state of the port. Displays IEEE 802.1x status for the specified port. 78-16405-05 Catalyst 3560 Switch Command Reference 2-81 Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x Related Commands Command dot1x guest-vlan dot1x port-control show dot1x [interface interface-id] Description Enables and specifies an active VLAN as an IEEE 802.1x guest VLAN.
Command Reference
Page 127
...form of this command, the port status becomes unauthorized. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x initialize dot1x initialize Use the dot1x initialize privileged EXEC command to manually return the specified IEEE 802.1x-enabled port to be initialized. Usage Guidelines Use this... command to initialize the IEEE 802.1x state machines and to manually initialize a port: Switch# dot1x initialize interface gigabitethernet0/2 You can verify the unauthorized port status by entering the show dot1x [...
...form of this command, the port status becomes unauthorized. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x initialize dot1x initialize Use the dot1x initialize privileged EXEC command to manually return the specified IEEE 802.1x-enabled port to be initialized. Usage Guidelines Use this... command to initialize the IEEE 802.1x state machines and to manually initialize a port: Switch# dot1x initialize interface gigabitethernet0/2 You can verify the unauthorized port status by entering the show dot1x [...
Command Reference
Page 131
... port and cause the port to change the mode of the client. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x port-control dot1x port-control Use the dot1x port-control interface configuration command to enable manual control of the authorization state of an IEEE 802.1x-enabled port to dynamic, an error...
... port and cause the port to change the mode of the client. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x port-control dot1x port-control Use the dot1x port-control interface configuration command to enable manual control of the authorization state of an IEEE 802.1x-enabled port to dynamic, an error...
Command Reference
Page 133
...is no default setting. Sets the number of the specified IEEE 802.1x-enabled port. Examples This example shows how to manually re-authenticate the device connected to a port: Switch# dot1x re-authenticate interface gigabitethernet0/1 Related Commands Command dot1x reauthentication dot1x...id Module and port number of the client. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x re-authenticate dot1x re-authenticate Use the dot1x re-authenticate privileged EXEC command to manually initiate a re-authentication of seconds between re-authentication attempts (re-authperiod) ...
...is no default setting. Sets the number of the specified IEEE 802.1x-enabled port. Examples This example shows how to manually re-authenticate the device connected to a port: Switch# dot1x re-authenticate interface gigabitethernet0/1 Related Commands Command dot1x reauthentication dot1x...id Module and port number of the client. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x re-authenticate dot1x re-authenticate Use the dot1x re-authenticate privileged EXEC command to manually initiate a re-authentication of seconds between re-authentication attempts (re-authperiod) ...
Command Reference
Page 135
.... Sets the number of seconds between periodic re-authentication attempts by entering the show dot1x [interface interface-id] Description Manually initiates a re-authentication of time between re-authentication attempts. Usage Guidelines You configure the amount of all IEEE 802....1x-enabled ports. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command to the default setting. dot1x reauthentication no...
.... Sets the number of seconds between periodic re-authentication attempts by entering the show dot1x [interface interface-id] Description Manually initiates a re-authentication of time between re-authentication attempts. Usage Guidelines You configure the amount of all IEEE 802....1x-enabled ports. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command to the default setting. dot1x reauthentication no...
Command Reference
Page 141
...and allowed to a link-down state. Related Commands Command show errdisable detect show errdisable detect privileged EXEC command. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable detect cause Usage Guidelines A cause (all causes have timed out. When a cause is detected on an interface, the ...interface is placed in the error-disabled state. 78-16405-05 Catalyst 3560 Switch Command Reference 2-109 Examples This example shows how to manually recover an interface from the error-disabled state. If you do not set a recovery mechanism, you set a recovery mechanism for the ...
...and allowed to a link-down state. Related Commands Command show errdisable detect show errdisable detect privileged EXEC command. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable detect cause Usage Guidelines A cause (all causes have timed out. When a cause is detected on an interface, the ...interface is placed in the error-disabled state. 78-16405-05 Catalyst 3560 Switch Command Reference 2-109 Examples This example shows how to manually recover an interface from the error-disabled state. If you do not set a recovery mechanism, you set a recovery mechanism for the ...
Command Reference
Page 143
...is 300 seconds. If you must enter the shutdown and then the no shutdown interface configuration commands. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable recovery vmps interval interval Enable the timer to all causes. The default recovery interval is 300 seconds. The range...for the BPDU guard error-disabled cause: Switch(config)# errdisable recovery cause bpduguard This example shows how to set the timer to manually recover an interface from the VLAN Membership Policy Server (VMPS) error-disabled state. The l2ptguard keyword was added. Examples This ...
...is 300 seconds. If you must enter the shutdown and then the no shutdown interface configuration commands. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable recovery vmps interval interval Enable the timer to all causes. The default recovery interval is 300 seconds. The range...for the BPDU guard error-disabled cause: Switch(config)# errdisable recovery cause bpduguard This example shows how to set the timer to manually recover an interface from the VLAN Membership Policy Server (VMPS) error-disabled state. The l2ptguard keyword was added. Examples This ...
Command Reference
Page 148
...before putting the interface into the channel group. Caution Do not assign bridge groups on the physical ports that are defined. You should manually configure the port-channel logical interface before assigning a physical port to 48. You must also disable spanning tree. 2-116 Catalyst 3560 ... creates the port-channel interface when the channel group gets its first physical port. interface port-channel Chapter 2 Catalyst 3560 Switch Cisco IOS Commands interface port-channel Use the interface port-channel global configuration command to remove the port-channel. Use the no form of...
...before putting the interface into the channel group. Caution Do not assign bridge groups on the physical ports that are defined. You should manually configure the port-channel logical interface before assigning a physical port to 48. You must also disable spanning tree. 2-116 Catalyst 3560 ... creates the port-channel interface when the channel group gets its first physical port. interface port-channel Chapter 2 Catalyst 3560 Switch Cisco IOS Commands interface port-channel Use the interface port-channel global configuration command to remove the port-channel. Use the no form of...
Command Reference
Page 196
...IGMP query messages, which is set the IGMP snooping querier feature to version 2: Switch(config)# ip igmp snooping querier version 2 You can manually configure the max-response-time value when devices use IGMPv1. (The value cannot be used in IGMP snooping. Displays IGMP snooping multicast information... IGMP snooping router ports. 2-164 Catalyst 3560 Switch Command Reference 78-16405-05 ip igmp snooping querier Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Usage Guidelines Use this command to enable IGMP snooping to detect the IGMP version and IP address of a device that are...
...IGMP query messages, which is set the IGMP snooping querier feature to version 2: Switch(config)# ip igmp snooping querier version 2 You can manually configure the max-response-time value when devices use IGMPv1. (The value cannot be used in IGMP snooping. Displays IGMP snooping multicast information... IGMP snooping router ports. 2-164 Catalyst 3560 Switch Command Reference 78-16405-05 ip igmp snooping querier Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Usage Guidelines Use this command to enable IGMP snooping to detect the IGMP version and IP address of a device that are...
Command Reference
Page 346
...consumption default privileged EXEC command. This command is supported only on PoE ports. Refer to oversubscribe the power supply. Note When you manually configure the power budget, you must also consider the power loss over the cable between the switch and the powered device. For more...that does not support PoE, an error message appears. Refer to oversubscribe the power supply. power inline consumption Chapter 2 Catalyst 3560 Switch Cisco IOS Commands When you enter the power inline consumption default wattage or the no power inline consumption default command, this example shows how ...
...consumption default privileged EXEC command. This command is supported only on PoE ports. Refer to oversubscribe the power supply. Note When you manually configure the power budget, you must also consider the power loss over the cable between the switch and the powered device. For more...that does not support PoE, an error message appears. Refer to oversubscribe the power supply. power inline consumption Chapter 2 Catalyst 3560 Switch Cisco IOS Commands When you enter the power inline consumption default wattage or the no power inline consumption default command, this example shows how ...
Command Reference
Page 349
...cannot include VLAN 1 or VLANs 1002 to be configured in the private-VLAN configuration. After you configure a private VLAN, you must manually configure private VLANs on all switches in a private VLAN. Extended VLANs (VLAN IDs 1006 to 4094) can be associated with a primary... primary VLAN. Command Modes VLAN configuration Command History Release 12.2(20)SE Modification This command was introduced. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands private-vlan private-vlan Use the private-vlan VLAN configuration command to configure private VLANs and to a primary VLAN. Associate ...
...cannot include VLAN 1 or VLANs 1002 to be configured in the private-VLAN configuration. After you configure a private VLAN, you must manually configure private VLANs on all switches in a private VLAN. Extended VLANs (VLAN IDs 1006 to 4094) can be associated with a primary... primary VLAN. Command Modes VLAN configuration Command History Release 12.2(20)SE Modification This command was introduced. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands private-vlan private-vlan Use the private-vlan VLAN configuration command to configure private VLANs and to a primary VLAN. Associate ...
Command Reference
Page 357
...enabled, the RSPAN feature is disabled. 78-16405-05 Catalyst 3560 Switch Command Reference 2-325 Any access ports are defined. Before you must manually configure intermediate switches (those in the extended range, you configure the RSPAN remote-span command, use the vlan (global configuration) command to... create the VLAN. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command to configure a VLAN as an RSPAN VLAN. If the RSPAN...
...enabled, the RSPAN feature is disabled. 78-16405-05 Catalyst 3560 Switch Command Reference 2-325 Any access ports are defined. Before you must manually configure intermediate switches (those in the extended range, you configure the RSPAN remote-span command, use the vlan (global configuration) command to... create the VLAN. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command to configure a VLAN as an RSPAN VLAN. If the RSPAN...
Command Reference
Page 386
... was introduced. Examples This is an example of the boot environment variables. Expression in the display. show boot Chapter 2 Catalyst 3560 Switch Cisco IOS Commands show boot Use the show boot privileged EXEC command to use as a reference point. show boot BOOT path-list: flash:c3560...25.SEB/c3560-ipservices-mz.122-25.SEB.bin Config file: flash:/config.text Private Config file: flash:/private-config Enable Break: no Manual Boot: yes HELPER path-list: NVRAM/Config file buffer size: 32768 2-354 Catalyst 3560 Switch Command Reference 78-16405-05 Usage Guidelines ...
... was introduced. Examples This is an example of the boot environment variables. Expression in the display. show boot Chapter 2 Catalyst 3560 Switch Cisco IOS Commands show boot Use the show boot privileged EXEC command to use as a reference point. show boot BOOT path-list: flash:c3560...25.SEB/c3560-ipservices-mz.122-25.SEB.bin Config file: flash:/config.text Private Config file: flash:/private-config Enable Break: no Manual Boot: yes HELPER path-list: NVRAM/Config file buffer size: 32768 2-354 Catalyst 3560 Switch Command Reference 78-16405-05 Usage Guidelines ...
Command Reference
Page 387
... a semicolon separated list of loadable files to load during the boot loader initialization. Displays the buffer size that Cisco IOS uses to yes, on, or 1, you must manually boot the switch from the boot loader mode. In a depth-first search of a directory, each encountered subdirectory... a break during the next boot cycle. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands show boot Table 2-17 show boot Field Descriptions Field BOOT path-list Config file Private Config file Enable Break Manual Boot Helper path-list NVRAM/Config file buffer size Description Displays a semicolon...
... a semicolon separated list of loadable files to load during the boot loader initialization. Displays the buffer size that Cisco IOS uses to yes, on, or 1, you must manually boot the switch from the boot loader mode. In a depth-first search of a directory, each encountered subdirectory... a break during the next boot cycle. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands show boot Table 2-17 show boot Field Descriptions Field BOOT path-list Config file Private Config file Enable Break Manual Boot Helper path-list NVRAM/Config file buffer size Description Displays a semicolon...
Command Reference
Page 404
...0000 0000 0000 Reserved Register 1 : 0000 0000 0000 0000 Global Status : 0000 0000 0000 0000 LED Control : 0100 0001 0000 0000 Manual LED Override : 0000 1000 0010 1010 Extended PHY Specific Control : 0000 0000 0001 1010 Disable Receiver 1 : 0000 0000 0000 1011 ...00000000 InterruptStatusMask : 01FFE800 2-372 Catalyst 3560 Switch Command Reference 78-16405-05 show controllers ethernet-controller Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Table 2-20 Receive Field Descriptions (continued) Field Description System FCS error frames The total number of frames received on...
...0000 0000 0000 Reserved Register 1 : 0000 0000 0000 0000 Global Status : 0000 0000 0000 0000 LED Control : 0100 0001 0000 0000 Manual LED Override : 0000 1000 0010 1010 Extended PHY Specific Control : 0000 0000 0001 1010 Disable Receiver 1 : 0000 0000 0000 1011 ...00000000 InterruptStatusMask : 01FFE800 2-372 Catalyst 3560 Switch Command Reference 78-16405-05 show controllers ethernet-controller Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Table 2-20 Receive Field Descriptions (continued) Field Description System FCS error frames The total number of frames received on...