Command Reference
Page 29
... disable privileged EXEC command. Switch> ? The default is case sensitive. To return to temporarily change terminal settings, perform basic tests, and list system information. In general, use . The supported commands can vary depending on the version of software in use . The privileged EXEC mode prompt is the device name followed by the pound sign (#). Switch# Enter the enable command to enter commands from terminal, memory, or network [terminal]? Chapter 1 Using the Command-Line Interface CLI Command Modes User EXEC Mode...
... disable privileged EXEC command. Switch> ? The default is case sensitive. To return to temporarily change terminal settings, perform basic tests, and list system information. In general, use . The supported commands can vary depending on the version of software in use . The privileged EXEC mode prompt is the device name followed by the pound sign (#). Switch# Enter the enable command to enter commands from terminal, memory, or network [terminal]? Chapter 1 Using the Command-Line Interface CLI Command Modes User EXEC Mode...
Command Reference
Page 63
.... This is not generating traffic. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. If you make on mode. After you configure an EtherChannel, configuration changes that you can use a new number. However, it allows PAgP to operate, to attach the port to a channel group, and to use care when using the interface port-channel global configuration command before putting the interface into the channel group. If the group is part of the EtherChannel must have...
.... This is not generating traffic. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. If you make on mode. After you configure an EtherChannel, configuration changes that you can use a new number. However, it allows PAgP to operate, to attach the port to a channel group, and to use care when using the interface port-channel global configuration command before putting the interface into the channel group. If the group is part of the EtherChannel must have...
Command Reference
Page 108
... -route parameter-option port-unreachable renum-command renum-seq-number router-renumbering time-exceeded Examples This example configures the IPv6 access list named CISCO and applies the access list to leave the interface. The second permit entry in the list permits all other traffic to outbound traffic on an interface. The first deny entry in the list prevents all current IPv6 access lists. 2-76 Catalyst 3560 Switch Command Reference 78-16405-05 deny (IPv6 access-list configuration) Chapter 2 Catalyst 3560 Switch Cisco IOS Commands...
... -route parameter-option port-unreachable renum-command renum-seq-number router-renumbering time-exceeded Examples This example configures the IPv6 access list named CISCO and applies the access list to leave the interface. The second permit entry in the list permits all other traffic to outbound traffic on an interface. The first deny entry in the list prevents all current IPv6 access lists. 2-76 Catalyst 3560 Switch Command Reference 78-16405-05 deny (IPv6 access-list configuration) Chapter 2 Catalyst 3560 Switch Cisco IOS Commands...
Command Reference
Page 157
... keyword is omitted, the configured address is defined. Defaults No IP address is the primary IP address. Command Modes Interface configuration Command History Release 12.1(19)EA1 Modification This command was introduced. If the switch detects another host using the Internet Control Message Protocol (ICMP) Mask Request message. Inconsistent use of secondary addresses on the Layer 3 switch. Mask for each switch virtual interface (SVI) or routed port on a network segment can disable IP processing on that...
... keyword is omitted, the configured address is defined. Defaults No IP address is the primary IP address. Command Modes Interface configuration Command History Release 12.1(19)EA1 Modification This command was introduced. If the switch detects another host using the Internet Control Message Protocol (ICMP) Mask Request message. Inconsistent use of secondary addresses on the Layer 3 switch. Mask for each switch virtual interface (SVI) or routed port on a network segment can disable IP processing on that...
Command Reference
Page 235
... interface configuration command determines which ports are bundled and which switch controls the link. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command to configure the port priority for LACP. In port-priority comparisons, a numerically lower value has a higher priority: When there are put in hot-standby mode when there are more than eight ports in an LACP channel-group, the eight ports with the default setting...
... interface configuration command determines which ports are bundled and which switch controls the link. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command to configure the port priority for LACP. In port-priority comparisons, a numerically lower value has a higher priority: When there are put in hot-standby mode when there are more than eight ports in an LACP channel-group, the eight ports with the default setting...
Command Reference
Page 255
... Cisco-default macro with $ mean that of a specific macro by using the parameter value keywords. This example shows how troubleshoot the user-created macro called duplex to help identify required keywords. When you use the $ character to an interface: Switch(config-if)# macro apply duplex To debug a macro, use inactivity timer switchport port-security violation restrict switchport port-security aging time 2 switchport port-security aging type inactivity 78-16405-05 Catalyst 3560 Switch Command Reference...
... Cisco-default macro with $ mean that of a specific macro by using the parameter value keywords. This example shows how troubleshoot the user-created macro called duplex to help identify required keywords. When you use the $ character to an interface: Switch(config-if)# macro apply duplex To debug a macro, use inactivity timer switchport port-security violation restrict switchport port-security aging time 2 switchport port-security aging type inactivity 78-16405-05 Catalyst 3560 Switch Command Reference...
Command Reference
Page 259
... linkup snmp-server enable traps linkdown #set snmp-server host snmp-server host ADDRESS #set SNMP trap notifications precedence snmp-server ip precedence VALUE Switch(config)# macro global apply snmp ADDRESS test-server VALUE 7 To debug a macro, use the $ character to a switch. Applying command...'snmp-server ip precedence 7' 78-16405-05 Catalyst 3560 Switch Command Reference 2-227 Display the contents of the macro is applied to define keywords when you create a macro. The Cisco-default macros use the macro global trace global configuration command...
... linkup snmp-server enable traps linkdown #set snmp-server host snmp-server host ADDRESS #set SNMP trap notifications precedence snmp-server ip precedence VALUE Switch(config)# macro global apply snmp ADDRESS test-server VALUE 7 To debug a macro, use the $ character to a switch. Applying command...'snmp-server ip precedence 7' 78-16405-05 Catalyst 3560 Switch Command Reference 2-227 Display the contents of the macro is applied to define keywords when you create a macro. The Cisco-default macros use the macro global trace global configuration command...
Command Reference
Page 268
... this command to enabled. The default setting changed from disabled to disable auto-MDIX. It is supported on all 10/100 and 10/100/1000 Mbps interfaces and on the interface. mdix auto Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mdix auto Use the mdix auto interface configuration command to enable the automatic medium-dependent interface crossover (auto-MDIX) feature on 10/100/1000BASE-TX small form-factor pluggable (SFP) module interfaces. Defaults Auto-MDIX is enabled, the interface automatically detects the required cable connection type...
... this command to enabled. The default setting changed from disabled to disable auto-MDIX. It is supported on all 10/100 and 10/100/1000 Mbps interfaces and on the interface. mdix auto Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mdix auto Use the mdix auto interface configuration command to enable the automatic medium-dependent interface crossover (auto-MDIX) feature on 10/100/1000BASE-TX small form-factor pluggable (SFP) module interfaces. Defaults Auto-MDIX is enabled, the interface automatically detects the required cable connection type...
Command Reference
Page 270
.... Command Modes Global configuration Command History Release 12.1(19)EA1 Modification This command was introduced. Examples This example shows how to enable QoS on all other QoS settings are not deleted from the switch hardware to their defaults, traffic is classified as best effort without any policing). mls qos Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mls qos Use the mls qos global configuration command to enable quality of service (QoS) for the entire switch. The default port trust state on the switch: Switch(config...
.... Command Modes Global configuration Command History Release 12.1(19)EA1 Modification This command was introduced. Examples This example shows how to enable QoS on all other QoS settings are not deleted from the switch hardware to their defaults, traffic is classified as best effort without any policing). mls qos Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mls qos Use the mls qos global configuration command to enable quality of service (QoS) for the entire switch. The default port trust state on the switch: Switch(config...
Command Reference
Page 315
...) Statically configure the specified MVR IP multicast group address for the configured multicast groups. Receiver ports cannot belong to the default settings. Command Modes Interface configuration Command History Release 12.1(19)EA1 Modification This command was introduced. 78-16405-05 Catalyst 3560 Switch Command Reference 2-283 The default port type is disabled on a switch belong to a single multicast VLAN. (Optional) Add the port as neither a receiver nor a source. Defaults A port is the IP address of any configured multicast group. Use the no mvr type command resets...
...) Statically configure the specified MVR IP multicast group address for the configured multicast groups. Receiver ports cannot belong to the default settings. Command Modes Interface configuration Command History Release 12.1(19)EA1 Modification This command was introduced. 78-16405-05 Catalyst 3560 Switch Command Reference 2-283 The default port type is disabled on a switch belong to a single multicast VLAN. (Optional) Add the port as neither a receiver nor a source. Defaults A port is the IP address of any configured multicast group. Use the no mvr type command resets...
Command Reference
Page 318
... only support address learning by physical ports, such as a physical-port learner by using any of the ports in this command to return to the source using the port-channel load-balance src-mac global configuration command. Defaults The default is aggregation-port (logical port channel). Use the pagp learn -method physical-port interface configuration command and to set the load-distribution method based on the switch hardware, but they are required for a particular destination MAC or IP address. The switch...
... only support address learning by physical ports, such as a physical-port learner by using any of the ports in this command to return to the source using the port-channel load-balance src-mac global configuration command. Defaults The default is aggregation-port (logical port channel). Use the pagp learn -method physical-port interface configuration command and to set the load-distribution method based on the switch hardware, but they are required for a particular destination MAC or IP address. The switch...
Command Reference
Page 320
... interface configuration command only in the command-line interface (CLI). If all Port Aggregation Protocol (PAgP) traffic through the EtherChannel is a physical learner, we recommend that only support address learning by physical ports, such as a physical-port learner by using the port-channel load-balance src-mac global configuration command. pagp port-priority priority no form of this situation. When the link partner to the Catalyst 3560 switch is sent. Examples This example shows how to set the load...
... interface configuration command only in the command-line interface (CLI). If all Port Aggregation Protocol (PAgP) traffic through the EtherChannel is a physical learner, we recommend that only support address learning by physical ports, such as a physical-port learner by using the port-channel load-balance src-mac global configuration command. pagp port-priority priority no form of this situation. When the link partner to the Catalyst 3560 switch is sent. Examples This example shows how to set the load...
Command Reference
Page 560
... UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port. For example, if you do not appear, but the lines that contain output do not enter an interface-id, administrative and operational UDLD status for all interfaces appear. Switch> show udld interface-id command. Examples This is an example of output from the show udld gigabitethernet0/1 Interface gi0/1 --Port enable administrative configuration setting: Follows device default Port enable...
... UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port. For example, if you do not appear, but the lines that contain output do not enter an interface-id, administrative and operational UDLD status for all interfaces appear. Switch> show udld interface-id command. Examples This is an example of output from the show udld gigabitethernet0/1 Interface gi0/1 --Port enable administrative configuration setting: Follows device default Port enable...
Command Reference
Page 578
... configure VLANs on which can recover all trunk ports except the one on it. show vtp Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Table 2-36 show vtp status Field Descriptions Field VTP Version Configuration Revision Maximum VLANs Supported Locally Number of VLANs supported locally. You cannot configure VLANs on this switch. Transparent: a switch in VTP transparent mode is disabled for VTP, does not send or learn from VTP server mode to VTP client mode if it can be set...
... configure VLANs on which can recover all trunk ports except the one on it. show vtp Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Table 2-36 show vtp status Field Descriptions Field VTP Version Configuration Revision Maximum VLANs Supported Locally Number of VLANs supported locally. You cannot configure VLANs on this switch. Transparent: a switch in VTP transparent mode is disabled for VTP, does not send or learn from VTP server mode to VTP client mode if it can be set...
Command Reference
Page 661
... guide for it is part of private-VLAN primary VLANs. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands switchport mode private-vlan switchport mode private-vlan Use the switchport mode private-vlan interface configuration command to configure a port as a private-VLAN host port. Do not configure private VLAN on the VLAN that they belong to. While a port is inactive. Use the no switchport mode private-vlan Syntax Description host promiscuous Configure the interface as a promiscuous or host private VLAN port. Defaults The default private-VLAN mode is dynamic auto...
... guide for it is part of private-VLAN primary VLANs. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands switchport mode private-vlan switchport mode private-vlan Use the switchport mode private-vlan interface configuration command to configure a port as a private-VLAN host port. Do not configure private VLAN on the VLAN that they belong to. While a port is inactive. Use the no switchport mode private-vlan Syntax Description host promiscuous Configure the interface as a promiscuous or host private VLAN port. Defaults The default private-VLAN mode is dynamic auto...
Command Reference
Page 668
...)# switchport mode access Switch(config-if)# switchport port-security Switch(config-if)# switchport port-security maximum 5 This example shows how to configure a secure MAC address and a VLAN ID on a port: Switch(config)# interface gigabitethernet 0/2 Switch(config-if)# switchport mode trunk Switch(config-if)# switchport port-security Switch(config-if)# switchport port-security mac-address 1000.2000.3000 vlan 3 This example shows how to enable sticky learning and to enter two sticky secure MAC addresses on a port and to set the maximum number of the running configuration but are removed from...
...)# switchport mode access Switch(config-if)# switchport port-security Switch(config-if)# switchport port-security maximum 5 This example shows how to configure a secure MAC address and a VLAN ID on a port: Switch(config)# interface gigabitethernet 0/2 Switch(config-if)# switchport mode trunk Switch(config-if)# switchport port-security Switch(config-if)# switchport port-security mac-address 1000.2000.3000 vlan 3 This example shows how to enable sticky learning and to enter two sticky secure MAC addresses on a port and to set the maximum number of the running configuration but are removed from...
Command Reference
Page 728
... (global configuration) Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Follow these guidelines when setting VTP pruning: • VTP pruning removes information about each pruning-eligible VLAN from the switch. • The VTP mode must be transparent for you to add extended-range VLANs or for VLAN IDs 1 to 1005. • Only VLANs in the pruning-eligible list can be set the VTP mode to server or client, you receive an error message...
... (global configuration) Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Follow these guidelines when setting VTP pruning: • VTP pruning removes information about each pruning-eligible VLAN from the switch. • The VTP mode must be transparent for you to add extended-range VLANs or for VLAN IDs 1 to 1005. • Only VLANs in the pruning-eligible list can be set the VTP mode to server or client, you receive an error message...
Command Reference
Page 761
... enabled only under the guidance of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that have been created or changed for use with Cisco technical support staff. These commands are helpful in the CPU process, it can render the system unusable. For this reason, use the debug commands only to use the debug commands during troubleshooting sessions with the Catalyst 3560 switch...
... enabled only under the guidance of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that have been created or changed for use with Cisco technical support staff. These commands are helpful in the CPU process, it can render the system unusable. For this reason, use the debug commands only to use the debug commands during troubleshooting sessions with the Catalyst 3560 switch...
Command Reference
Page 896
... control 2-615 IN-2 Catalyst 3560 Switch Command Reference C candidate switches See clusters cat (boot loader) command A-4 caution, description xx CDP, enabling protocol tunneling for 2-199 channel-group command 2-30 channel-protocol command 2-33 Cisco Network Assistant See Network Assistant xx Cisco SoftPhone auto-QoS configuration 2-17 trusting packets sent from 2-272 class command 2-34 class-map command 2-36 class maps creating 2-36 defining the match criteria 2-234 displaying 2-359 class of service See CoS clear ip arp inspection log command...
... control 2-615 IN-2 Catalyst 3560 Switch Command Reference C candidate switches See clusters cat (boot loader) command A-4 caution, description xx CDP, enabling protocol tunneling for 2-199 channel-group command 2-30 channel-protocol command 2-33 Cisco Network Assistant See Network Assistant xx Cisco SoftPhone auto-QoS configuration 2-17 trusting packets sent from 2-272 class command 2-34 class-map command 2-36 class maps creating 2-36 defining the match criteria 2-234 displaying 2-359 class of service See CoS clear ip arp inspection log command...
Command Reference
Page 909
... routed ports IP addresses on 2-126 number supported 2-126 RSPAN configuring 2-275 displaying 2-493 filter RSPAN traffic 2-275 remote-span command 2-325 sessions add interfaces to 2-275 displaying 2-493 start new 2-275 S sdm prefer command 2-330 SDM templates allowed resources 2-331 displaying 2-514 dual IPv4 and IPv6 2-330 secure ports, limitations 2-635 sending flow-control packets 2-114 service password-recovery command 2-333 service-policy command 2-335 set (boot loader) command A-20 set command 2-338 setup command 2-340 setup express command 2-343 show access-lists command...
... routed ports IP addresses on 2-126 number supported 2-126 RSPAN configuring 2-275 displaying 2-493 filter RSPAN traffic 2-275 remote-span command 2-325 sessions add interfaces to 2-275 displaying 2-493 start new 2-275 S sdm prefer command 2-330 SDM templates allowed resources 2-331 displaying 2-514 dual IPv4 and IPv6 2-330 secure ports, limitations 2-635 sending flow-control packets 2-114 service password-recovery command 2-333 service-policy command 2-335 set (boot loader) command A-20 set command 2-338 setup command 2-340 setup express command 2-343 show access-lists command...