Command Reference
Page 2
... DAMAGES, 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. and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, ...are trademarks of the UNIX operating system. All rights reserved. THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB...
... DAMAGES, 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. and Access Registrar, Aironet, ASIST, BPX, Catalyst, CCDA, ...are trademarks of the UNIX operating system. All rights reserved. THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB...
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
...Means reader be careful. Notes, cautions, and warnings use these conventions: • Commands and keywords 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 the switch, see these ...Requirements" section in the release notes (not orderable but available on Cisco.com). • For Network Assistant requirements, see the Getting Started with Cisco Network Assistant (not orderable but available on Cisco.com). Catalyst 3560 Switch Command Reference xx 78-16405-05 Conventions Preface...
...Means reader be careful. Notes, cautions, and warnings use these conventions: • Commands and keywords 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 the switch, see these ...Requirements" section in the release notes (not orderable but available on Cisco.com). • For Network Assistant requirements, see the Getting Started with Cisco Network Assistant (not orderable but available on Cisco.com). Catalyst 3560 Switch Command Reference xx 78-16405-05 Conventions Preface...
Command Reference
Page 59
Use the no arguments or keywords. Defaults Manual booting is shown by the switch: prompt. This command changes the setting of the boot environment variables. 78-16405-05 Catalyst 3560 Switch Command Reference 2-... specify the name of this command to return to enable manually booting the switch during the next boot cycle. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands boot manual boot manual Use the boot manual global configuration command to the default setting. boot manual no boot manual Syntax Description This command has no form of the bootable image...
Use the no arguments or keywords. Defaults Manual booting is shown by the switch: prompt. This command changes the setting of the boot environment variables. 78-16405-05 Catalyst 3560 Switch Command Reference 2-... specify the name of this command to return to enable manually booting the switch during the next boot cycle. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands boot manual boot manual Use the boot manual global configuration command to the default setting. boot manual no boot manual Syntax Description This command has no form of the bootable image...
Command Reference
Page 63
... packet analyzer that you make on mode. A example of all the physical ports assigned to a channel group. Caution You should manually configure the port-channel logical interface before assigning a physical port to the port-channel interface. Individual EtherChannel groups can occur. No ... channel group, but they cannot interoperate. 78-16405-05 Catalyst 3560 Switch Command Reference 2-31 Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. It automatically creates the port-channel interface when the channel group ...
... packet analyzer that you make on mode. A example of all the physical ports assigned to a channel group. Caution You should manually configure the port-channel logical interface before assigning a physical port to the port-channel interface. Individual EtherChannel groups can occur. No ... channel group, but they cannot interoperate. 78-16405-05 Catalyst 3560 Switch Command Reference 2-31 Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. It automatically creates the port-channel interface when the channel group ...
Command Reference
Page 113
Enables manual control of the authorization state of the port. 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. Displays IEEE 802.1x status for the specified port. 78-16405-05 Catalyst 3560 Switch Command Reference 2-81
Enables manual control of the authorization state of the port. 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. Displays IEEE 802.1x status for the specified port. 78-16405-05 Catalyst 3560 Switch Command Reference 2-81
Command Reference
Page 127
... a new authentication session on the port. After you enter 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 [interface... EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. 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.
... a new authentication session on the port. After you enter 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 [interface... EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. 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.
Command Reference
Page 131
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 this port by using the dot1x system-auth-control global configuration command before enabling IEEE 802.1x on a trunk ...
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 this port by using the dot1x system-auth-control global configuration command before enabling IEEE 802.1x on a trunk ...
Command Reference
Page 133
...seconds between re-authentication attempts. 78-16405-05 Catalyst 3560 Switch Command Reference 2-101 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...the specified IEEE 802.1x-enabled port. 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)...
...seconds between re-authentication attempts. 78-16405-05 Catalyst 3560 Switch Command Reference 2-101 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...the specified IEEE 802.1x-enabled port. 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
... seconds between periodic re-authentication attempts by entering the show dot1x [interface interface-id] Description Manually initiates a re-authentication of the client. Sets the number of time between re-authentication attempts. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command to enable periodic...
... seconds between periodic re-authentication attempts by entering the show dot1x [interface interface-id] Description Manually initiates a re-authentication of the client. Sets the number of time between re-authentication attempts. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command to enable periodic...
Command Reference
Page 141
... interfaces in an error-disabled state, an operational state that is the reason why the error-disabled state occurred. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable detect cause Usage Guidelines A cause (all causes have timed out. Displays interface status or a list of the error-disabled... state and allowed to retry the operation when all , dhcp-rate-limit, and so forth) is similar to manually recover an interface from the error-disabled state. When a cause is detected on an interface, the interface is placed in the error-disabled ...
... interfaces in an error-disabled state, an operational state that is the reason why the error-disabled state occurred. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable detect cause Usage Guidelines A cause (all causes have timed out. Displays interface status or a list of the error-disabled... state and allowed to retry the operation when all , dhcp-rate-limit, and so forth) is similar to manually recover an interface from the error-disabled state. When a cause is detected on an interface, the interface is placed in the error-disabled ...
Command Reference
Page 143
... from the error-disabled state. Specify the time to 500 seconds: Switch(config)# errdisable recovery interval 500 You can be up to manually recover an interface from the specified error-disabled state. Note The error-disabled recovery timer is 30 to recover from the configured interval value... VLAN Membership Policy Server (VMPS) error-disabled state. Usage Guidelines A cause (all the causes have timed out. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable recovery vmps interval interval Enable the timer to 86400 seconds. The default recovery interval is 300 seconds.
... from the error-disabled state. Specify the time to 500 seconds: Switch(config)# errdisable recovery interval 500 You can be up to manually recover an interface from the specified error-disabled state. Note The error-disabled recovery timer is 30 to recover from the configured interval value... VLAN Membership Policy Server (VMPS) error-disabled state. Usage Guidelines A cause (all the causes have timed out. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands errdisable recovery vmps interval interval Enable the timer to 86400 seconds. The default recovery interval is 300 seconds.
Command Reference
Page 148
... channel group used as a Layer 3 port-channel interface because it creates loops. 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. Defaults No port-channel ...logical interfaces are assigned to a channel group. You should manually configure the port-channel logical interface before assigning a physical port to the channel group. Caution Do not assign bridge groups on...
... channel group used as a Layer 3 port-channel interface because it creates loops. 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. Defaults No port-channel ...logical interfaces are assigned to a channel group. You should manually configure the port-channel logical interface before assigning a physical port to the channel group. Caution Do not assign bridge groups on...
Command Reference
Page 196
...snooping querier timeout expiry 60 This example shows how to set 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. VLAN IDs 1002 to 1005 ...are using IGMP Version 1 (IGMPv1). ip igmp snooping querier Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Usage Guidelines Use this command to enable IGMP snooping to run IGMPv1. Displays the IGMP snooping configuration. Displays IGMP snooping multicast information....
...snooping querier timeout expiry 60 This example shows how to set 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. VLAN IDs 1002 to 1005 ...are using IGMP Version 1 (IGMPv1). ip igmp snooping querier Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Usage Guidelines Use this command to enable IGMP snooping to run IGMPv1. Displays the IGMP snooping configuration. Displays IGMP snooping multicast information....
Command Reference
Page 346
... void your warranty. Refer to documentation. Displays the PoE status for the specified PoE port or for this release. Note When you manually configure the power budget, you enter this command on a switch or port that does not support PoE, an error message appears. ...power inline consumption default privileged EXEC command. This command is supported only on PoE ports. 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 caution message appears...
... void your warranty. Refer to documentation. Displays the PoE status for the specified PoE port or for this release. Note When you manually configure the power budget, you enter this command on a switch or port that does not support PoE, an error message appears. ...power inline consumption default privileged EXEC command. This command is supported only on PoE ports. 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 caution message appears...
Command Reference
Page 349
.... Associate a secondary VLAN to normal VLAN configuration. VTP does not propagate private-VLAN configuration. 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 be configured in the... 1005 in the private-VLAN configuration. Designate the VLAN as a community VLAN. After you configure a private VLAN, you must manually configure private VLANs on all switches in private VLANs. 78-16405-05 Catalyst 3560 Switch Command Reference 2-317 Extended VLANs (VLAN IDs...
.... Associate a secondary VLAN to normal VLAN configuration. VTP does not propagate private-VLAN configuration. 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 be configured in the... 1005 in the private-VLAN configuration. Designate the VLAN as a community VLAN. After you configure a private VLAN, you must manually configure private VLANs on all switches in private VLANs. 78-16405-05 Catalyst 3560 Switch Command Reference 2-317 Extended VLANs (VLAN IDs...
Command Reference
Page 357
...Protocol (STP) can configure RSPAN VLANs only in config-VLAN mode (entered by using the vlan database privileged EXEC command. Before you must manually configure intermediate switches (those in the RSPAN VLAN, but it does not run in the RSPAN VLAN between the source switch and the destination... switch). Chapter 2 Catalyst 3560 Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command to remove the RSPAN designation from the VLAN. Any access ports...
...Protocol (STP) can configure RSPAN VLANs only in config-VLAN mode (entered by using the vlan database privileged EXEC command. Before you must manually configure intermediate switches (those in the RSPAN VLAN, but it does not run in the RSPAN VLAN between the source switch and the destination... switch). Chapter 2 Catalyst 3560 Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command to remove the RSPAN designation from the VLAN. Any access ports...
Command Reference
Page 386
... output, the lines that contain output are not displayed, but the lines that match the specified expression. show boot Chapter 2 Catalyst 3560 Switch Cisco IOS Commands show boot Use the show boot BOOT path-list: flash:c3560-ipservices-mz.122-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 Switch# show boot ...
... output, the lines that contain output are not displayed, but the lines that match the specified expression. show boot Chapter 2 Catalyst 3560 Switch Cisco IOS Commands show boot Use the show boot BOOT path-list: flash:c3560-ipservices-mz.122-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 Switch# show boot ...
Command Reference
Page 387
...first search through the flash file system. Related Commands Command boot config-file boot enable-break boot manual boot private-config-file boot system Description Specifies the filename that Cisco IOS uses to load and execute the first executable image it is set but the specified images cannot.... The configuration file cannot be loaded, the system attempts to boot the first bootable file that Cisco IOS uses to hold a copy of the configuration file in memory. Enables manually booting the switch during the next boot cycle. 78-16405-05 Catalyst 3560 Switch Command Reference 2-...
...first search through the flash file system. Related Commands Command boot config-file boot enable-break boot manual boot private-config-file boot system Description Specifies the filename that Cisco IOS uses to load and execute the first executable image it is set but the specified images cannot.... The configuration file cannot be loaded, the system attempts to boot the first bootable file that Cisco IOS uses to hold a copy of the configuration file in memory. Enables manually booting the switch during the next boot cycle. 78-16405-05 Catalyst 3560 Switch Command Reference 2-...
Command Reference
Page 404
...output from the show controllers ethernet-controller port-asic configuration command: Switch# 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 output from... 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 Disable ...
...output from the show controllers ethernet-controller port-asic configuration command: Switch# 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 output from... 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 Disable ...