Command Reference
Page 2
... 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 Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network...
... 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 Step, FormShare, GigaDrive, GigaStack, HomeLink, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, Linksys, MeetingPlace, MGX, the Networkers logo, Networking Academy, Network...
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 ... boot private-config-file 2-28 boot system 2-29 channel-group 2-30 channel-protocol 2-33 class 2-34 class-map 2-36 clear ip arp inspection log 2-38 clear ip arp inspection statistics 2-39 clear ip dhcp snooping database 2-40 clear ipc 2-41 clear l2protocol-tunnel counters 2-42 clear lacp 2-43 clear mac address-table 2-44...
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 ... boot private-config-file 2-28 boot system 2-29 channel-group 2-30 channel-protocol 2-33 class 2-34 class-map 2-36 clear ip arp inspection log 2-38 clear ip arp inspection statistics 2-39 clear ip dhcp snooping database 2-40 clear ipc 2-41 clear l2protocol-tunnel counters 2-42 clear lacp 2-43 clear mac address-table 2-44...
Command Reference
Page 6
... 2-120 ip access-group 2-122 ip address 2-125 ip arp inspection filter vlan 2-127 ip arp inspection limit 2-129 ip arp inspection log-buffer 2-131 ip arp inspection trust 2-133 ip arp inspection validate 2-135 ip arp inspection vlan 2-137 ip arp inspection vlan logging 2-138 ip dhcp snooping 2-140 ip dhcp snooping binding 2-141 ip dhcp snooping database 2-143 ip dhcp snooping...
... 2-120 ip access-group 2-122 ip address 2-125 ip arp inspection filter vlan 2-127 ip arp inspection limit 2-129 ip arp inspection log-buffer 2-131 ip arp inspection trust 2-133 ip arp inspection validate 2-135 ip arp inspection vlan 2-137 ip arp inspection vlan logging 2-138 ip dhcp snooping 2-140 ip dhcp snooping binding 2-141 ip dhcp snooping database 2-143 ip dhcp snooping...
Command Reference
Page 7
78-16405-05 Contents ip ssh 2-177 ip verify source 2-179 ipv6 access-list 2-180 ipv6 mld snooping 2-183 ipv6 mld snooping last-listener-query-count 2-185 ipv6 mld snooping last-listener-query-...
78-16405-05 Contents ip ssh 2-177 ip verify source 2-179 ipv6 access-list 2-180 ipv6 mld snooping 2-183 ipv6 mld snooping last-listener-query-count 2-185 ipv6 mld snooping last-listener-query-...
Command Reference
Page 8
... qos dscp-mutation 2-244 mls qos map 2-246 mls qos queue-set output buffers 2-250 mls qos queue-set output threshold 2-252 mls qos rewrite ip dscp 2-254 mls qos srr-queue input bandwidth 2-256 mls qos srr-queue input buffers 2-258 mls qos srr-queue input cos-map 2-260 mls...
... qos dscp-mutation 2-244 mls qos map 2-246 mls qos queue-set output buffers 2-250 mls qos queue-set output threshold 2-252 mls qos rewrite ip dscp 2-254 mls qos srr-queue input bandwidth 2-256 mls qos srr-queue input buffers 2-258 mls qos srr-queue input cos-map 2-260 mls...
Command Reference
Page 9
78-16405-05 Contents renew ip dhcp snooping database 2-327 rmon collection stats 2-329 sdm prefer 2-330 service password-recovery 2-333 service-policy 2-335 set 2-338 setup 2-340 setup express 2-343 ...
78-16405-05 Contents renew ip dhcp snooping database 2-327 rmon collection stats 2-329 sdm prefer 2-330 service password-recovery 2-333 service-policy 2-335 set 2-338 setup 2-340 setup express 2-343 ...
Command Reference
Page 10
Contents show ip arp inspection 2-414 show ip dhcp snooping 2-417 show ip dhcp snooping binding 2-418 show ip dhcp snooping database 2-420 show ip igmp profile 2-422 show ip igmp snooping 2-423 show ip igmp snooping groups 2-426 show ip igmp snooping mrouter 2-428 show ip igmp snooping querier 2-430 show ip source binding 2-432 show ip verify source 2-434 show...
Contents show ip arp inspection 2-414 show ip dhcp snooping 2-417 show ip dhcp snooping binding 2-418 show ip dhcp snooping database 2-420 show ip igmp profile 2-422 show ip igmp snooping 2-423 show ip igmp snooping groups 2-426 show ip igmp snooping mrouter 2-428 show ip igmp snooping querier 2-430 show ip source binding 2-432 show ip verify source 2-434 show...
Command Reference
Page 13
... trunk 2-646 switchport voice vlan 2-649 system env temperature threshold yellow 2-651 system mtu 2-653 test cable-diagnostics tdr 2-655 traceroute mac 2-656 traceroute mac ip 2-659 trust 2-661 udld 2-663 udld port 2-665 udld reset 2-667 vlan (global configuration) 2-668 vlan (VLAN configuration) 2-674 vlan access-map 2-680 vlan database...
... trunk 2-646 switchport voice vlan 2-649 system env temperature threshold yellow 2-651 system mtu 2-653 test cable-diagnostics tdr 2-655 traceroute mac 2-656 traceroute mac ip 2-659 trust 2-661 udld 2-663 udld port 2-665 udld reset 2-667 vlan (global configuration) 2-668 vlan (VLAN configuration) 2-674 vlan access-map 2-680 vlan database...
Command Reference
Page 14
... backup B-4 debug cluster B-5 debug dot1x B-7 debug dtp B-9 debug etherchannel B-10 debug ilpower B-12 debug ip dhcp snooping B-13 debug ip verify source packet B-14 debug interface B-15 debug ip igmp filter B-17 debug ip igmp max-groups B-18 debug ip igmp snooping B-19 debug lacp B-20 debug mac-notification B-21 debug matm B-22 debug matm...
... backup B-4 debug cluster B-5 debug dot1x B-7 debug dtp B-9 debug etherchannel B-10 debug ilpower B-12 debug ip dhcp snooping B-13 debug ip verify source packet B-14 debug interface B-15 debug ip igmp filter B-17 debug ip igmp max-groups B-18 debug ip igmp snooping B-19 debug lacp B-20 debug mac-notification B-21 debug matm B-22 debug matm...
Command Reference
Page 15
... platform fallback-bridging B-36 debug platform forw-tcam B-37 debug platform frontend-controller B-38 debug platform ip arp inspection B-40 debug platform ip dhcp B-41 debug platform ip igmp snooping B-42 debug platform ip multicast B-44 debug platform ip unicast B-46 debug platform led B-48 debug platform matm B-49 debug platform messaging application B-51 debug...
... platform fallback-bridging B-36 debug platform forw-tcam B-37 debug platform frontend-controller B-38 debug platform ip arp inspection B-40 debug platform ip dhcp B-41 debug platform ip igmp snooping B-42 debug platform ip multicast B-44 debug platform ip unicast B-46 debug platform led B-48 debug platform matm B-49 debug platform messaging application B-51 debug...
Command Reference
Page 16
... interface C-3 show platform configuration C-4 show platform etherchannel C-5 show platform forward C-6 show platform frontend-controller C-8 show platform ip igmp snooping C-9 show platform ip multicast C-11 show platform ip unicast C-12 show platform ip unicast vrf compaction C-14 show platform ip unicast vrf tcam-label C-15 show platform ipv6 unicast C-16 show platform layer4op C-18 show platform...
... interface C-3 show platform configuration C-4 show platform etherchannel C-5 show platform forward C-6 show platform frontend-controller C-8 show platform ip igmp snooping C-9 show platform ip multicast C-11 show platform ip unicast C-12 show platform ip unicast vrf compaction C-14 show platform ip unicast vrf tcam-label C-15 show platform ipv6 unicast C-16 show platform layer4op C-18 show platform...
Command Reference
Page 19
...you should have experience working with the Cisco IOS commands and the switch software features. To distinguish it from the Cisco.com home page by either the IP base image, formerly known as the standard multilayer image (SMI), or the IP services image, formerly known as the enhanced... multilayer image (EMI). For detailed configuration procedures, see the software configuration guide for this guide, you need about the standard Cisco IOS Release 12.2 commands, see the system message ...
...you should have experience working with the Cisco IOS commands and the switch software features. To distinguish it from the Cisco.com home page by either the IP base image, formerly known as the standard multilayer image (SMI), or the IP services image, formerly known as the enhanced... multilayer image (EMI). For detailed configuration procedures, see the software configuration guide for this guide, you need about the standard Cisco IOS Release 12.2 commands, see the system message ...
Command Reference
Page 27
... Switch Command Reference 1-1 This chapter describes how to use the switch command-line interface (CLI) to IP version 4 (IPv4) unless there is supported by Cisco IOS software. For information on the debug commands, see the Cisco IOS Release 12.2 Command Summary. For example, the interface interface-id command only works when entered in...
... Switch Command Reference 1-1 This chapter describes how to use the switch command-line interface (CLI) to IP version 4 (IPv4) unless there is supported by Cisco IOS software. For information on the debug commands, see the Cisco IOS Release 12.2 Command Summary. For example, the interface interface-id command only works when entered in...
Command Reference
Page 32
...Group Management Protocol 2. auto-QoS = automatic quality of the auto-QoS2 feature. 1. Commands Changed in Cisco IOS 12.2(20)SE Chapter 1 Using the Command-Line Interface Commands Changed 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(20)SE or later Description show ip igmp snooping show ip igmp snooping Displays the IGMP1 snooping multicast table for multicast groups the switch or ...
...Group Management Protocol 2. auto-QoS = automatic quality of the auto-QoS2 feature. 1. Commands Changed in Cisco IOS 12.2(20)SE Chapter 1 Using the Command-Line Interface Commands Changed 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(20)SE or later Description show ip igmp snooping show ip igmp snooping Displays the IGMP1 snooping multicast table for multicast groups the switch or ...
Command Reference
Page 37
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands action action Use the action access-map configuration command to forward packets. Use...access control list (ACL) names in access list al2: Switch(config)# vlan access-map vmap4 Switch(config-access-map)# match ip address al2 Switch(config-access-map)# action forward Switch(config-access-map)# exit Switch(config)# vlan filter vmap4 vlan-list 5-6... the action is to set the action that causes the VLAN to forward an IP packet if the packet matches the conditions defined in match clauses, before applying the map to the default setting.
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands action action Use the action access-map configuration command to forward packets. Use...access control list (ACL) names in access list al2: Switch(config)# vlan access-map vmap4 Switch(config-access-map)# match ip address al2 Switch(config-access-map)# action forward Switch(config-access-map)# exit Switch(config)# vlan filter vmap4 vlan-list 5-6... the action is to set the action that causes the VLAN to forward an IP packet if the packet matches the conditions defined in match clauses, before applying the map to the default setting.
Command Reference
Page 38
... access-map vlan access-map Description Configures a standard numbered ACL. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. Catalyst 3560 Switch Command Reference 2-6 78-16405-05 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. Creates a VLAN access map. Creates a named access list. Defines the match conditions...
... access-map vlan access-map Description Configures a standard numbered ACL. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. Catalyst 3560 Switch Command Reference 2-6 78-16405-05 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. Creates a VLAN access map. Creates a named access list. Defines the match conditions...
Command Reference
Page 39
...tar • The syntax for an HTTP server: http://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for a secure HTTP server: https://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the Remote Copy Protocol (RCP): rcp...-name.tar The image-name.tar is downloaded. Reload the system after successfully downloading the software image. 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...
...tar • The syntax for an HTTP server: http://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for a secure HTTP server: https://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the Remote Copy Protocol (RCP): rcp...-name.tar The image-name.tar is downloaded. Reload the system after successfully downloading the software image. 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...
Command Reference
Page 42
...tar-filename.tar • The syntax for an HTTP server: http://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for a secure HTTP server: https://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the Remote Copy Protocol (RCP) is: rcp...from which the new tar file is the tar file to be specified to write to create. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Use the archive tar privileged EXEC command to the newly created tar file. 2-10 Catalyst 3560 Switch Command Reference ...
...tar-filename.tar • The syntax for an HTTP server: http://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for a secure HTTP server: https://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the Remote Copy Protocol (RCP) is: rcp...from which the new tar file is the tar file to be specified to write to create. archive tar Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive tar Use the archive tar privileged EXEC command to the newly created tar file. 2-10 Catalyst 3560 Switch Command Reference ...
Command Reference
Page 43
...tar • The syntax for an HTTP server: http://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for a secure HTTP server: https://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the RCP: rcp:[[//username@location]/directory... options are extracted. Use the dir/file... 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...
...tar • The syntax for an HTTP server: http://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for a secure HTTP server: https://[[username:password]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the RCP: rcp:[[//username@location]/directory... options are extracted. Use the dir/file... 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...
Command Reference
Page 45
...Privileged EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. Image names are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. archive upload-sw [/version version_string] destination-url Syntax Description /version version_string destination...]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the Remote Copy Protocol (RCP): rcp:[[//username@location]/directory]/image-name.tar • The syntax for a local or network file system. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive upload...
...Privileged EXEC Command History Release 12.1(19)EA1 Modification This command was introduced. Image names are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. archive upload-sw [/version version_string] destination-url Syntax Description /version version_string destination...]@]{hostname | host-ip}[/directory]/image-name.tar • The syntax for the Remote Copy Protocol (RCP): rcp:[[//username@location]/directory]/image-name.tar • The syntax for a local or network file system. Chapter 2 Catalyst 3560 Switch Cisco IOS Commands archive upload...