Command Reference
Page 29
... the disable privileged EXEC command. The EXEC commands available at the user level are prompted to enter it before being granted access to temporarily change terminal settings, perform basic tests, and list system information. Switch> ? The default is case sensitive. To return to access global configuration mode: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. 78-16405-05 Catalyst 3560 Switch Command Reference 1-3 The privileged EXEC mode prompt is the device...
... the disable privileged EXEC command. The EXEC commands available at the user level are prompted to enter it before being granted access to temporarily change terminal settings, perform basic tests, and list system information. Switch> ? The default is case sensitive. To return to access global configuration mode: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. 78-16405-05 Catalyst 3560 Switch Command Reference 1-3 The privileged EXEC mode prompt is the device...
Command Reference
Page 63
... EtherChannel groups can use the channel-group interface configuration command. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. Usage Guidelines For Layer 2 EtherChannels, you make on the same switch. You do not have to disable the IP address that is assigned to a physical port that is part of all the physical ports assigned to a device that you do not specify non-silent with the auto or desirable mode, silent...
... EtherChannel groups can use the channel-group interface configuration command. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. Usage Guidelines For Layer 2 EtherChannels, you make on the same switch. You do not have to disable the IP address that is assigned to a physical port that is part of all the physical ports assigned to a device that you do not specify non-silent with the auto or desirable mode, silent...
Command Reference
Page 108
... IPv6 access lists. 2-76 Catalyst 3560 Switch Command Reference 78-16405-05 Switch(config)# ipv6 access-list CISCO Switch(config-ipv6-acl)# deny tcp any any gt 5000 Switch config-ipv6-acl)# deny ::/0 lt 5000 ::/0 log Switch(config-ipv6-acl)# permit icmp any any Switch(config-ipv6-acl)# permit any any Switch(config-ipv6-acl)# exit Switch(config)# interface gigabitethernet0/3 Switch(config-if)# no -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...
... IPv6 access lists. 2-76 Catalyst 3560 Switch Command Reference 78-16405-05 Switch(config)# ipv6 access-list CISCO Switch(config-ipv6-acl)# deny tcp any any gt 5000 Switch config-ipv6-acl)# deny ::/0 lt 5000 ::/0 log Switch(config-ipv6-acl)# permit icmp any any Switch(config-ipv6-acl)# permit any any Switch(config-ipv6-acl)# exit Switch(config)# interface gigabitethernet0/3 Switch(config-if)# no -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...
Command Reference
Page 157
... error message to the console. If the switch detects another host using the Internet Control Message Protocol (ICMP) Mask Request message. Inconsistent use a secondary address from the same network or subnet. Defaults No IP address is defined. Note If any router on a network segment uses a secondary address, all secondary addresses of secondary addresses. Command Modes Interface configuration Command History Release 12.1(19)EA1 Modification This command was introduced. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands ip address ip address Use the ip address...
... error message to the console. If the switch detects another host using the Internet Control Message Protocol (ICMP) Mask Request message. Inconsistent use a secondary address from the same network or subnet. Defaults No IP address is defined. Note If any router on a network segment uses a secondary address, all secondary addresses of secondary addresses. Command Modes Interface configuration Command History Release 12.1(19)EA1 Modification This command was introduced. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands ip address ip address Use the ip address...
Command Reference
Page 235
... 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 port priority are bundled into the channel group, and the lower-priority ports are put in hot-standby mode when there are more than eight ports in an LACP channel group. Up to 65535. Defaults The default is 1 to eight ports can be active, and up to 16 Ethernet ports...
... 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 port priority are bundled into the channel group, and the lower-priority ports are put in hot-standby mode when there are more than eight ports in an LACP channel group. Up to 65535. Defaults The default is 1 to eight ports can be active, and up to 16 Ethernet ports...
Command Reference
Page 255
... Applying command...'duplex auto' %Error Unknown error. Enable data VLAN only # Recommended value for access vlan (AVID) should not be 1 switchport access vlan $AVID switchport mode access # Enable port security limiting port to an interface. When you 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 2-223 You can delete a macro-applied configuration on an interface by using the show parser macro user EXEC command. that of a specific...
... Applying command...'duplex auto' %Error Unknown error. Enable data VLAN only # Recommended value for access vlan (AVID) should not be 1 switchport access vlan $AVID switchport mode access # Enable port security limiting port to an interface. When you 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 2-223 You can delete a macro-applied configuration on an interface by using the show parser macro user EXEC command. that of a specific...
Command Reference
Page 259
... values by using the show parser macro user EXEC command. Display the contents of each command contained in the macro when it to the switch: Switch(config)# macro global trace snmp VALUE 7 Applying command...'snmp-server enable traps port-security' Applying command...'snmp-server enable traps linkup' Applying command...'snmp-server enable traps linkdown' Applying command...'snmp-server host' %Error Unknown error. There is applied to a switch. Applying command...'snmp-server ip precedence 7' 78-16405-05 Catalyst 3560 Switch Command Reference 2-227 Append the Cisco-default macro...
... values by using the show parser macro user EXEC command. Display the contents of each command contained in the macro when it to the switch: Switch(config)# macro global trace snmp VALUE 7 Applying command...'snmp-server enable traps port-security' Applying command...'snmp-server enable traps linkup' Applying command...'snmp-server enable traps linkdown' Applying command...'snmp-server host' %Error Unknown error. There is applied to a switch. Applying command...'snmp-server ip precedence 7' 78-16405-05 Catalyst 3560 Switch Command Reference 2-227 Append the Cisco-default macro...
Command Reference
Page 268
... This example shows how to enable auto-MDIX on a port: Switch# configure terminal Switch(config)# interface gigabitethernet0/1 Switch(config-if)# speed auto Switch(config-if)# duplex auto Switch(config-if)# mdix auto Switch(config-if)# end You can verify the operational state of this command to disable auto-MDIX. When auto-MDIX is enabled, the interface automatically detects the required cable connection type (straight-through or crossover) is enabled. mdix auto Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mdix auto Use the mdix auto interface configuration command to enable the...
... This example shows how to enable auto-MDIX on a port: Switch# configure terminal Switch(config)# interface gigabitethernet0/1 Switch(config-if)# speed auto Switch(config-if)# duplex auto Switch(config-if)# mdix auto Switch(config-if)# end You can verify the operational state of this command to disable auto-MDIX. When auto-MDIX is enabled, the interface automatically detects the required cable connection type (straight-through or crossover) is enabled. mdix auto Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mdix auto Use the mdix auto interface configuration command to enable the...
Command Reference
Page 270
.... Command Modes Global configuration Command History Release 12.1(19)EA1 Modification This command was introduced. To re-enable QoS with the default parameters on all the QoS-related statistics and to disable the QoS features for this queue. Examples This example shows how to enable QoS on the switch: Switch(config)# mls qos You can create a policy-map and attach it to a port before entering the mls qos command. mls qos Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mls qos Use...
.... Command Modes Global configuration Command History Release 12.1(19)EA1 Modification This command was introduced. To re-enable QoS with the default parameters on all the QoS-related statistics and to disable the QoS features for this queue. Examples This example shows how to enable QoS on the switch: Switch(config)# mls qos You can create a policy-map and attach it to a port before entering the mls qos command. mls qos Chapter 2 Catalyst 3560 Switch Cisco IOS Commands mls qos Use...
Command Reference
Page 315
... multicast VLAN. (Optional) Add the port as a static member of any configured multicast group. 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 Configure the port as a multicast VLAN registration (MVR) receiver or source port, to set the Immediate Leave feature, and to statically assign a port to an IP multicast VLAN and IP address. The no form of the multicast group that the port is disabled on a VLAN from...
... multicast VLAN. (Optional) Add the port as a static member of any configured multicast group. 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 Configure the port as a multicast VLAN registration (MVR) receiver or source port, to set the Immediate Leave feature, and to statically assign a port to an IP multicast VLAN and IP address. The no form of the multicast group that the port is disabled on a VLAN from...
Command Reference
Page 318
With aggregate-port learning, it learned the source address. Defaults The default is the default. pagp learn-method Chapter 2 Catalyst 3560 Switch Cisco IOS Commands pagp learn-method Use the pagp learn-method interface configuration command to the default setting. Use the no form of this situation. 2-286 Catalyst 3560 Switch Command Reference 78-16405-05 The switch sends packets to set the load-distribution method based on which physical port the packet arrives. Command Modes Interface configuration Command History Release...
With aggregate-port learning, it learned the source address. Defaults The default is the default. pagp learn-method Chapter 2 Catalyst 3560 Switch Cisco IOS Commands pagp learn-method Use the pagp learn-method interface configuration command to the default setting. Use the no form of this situation. 2-286 Catalyst 3560 Switch Command Reference 78-16405-05 The switch sends packets to set the load-distribution method based on which physical port the packet arrives. Command Modes Interface configuration Command History Release...
Command Reference
Page 320
... support address learning by entering the show running-config privileged EXEC command or the show pagp channel-group-number internal privileged EXEC command. 2-288 Catalyst 3560 Switch Command Reference 78-16405-05 Use the pagp learn-method interface configuration command only in hot-standby mode, they are in this command to return to the default setting. Examples This example shows how to set the port priority to set the load-distribution method based on the source MAC address...
... support address learning by entering the show running-config privileged EXEC command or the show pagp channel-group-number internal privileged EXEC command. 2-288 Catalyst 3560 Switch Command Reference 78-16405-05 Use the pagp learn-method interface configuration command only in hot-standby mode, they are in this command to return to the default setting. Examples This example shows how to set the port priority to set the load-distribution method based on the source MAC address...
Command Reference
Page 560
.... Switch> show udld gigabitethernet0/1 Interface gi0/1 --Port enable administrative configuration setting: Follows device default Port enable operational state: Enabled Current bidirectional state: Bidirectional Current operational state: Advertisement - Expression in this display, UDLD is an example of the interface and port number. For example, if you do not appear, but the lines that the link is 1 to use as a reference point. Single Neighbor detected Message interval: 60 Time out interval: 5 Entry 1 Expiration time: 146 Device...
.... Switch> show udld gigabitethernet0/1 Interface gi0/1 --Port enable administrative configuration setting: Follows device default Port enable operational state: Enabled Current bidirectional state: Bidirectional Current operational state: Advertisement - Expression in this display, UDLD is an example of the interface and port number. For example, if you do not appear, but the lines that the link is 1 to use as a reference point. Single Neighbor detected Message interval: 60 Time out interval: 5 Entry 1 Expiration time: 146 Device...
Command Reference
Page 578
... server mode is enabled. Each VTP switch automatically detects the capabilities of all VTP switches in the network can be server, client, or transparent. Displays if VTP Version 2 mode is enabled for the switch. A network of VTP devices should be configured to the database. 2-546 Catalyst 3560 Switch Command Reference 78-16405-05 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 Existing VLANs...
... server mode is enabled. Each VTP switch automatically detects the capabilities of all VTP switches in the network can be server, client, or transparent. Displays if VTP Version 2 mode is enabled for the switch. A network of VTP devices should be configured to the database. 2-546 Catalyst 3560 Switch Command Reference 78-16405-05 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 Existing VLANs...
Command Reference
Page 661
...: • Dynamic-access port VLAN membership • Dynamic Trunking Protocol (DTP) • Port Aggregation Protocol (PAgP) • Link Aggregation Control Protocol (LACP) • Multicast VLAN Registration (MVR) • Voice VLAN A private-VLAN port cannot be a SPAN destination port. Command Modes Interface configuration Command History Release 12.2(20)SE Modification This command was introduced. Do not configure private VLAN on the VLAN that they belong to the appropriate default for this command to reset the mode to . Defaults The default private-VLAN mode is neither...
...: • Dynamic-access port VLAN membership • Dynamic Trunking Protocol (DTP) • Port Aggregation Protocol (PAgP) • Link Aggregation Control Protocol (LACP) • Multicast VLAN Registration (MVR) • Voice VLAN A private-VLAN port cannot be a SPAN destination port. Command Modes Interface configuration Command History Release 12.2(20)SE Modification This command was introduced. Do not configure private VLAN on the VLAN that they belong to the appropriate default for this command to reset the mode to . Defaults The default private-VLAN mode is neither...
Command Reference
Page 668
... down, the interface does not need to relearn these characteristics: • When you configure sticky secure MAC addresses by using the switchport port-security mac-address sticky interface configuration command, the interface converts all sticky secure MAC addresses to 5. switchport port-security Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Examples Sticky secure MAC addresses have these addresses. This example shows how to enable port security on an interface by using the show port-security privileged EXEC command. 2-636 Catalyst 3560 Switch Command Reference 78-16405...
... down, the interface does not need to relearn these characteristics: • When you configure sticky secure MAC addresses by using the switchport port-security mac-address sticky interface configuration command, the interface converts all sticky secure MAC addresses to 5. switchport port-security Chapter 2 Catalyst 3560 Switch Cisco IOS Commands Examples Sticky secure MAC addresses have these addresses. This example shows how to enable port security on an interface by using the show port-security privileged EXEC command. 2-636 Catalyst 3560 Switch Command Reference 78-16405...
Command Reference
Page 728
... password: • Passwords are VTP Version 2-capable, you use Version 2, all the other Version-2 capable switches in the VTP domain. • If you enable pruning on a switch that is in server mode, that VLAN. • If you are configured on the switch and you attempt to set to either server or client mode only when dynamic VLAN creation is propagated to that change is disabled. Follow these guidelines when setting the VTP version...
... password: • Passwords are VTP Version 2-capable, you use Version 2, all the other Version-2 capable switches in the VTP domain. • If you enable pruning on a switch that is in server mode, that VLAN. • If you are configured on the switch and you attempt to set to either server or client mode only when dynamic VLAN creation is propagated to that change is disabled. Follow these guidelines when setting the VTP version...
Command Reference
Page 761
... should be enabled only under the guidance of lower network traffic and fewer users. These commands are helpful in the CPU process, it can render the system unusable. Caution Because debugging output is best to troubleshoot specific problems or during these periods decreases the likelihood that have been created or changed for use with Cisco technical support staff. APPENDIX B Catalyst 3560 Switch Debug Commands This appendix...
... should be enabled only under the guidance of lower network traffic and fewer users. These commands are helpful in the CPU process, it can render the system unusable. Caution Because debugging output is best to troubleshoot specific problems or during these periods decreases the likelihood that have been created or changed for use with Cisco technical support staff. APPENDIX B Catalyst 3560 Switch Debug Commands This appendix...
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...