Cisco Catalyst 3560-X Command Reference Manual
Read Online
Read the Cisco Catalyst 3560-X Command Reference Manual online using the built-in PDF viewer.
Text of the manual
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Catalyst 3750-X and 3560-X Switch
Command Reference
Cisco IOS Release 12.2(55)SE
August 2010
Text Part Number: OL-21522-02
Downloaded from www.Manualslib.com manuals search engine
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public
domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL 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.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at
www.cisco.com/go/trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the
document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
Catalyst 3750-X and 3560-X Switch Command Reference
©2010 Cisco Systems, Inc. All rights reserved.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
C O N T E N T S
Preface xxiii
Audience xxiii
Purpose xxiii
Conventions xxiii
Related Publications xxiv
Obtaining Documentation and Submitting a Service Request xxv
C H A P T E R 1
Using the Command-Line Interface 1-1
Accessing the Switch 1-1
CLI Command Modes 1-2
User EXEC Mode 1-3
Privileged EXEC Mode 1-3
Global Configuration Mode 1-4
Interface Configuration Mode 1-4
VLAN Configuration Mode 1-4
Line Configuration Mode 1-5
C H A P T E R 2
Catalyst 3750-X and 3560-X Switch
Cisco IOS Commands 2-1
aaa accounting dot1x 2-1
aaa authentication dot1x 2-3
aaa authorization network 2-5
action 2-6
archive copy-sw 2-8
archive download-sw 2-11
archive tar 2-15
archive upload-sw 2-18
arp access-list 2-20
authentication command bounce-port ignore 2-22
authentication command disable-port ignore 2-23
authentication control-direction 2-24
authentication event 2-26
authentication event linksec fail action 2-30
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
authentication fallback 2-31
authentication host-mode 2-33
authentication linksec policy 2-35
authentication mac-move permit 2-36
authentication open 2-38
authentication order 2-40
authentication periodic 2-42
authentication port-control 2-44
authentication priority 2-46
authentication timer 2-48
authentication violation 2-50
auto qos classify 2-52
auto qos trust 2-55
auto qos video 2-58
auto qos voip 2-61
boot auto-copy-sw 2-67
boot auto-download-sw 2-68
boot buffersize 2-70
boot config-file 2-71
boot enable-break 2-72
boot helper 2-73
boot helper-config-file 2-74
boot manual 2-75
boot private-config-file 2-76
boot system 2-77
cdp forward 2-79
channel-group 2-81
channel-protocol 2-85
cisp enable 2-86
class 2-87
class-map 2-90
clear dot1x 2-92
clear eap sessions 2-93
clear errdisable interface 2-94
clear ip arp inspection log 2-95
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
clear ip arp inspection statistics 2-96
clear ip dhcp snooping 2-97
clear ipc 2-99
clear ipv6 dhcp conflict 2-100
clear l2protocol-tunnel counters 2-101
clear lacp 2-102
clear logging onboard 2-103
clear mac address-table 2-104
clear mac address-table move update 2-105
clear macsec counters interface 2-106
clear mka 2-107
clear nmsp statistics 2-109
clear pagp 2-110
clear port-security 2-111
clear spanning-tree counters 2-113
clear spanning-tree detected-protocols 2-114
clear vmps statistics 2-115
clear vtp counters 2-116
cluster commander-address 2-117
cluster discovery hop-count 2-119
cluster enable 2-120
cluster holdtime 2-122
cluster member 2-123
cluster outside-interface 2-125
cluster run 2-126
cluster standby-group 2-127
cluster timer 2-129
copy logging onboard 2-130
confidentiality-offset 2-132
define interface-range 2-133
delete 2-135
deny (ARP access-list configuration) 2-136
deny (IPv6 access-list configuration) 2-138
deny (MAC access-list configuration) 2-143
diagnostic monitor 2-146
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
diagnostic schedule 2-148
diagnostic start 2-150
dot1x 2-153
dot1x auth-fail max-attempts 2-155
dot1x auth-fail vlan 2-157
dot1x control-direction 2-159
dot1x credentials (global configuration) 2-161
dot1x critical (global configuration) 2-162
dot1x critical (interface configuration) 2-164
dot1x default 2-166
dot1x fallback 2-167
dot1x guest-vlan 2-168
dot1x host-mode 2-170
dot1x initialize 2-171
dot1x mac-auth-bypass 2-172
dot1x max-reauth-req 2-174
dot1x max-req 2-176
dot1x pae 2-177
dot1x port-control 2-178
dot1x re-authenticate 2-180
dot1x reauthentication 2-181
dot1x supplicant force-multicast 2-182
dot1x test eapol-capable 2-183
dot1x test timeout 2-184
dot1x timeout 2-185
dot1x violation-mode 2-188
duplex 2-189
epm access-control open 2-191
errdisable detect cause 2-193
errdisable detect cause small-frame 2-195
errdisable recovery 2-197
errdisable recovery cause small-frame 2-200
exception crashinfo 2-201
fallback profile 2-202
flowcontrol 2-204
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
hw-module 2-206
interface port-channel 2-208
interface range 2-210
interface vlan 2-212
ip access-group 2-214
ip address 2-217
ip admission 2-219
ip admission name proxy http 2-220
ip arp inspection filter vlan 2-222
ip arp inspection limit 2-224
ip arp inspection log-buffer 2-226
ip arp inspection trust 2-228
ip arp inspection validate 2-230
ip arp inspection vlan 2-232
ip arp inspection vlan logging 2-233
ip device tracking 2-235
ip device tracking maximum 2-236
ip device tracking probe 2-237
ip dhcp snooping 2-239
ip dhcp snooping binding 2-240
ip dhcp snooping database 2-242
ip dhcp snooping information option 2-244
ip dhcp snooping information option allow-untrusted 2-246
ip dhcp snooping information option format remote-id 2-248
ip dhcp snooping limit rate 2-249
ip dhcp snooping trust 2-250
ip dhcp snooping verify 2-251
ip dhcp snooping vlan 2-252
ip dhcp snooping vlan information option format-type circuit-id string 2-253
ip igmp filter 2-255
ip igmp max-groups 2-257
ip igmp profile 2-259
ip igmp snooping 2-261
ip igmp snooping last-member-query-interval 2-263
ip igmp snooping querier 2-265
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
ip igmp snooping report-suppression 2-267
ip igmp snooping tcn 2-269
ip igmp snooping tcn flood 2-271
ip igmp snooping vlan immediate-leave 2-272
ip igmp snooping vlan mrouter 2-273
ip igmp snooping vlan static 2-275
ip snap forwarding 2-277
ip source binding 2-278
ip ssh 2-280
ip sticky-arp (global configuration) 2-282
ip sticky-arp (interface configuration) 2-284
ip verify source 2-286
ipv6 access-list 2-288
ipv6 address dhcp 2-291
ipv6 dhcp client request vendor 2-292
ipv6 dhcp ping packets 2-293
ipv6 dhcp pool 2-295
ipv6 dhcp server 2-298
ipv6 mld snooping 2-300
ipv6 mld snooping last-listener-query-count 2-302
ipv6 mld snooping last-listener-query-interval 2-304
ipv6 mld snooping listener-message-suppression 2-306
ipv6 mld snooping robustness-variable 2-307
ipv6 mld snooping tcn 2-309
ipv6 mld snooping vlan 2-311
ipv6 traffic-filter 2-313
l2protocol-tunnel 2-315
l2protocol-tunnel cos 2-318
lacp port-priority 2-319
lacp system-priority 2-321
link state group 2-323
link state track 2-325
location (global configuration) 2-326
location (interface configuration) 2-328
logging event 2-330
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
logging event power-inline-status 2-331
logging file 2-332
mab request format attribute 32 2-334
mac access-group 2-336
mac access-list extended 2-338
mac address-table aging-time 2-340
mac address-table learning vlan 2-341
mac address-table move update 2-343
mac address-table notification 2-345
mac address-table static 2-347
mac address-table static drop 2-348
mac sec 2-350
match (access-map configuration) 2-351
match (class-map configuration) 2-353
mdix auto 2-356
media-type rj45 2-358
mka default-policy 2-359
mka policy (global configuration) 2-360
mka policy (interface configuration) 2-362
mls qos 2-364
mls qos aggregate-policer 2-366
mls qos cos 2-368
mls qos dscp-mutation 2-370
mls qos map 2-372
mls qos queue-set output buffers 2-376
mls qos queue-set output threshold 2-378
mls qos rewrite ip dscp 2-380
mls qos srr-queue input bandwidth 2-382
mls qos srr-queue input buffers 2-384
mls qos srr-queue input cos-map 2-386
mls qos srr-queue input dscp-map 2-388
mls qos srr-queue input priority-queue 2-390
mls qos srr-queue input threshold 2-392
mls qos srr-queue output cos-map 2-394
mls qos srr-queue output dscp-map 2-396
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
mls qos trust 2-398
mls qos vlan-based 2-400
mode 2-401
monitor session 2-403
mvr (global configuration) 2-408
mvr (interface configuration) 2-411
network-policy 2-414
network-policy profile (global configuration) 2-415
network-policy profile (network-policy configuration) 2-416
nmsp 2-418
nmsp attachment suppress 2-419
no authentication logging verbose 2-420
no dot1x logging verbose 2-421
no mab logging verbose 2-422
nsf 2-423
pagp learn-method 2-425
pagp port-priority 2-427
permit (ARP access-list configuration) 2-429
permit (IPv6 access-list configuration) 2-431
permit (MAC access-list configuration) 2-437
police 2-440
police aggregate 2-442
policy-map 2-444
port-channel load-balance 2-447
power inline 2-449
power inline consumption 2-452
power inline police 2-455
power-priority 2-458
power rps 2-460
power supply 2-462
priority-queue 2-464
private-vlan 2-466
private-vlan mapping 2-469
queue-set 2-471
radius-server dead-criteria 2-472
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
radius-server host 2-474
rcommand 2-476
reload 2-478
remote command 2-480
remote-span 2-482
renew ip dhcp snooping database 2-484
replay-protection 2-486
reserved-only 2-487
rmon collection stats 2-489
sdm prefer 2-490
service password-recovery 2-494
service-policy 2-496
session 2-499
set 2-500
setup 2-502
setup express 2-505
show access-lists 2-507
show archive status 2-510
show arp access-list 2-511
show authentication 2-512
show auto qos 2-516
show boot 2-520
show cable-diagnostics tdr 2-523
show cdp forward 2-525
show cisp 2-526
show class-map 2-527
show cluster 2-528
show cluster candidates 2-530
show cluster members 2-532
show controllers cpu-interface 2-534
show controllers ethernet-controller 2-536
show controllers ethernet-controller fastethernet 2-543
show controllers ethernet phy macsec 2-546
show controllers power inline 2-549
show controllers tcam 2-551
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
show controllers utilization 2-553
show diagnostic 2-555
show dot1q-tunnel 2-560
show dot1x 2-562
show dtp 2-566
show eap 2-568
show env 2-571
show errdisable detect 2-574
show errdisable flap-values 2-576
show errdisable recovery 2-577
show etherchannel 2-579
show fallback profile 2-582
show flowcontrol 2-584
show idprom interface 2-586
show interfaces 2-588
show interfaces counters 2-599
show interfaces transceivers 2-602
show inventory 2-605
show ip arp inspection 2-606
show ip dhcp snooping 2-610
show ip dhcp snooping binding 2-611
show ip dhcp snooping database 2-613
show ip dhcp snooping statistics 2-615
show ip igmp profile 2-618
show ip igmp snooping 2-619
show ip igmp snooping groups 2-622
show ip igmp snooping mrouter 2-624
show ip igmp snooping querier 2-626
show ip source binding 2-628
show ip verify source 2-630
show ipc 2-632
show ipv6 access-list 2-636
show ipv6 dhcp conflict 2-638
show ipv6 mld snooping 2-639
show ipv6 mld snooping address 2-641
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
show ipv6 mld snooping mrouter 2-643
show ipv6 mld snooping querier 2-645
show ipv6 route updated 2-647
show l2protocol-tunnel 2-649
show lacp 2-652
show link state group 2-656
show lldp 2-658
show location 2-659
show logging onboard 2-662
show mac access-group 2-667
\show mac address-table 2-668
show mac address-table address 2-670
show mac address-table aging-time 2-672
show mac address-table count 2-674
show mac address-table dynamic 2-676
show mac address-table interface 2-678
show mac address-table learning 2-680
show mac address-table move update 2-681
show mac address-table notification 2-683
show mac address-table static 2-685
show mac address-table vlan 2-687
show macsec 2-689
show mka default-policy 2-691
show mka policy 2-693
show mka session 2-696
show mka statistics 2-699
show mka summary 2-702
show mls qos 2-705
show mls qos aggregate-policer 2-706
show mls qos input-queue 2-707
show mls qos interface 2-709
show mls qos maps 2-713
show mls qos queue-set 2-716
show mls qos vlan 2-718
show monitor 2-719
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
show mvr 2-721
show mvr interface 2-723
show mvr members 2-725
show network-policy profile 2-727
show nmsp 2-728
show pagp 2-731
show policy-map 2-733
show port-security 2-734
show power inline 2-737
show sdm prefer 2-743
show setup express 2-746
show spanning-tree 2-747
show stack-power 2-753
show storm-control 2-755
show switch 2-757
show system mtu 2-762
show udld 2-763
show version 2-766
show vlan 2-768
show vlan access-map 2-773
show vlan filter 2-774
show vmps 2-775
show vtp 2-777
shutdown 2-783
shutdown vlan 2-784
small-frame violation rate 2-785
snmp-server enable traps 2-787
snmp-server host 2-792
snmp trap mac-notification change 2-796
spanning-tree backbonefast 2-798
spanning-tree bpdufilter 2-799
spanning-tree bpduguard 2-801
spanning-tree cost 2-803
spanning-tree etherchannel guard misconfig 2-805
spanning-tree extend system-id 2-807
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
spanning-tree guard 2-809
spanning-tree link-type 2-811
spanning-tree loopguard default 2-813
spanning-tree mode 2-815
spanning-tree mst configuration 2-817
spanning-tree mst cost 2-819
spanning-tree mst forward-time 2-821
spanning-tree mst hello-time 2-822
spanning-tree mst max-age 2-823
spanning-tree mst max-hops 2-824
spanning-tree mst port-priority 2-825
spanning-tree mst pre-standard 2-827
spanning-tree mst priority 2-828
spanning-tree mst root 2-829
spanning-tree port-priority 2-831
spanning-tree portfast (global configuration) 2-833
spanning-tree portfast (interface configuration) 2-836
spanning-tree transmit hold-count 2-838
spanning-tree uplinkfast 2-839
spanning-tree vlan 2-841
speed 2-844
srr-queue bandwidth limit 2-846
srr-queue bandwidth shape 2-848
srr-queue bandwidth share 2-850
stack-mac persistent timer 2-852
stack-power 2-854
storm-control 2-856
switch 2-859
switch priority 2-861
switch provision 2-862
switch renumber 2-864
switchport 2-866
switchport access 2-868
switchport autostate exclude 2-870
switchport backup interface 2-872
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
switchport block 2-875
switchport host 2-877
switchport mode 2-878
switchport mode private-vlan 2-881
switchport nonegotiate 2-883
switchport port-security 2-885
switchport port-security aging 2-890
switchport priority extend 2-892
switchport private-vlan 2-894
switchport protected 2-896
switchport trunk 2-898
switchport voice detect 2-901
switchport voice vlan 2-902
system env temperature threshold yellow 2-904
system mtu 2-906
test cable-diagnostics tdr 2-909
traceroute mac 2-910
traceroute mac ip 2-913
trust 2-915
udld 2-917
udld port 2-919
udld reset 2-921
usb-inactivity-timeout 2-922
vlan (global configuration) 2-923
vlan access-map 2-928
vlan dot1q tag native 2-930
vlan filter 2-932
vmps reconfirm (privileged EXEC) 2-934
vmps reconfirm (global configuration) 2-935
vmps retry 2-936
vmps server 2-937
vtp (global configuration) 2-939
vtp (interface configuration) 2-944
vtp primary 2-945
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
A P P E N D I X A
Catalyst 3750-X and 3560-X Switch Boot Loader Commands A-1
arp A-2
boot A-3
cat A-5
copy A-6
delete A-7
dir A-8
flash_init A-10
format A-11
fsck A-12
help A-13
memory A-14
mgmt_clr A-16
mgmt_init A-17
mgmt_show A-18
mkdir A-19
more A-20
rename A-21
reset A-22
rmdir A-23
set A-24
type A-27
unset A-28
version A-30
A P P E N D I X B
Catalyst 3750-X and 3560-X Switch Debug Commands B-1
debug authentication B-2
debug auto qos B-4
debug backup B-6
debug cisp B-7
debug cluster B-8
debug dot1x B-10
debug dtp B-11
debug eap B-12
debug etherchannel B-13
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
debug fastethernet B-14
debug ilpower B-15
debug interface B-16
debug ip dhcp snooping B-17
debug ip verify source packet B-18
debug ip igmp filter B-19
debug ip igmp max-groups B-20
debug ip igmp snooping B-21
debug lacp B-22
debug lldp packets B-23
debug mac-notification B-24
debug macsec B-25
debug matm B-26
debug matm move update B-27
debug mka B-28
debug monitor B-30
debug mvrdbg B-31
debug nmsp B-32
debug nvram B-33
debug pagp B-34
debug platform acl B-35
debug platform backup interface B-37
debug platform cisp B-38
debug platform cli-redirection main B-39
debug platform configuration B-40
debug platform cpu-queues B-41
debug platform device-manager B-43
debug platform dot1x B-44
debug platform etherchannel B-45
debug platform fallback-bridging B-46
debug platform forw-tcam B-47
debug platform frontend-controller B-48
debug platform ip arp inspection B-49
debug platform ip dhcp B-50
debug platform ip igmp snooping B-51
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
debug platform ip multicast B-53
debug platform ip unicast B-55
debug platform ip wccp B-57
debug platform ipc B-58
debug platform led B-59
debug platform matm B-60
debug platform messaging application B-61
debug platform phy B-62
debug platform pm B-64
debug platform port-asic B-66
debug platform port-security B-67
debug platform qos-acl-tcam B-68
debug platform remote-commands B-69
debug platform resource-manager B-70
debug platform snmp B-71
debug platform span B-72
debug platform stack-manager B-73
debug platform supervisor-asic B-74
debug platform sw-bridge B-75
debug platform tcam B-76
debug platform udld B-79
debug platform vlan B-80
debug pm B-81
debug port-security B-83
debug qos-manager B-84
debug spanning-tree B-85
debug spanning-tree backbonefast B-87
debug spanning-tree bpdu B-88
debug spanning-tree bpdu-opt B-89
debug spanning-tree mstp B-90
debug spanning-tree switch B-92
debug spanning-tree uplinkfast B-94
debug sw-vlan B-95
debug sw-vlan ifs B-97
debug sw-vlan notification B-98
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
debug sw-vlan vtp B-100
debug udld B-102
debug vqpc B-104
A P P E N D I X C
Catalyst 3750-X and 3560-X Show Platform Commands C-1
show platform acl C-2
show platform backup interface C-3
show platform configuration C-4
show platform dl C-5
show platform etherchannel C-6
show platform forward C-7
show platform frontend-controller C-9
show platform ip igmp snooping C-10
show platform ip multicast C-12
show platform ip unicast C-13
show platform ip unicast vrf compaction C-15
show platform ip unicast vrf tcam-label C-16
show platform ip wccp C-17
show platform ipc trace C-18
show platform ipv6 mld snooping C-19
show platform ipv6 unicast C-20
show platform layer4op C-22
show platform mac-address-table C-23
show platform messaging C-24
show platform monitor C-25
show platform mvr table C-26
show platform pm C-27
show platform port-asic C-29
show platform port-security C-34
show platform qos C-35
show platform resource-manager C-36
show platform snmp counters C-38
show platform spanning-tree C-39
show platform stp-instance C-40
show platform stack manager C-41
show platform stack ports C-43
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
show platform tb C-45
show platform tcam C-47
show platform vlan C-50
A P P E N D I X D
Acknowledgments for Open-Source Software D-1
I N D E X
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Preface
Audience
This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to
manage the Catalyst 3750-X and 3560-X switch, or the Catalyst 3750-X switch stack, referred to as the
switch. Before using this guide, you should have experience working with the Cisco IOS commands and
the switch software features. Before using this guide, you should have experience working with the
concepts and terminology of Ethernet and local area networking.
Purpose
This guide provides the information that you need about the Layer 2 and Layer 3 commands that have
been created or changed for use with the Catalyst 3750-X and 3560-X switches. For information about
the standard Cisco IOS Release 12.2 commands, see the Cisco IOS documentation set available from the
Cisco.com home page by selecting Technical Support & Documentation > Documentation > Cisco
IOS Software.
Note
Switches running the LAN base feature set do not support Layer 3 features.
This guide does not provide procedures for configuring your switch. For detailed configuration
procedures, see the software configuration guide for this release.
This guide does not describe system messages you might encounter. For more information, see the
system message guide for this release.
For documentation updates, see the release notes for this release.
Conventions
This publication uses these conventions to convey instructions and information:
Command descriptions use these conventions:
•
Commands and keywords are in boldface text.
•
Arguments for which you supply values are in italic.
•
Square brackets ([ ]) means optional elements.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Preface
•
Braces ({}) group required choices, and vertical bars ( | ) separate the alternative elements.
•
Braces and vertical bars within square brackets ([{ | }]) mean a required choice within an optional
element.
Interactive examples use these conventions:
•
Terminal sessions and system displays are in screen font.
•
Information you enter is in boldface screen font.
•
Nonprinting characters, such as passwords or tabs, are in angle brackets (< >).
Notes, cautions, and warnings use these conventions and symbols:
Note
Means reader take note. Notes contain helpful suggestions or references to materials not contained in
this manual.
Caution
Means reader be careful. In this situation, you might do something that could result in equipment
damage or loss of data.
Related Publications
Documents with complete information about the switch are available from these Cisco.com sites:
Catalyst 3750-X
http://www.cisco.com/en/US/products/ps10745/tsd_products_support_series_home.html
Catalyst 3560-X
http://www.cisco.com/en/US/products/ps10744/tsd_products_support_series_home.html
Note
Before installing, configuring, or upgrading the switch, see these documents:
•
For initial configuration information, see the “Using Express Setup” section in the getting started
guide or the “Configuring the Switch with the CLI-Based Setup Program” appendix in the hardware
installation guide.
•
For device manager requirements, see the “System Requirements” section in the release notes.
•
For Network Assistant requirements, see the Getting Started with Cisco Network Assistant.
•
For cluster requirements, see the Release Notes for Cisco Network Assistant.
•
For upgrade information, see the “Downloading Software” section in the release notes.
For more information, see these documents on Cisco.com.
•
Release Notes for the Catalyst 3750-X and 3560-X Switch
•
Catalyst 3750-X and 3560-X Switch Getting Started Guide
•
Catalyst 3750-X and 3560-X Switch Hardware Installation Guide
•
Regulatory Compliance and Safety Information for the Catalyst 3750-X and 3560-X Switch
•
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Preface
•
Catalyst 3750-X and 3560-X Switch Command Reference
•
Catalyst 3750-X, 3750-E, 3560-X, and 3560-E Switch System Message Guide
•
Cisco IOS Software Activation
•
Auto Smartports Configuration Guide
•
Cisco EnergyWise Configuration Guide
•
Installation Notes for the Catalyst 3750-X and Catalyst 3560-X Switch Power Supply Modules
•
Installation Notes for the Catalyst 3750-X and 3560-X Switch Fan Module
•
Installation Notes for the Catalyst 3750-X and 3560-X Switch Network Modules
•
Getting Started with Cisco Network Assistant
•
Release Notes for Cisco Network Assistant
•
Information about Cisco SFP and SFP+ modules is available from this Cisco.com site:
http://www.cisco.com/en/US/products/hw/modules/ps5455/prod_installation_guides_list.html
SFP compatibility matrix documents are available from this Cisco.com site:
http://www.cisco.com/en/US/products/hw/modules/ps5455/products_device_support_tables_list.h
tml
•
For information about the Network Admission Control (NAC) features, see the Network Admission
Control Software Configuration Guide
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, submitting a service request, and gathering additional
information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and
revised Cisco technical documentation, at:
http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html
Subscribe to the What’s New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed
and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free
service and Cisco currently supports RSS Version 2.0.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Preface
Downloaded from www.Manualslib.com manuals search engine
C H A P T E R
1-1
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
1
Using the Command-Line Interface
The Catalyst 3750-X and 3560-X switches are supported by Cisco IOS software. This chapter describes
how to use the switch command-line interface (CLI) to configure software features.
For a complete description of the commands that support these features, see Chapter 2, “Catalyst 3750-X
and 3560-X Switch Cisco IOS Commands.” For information on the boot loader commands, see
Appendix A “Catalyst 3750-X and 3560-X Switch Boot Loader Commands.” For information on the
debug commands, see Appendix B “Catalyst 3750-X and 3560-X Switch Debug Commands.” For
information on the show platform commands, see Appendix C “Catalyst 3750-X and 3560-X Show
Platform Commands.” For more information on Cisco IOS Release 12.2, see the Cisco IOS Release 12.2
Command Summary.
For task-oriented configuration steps, see the software configuration guide for this release.
In this document, IP refers to IP version 4 (IPv4) unless there is a specific reference to IP version 6
(IPv6).
Accessing the Switch
You manage the switch stack and the stack member interfaces through the stack master (such as a
Catalyst 3750-X switch). You cannot manage stack members on an individual switch basis. You can
connect to the stack master through the console port or Ethernet management port of one or more stack
members. You can connect to the stack master through the console port or Ethernet management port of
one or more stack members. Be careful with using multiple CLI sessions to the stack master. Commands
you enter in one session are not displayed in the other sessions. Therefore, it is possible to lose track of
the session from which you entered commands.
Note
We recommend using one CLI session when managing the switch stack.
If you want to configure a specific stack member port, you must include the stack member number in the
CLI command interface notation. For more information about interface notations, see the “Configuring
Interfaces” chapter in the software configuration guide for this release.
To debug a specific stack member, you can access it from the stack master by using the session
stack-member-number privileged EXEC command. The stack member number is appended to the system
prompt. For example, Switch-2# is the prompt in privileged EXEC mode for stack member 2, and the
system prompt for the stack master is Switch. Only the show and debug commands are available in a
CLI session to a specific stack member.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 1 Using the Command-Line Interface
CLI Command Modes
CLI Command Modes
This section describes the CLI command mode structure. Command modes support specific Cisco IOS
commands. For example, the interface interface-id command only works when entered in global
configuration mode.
These are the main command modes for the switch:
•
User EXEC
•
Privileged EXEC
•
Global configuration
•
Interface configuration
•
VLAN configuration
•
Line configuration
Table 1-1 lists the main command modes, how to access each mode, the prompt you see in that mode,
and how to exit that mode. The prompts listed use the default name Switch.
Table 1-1
Command Modes Summary
Command Mode
Access Method
Prompt
Exit or Access Next Mode
User EXEC
This is the first level of access.
(For the switch) Change terminal
settings, perform basic tasks, and
list system information.
Switch>
Enter the logout command.
To enter privileged EXEC mode, enter
the enable command.
Privileged EXEC
From user EXEC mode, enter the
enable command.
Switch#
To exit to user EXEC mode, enter the
disable command.
To enter global configuration mode,
enter the configure command.
Global
configuration
From privileged EXEC mode,
enter the configure command.
Switch(config)#
To exit to privileged EXEC mode,
enter the exit or end command, or
press Ctrl-Z.
To enter interface configuration mode,
enter the interface configuration
command.
Interface
configuration
From global configuration mode,
specify an interface by entering
the interface command followed
by an interface identification.
Switch(config-if)#
To exit to privileged EXEC mode,
enter the end command, or press
Ctrl-Z.
To exit to global configuration mode,
enter the exit command.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 1 Using the Command-Line Interface
CLI Command Modes
User EXEC Mode
After you access the device, you are automatically in user EXEC command mode. The EXEC commands
available at the user level are a subset of those available at the privileged level. In general, use the user
EXEC commands to temporarily change terminal settings, perform basic tests, and list system
information.
The supported commands can vary depending on the version of software in use. To display a
comprehensive list of commands, enter a question mark (?) at the prompt.
Switch> ?
Privileged EXEC Mode
Because many of the privileged commands configure operating parameters, privileged access should be
password-protected to prevent unauthorized use. The privileged command set includes those commands
contained in user EXEC mode, as well as the configure privileged EXEC command through which you
access the remaining command modes.
If your system administrator has set a password, you are prompted to enter it before being granted access
to privileged EXEC mode. The password does not appear on the screen and is case sensitive.
The privileged EXEC mode prompt is the device name followed by the pound sign (#).
Switch#
Enter the enable command to access privileged EXEC mode:
Switch> enable
Switch#
The supported commands can vary depending on the version of software in use. To display a
comprehensive list of commands, enter a question mark (?) at the prompt.
Switch# ?
To return to user EXEC mode, enter the disable privileged EXEC command.
VLAN
configuration
In global configuration mode,
enter the vlan vlan-id command.
Switch(config-vlan)#
To exit to global configuration mode,
enter the exit command.
To return to privileged EXEC mode,
enter the end command, or press
Ctrl-Z.
Line configuration
From global configuration mode,
specify a line by entering the line
command.
Switch(config-line)#
To exit to global configuration mode,
enter the exit command.
To return to privileged EXEC mode,
enter the end command, or press
Ctrl-Z.
Table 1-1
Command Modes Summary (continued)
Command Mode
Access Method
Prompt
Exit or Access Next Mode
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 1 Using the Command-Line Interface
CLI Command Modes
Global Configuration Mode
Global configuration commands apply to features that affect the device as a whole. Use the configure
privileged EXEC command to enter global configuration mode. The default is to enter commands from
the management console.
When you enter the configure command, a message prompts you for the source of the configuration
commands:
Switch# configure
Configuring from terminal, memory, or network [terminal]?
You can specify either the terminal or NVRAM as the source of configuration commands.
This example shows you how to access global configuration mode:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
The supported commands can vary depending on the version of software in use. To display a
comprehensive list of commands, enter a question mark (?) at the prompt.
Switch(config)# ?
To exit global configuration command mode and to return to privileged EXEC mode, enter the end or
exit command, or press Ctrl-Z.
Interface Configuration Mode
Interface configuration commands modify the operation of the interface. Interface configuration
commands always follow a global configuration command, which defines the interface type.
Use the interface interface-id command to access interface configuration mode. The new prompt means
interface configuration mode.
Switch(config-if)#
The supported commands can vary depending on the version of software in use. To display a
comprehensive list of commands, enter a question mark (?) at the prompt.
Switch(config-if)# ?
To exit interface configuration mode and to return to global configuration mode, enter the exit command.
To exit interface configuration mode and to return to privileged EXEC mode, enter the end command,
or press Ctrl-Z.
VLAN Configuration Mode
Use this mode to configure normal-range VLANs (VLAN IDs 1 to 1005) or, when VTP mode is
transparent, to configure extended-range VLANs (VLAN IDs 1006 to 4094). When VTP mode is
transparent, the VLAN and VTP configuration is saved in the running configuration file, and you can
save it to the switch startup configuration file by using the copy running-config startup-config
privileged EXEC command. The configurations of VLAN IDs 1 to 1005 are saved in the VLAN database
if VTP is in transparent or server mode. The extended-range VLAN configurations are not saved in the
VLAN database.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 1 Using the Command-Line Interface
CLI Command Modes
Enter the vlan vlan-id global configuration command to access VLAN configuration mode:
Switch(config)# vlan 2000
Switch(config-vlan)#
The supported keywords can vary but are similar to the commands available in VLAN configuration
mode. To display a comprehensive list of commands, enter a question mark (?) at the prompt.
Switch(config-vlan)# ?
For extended-range VLANs, all characteristics except the MTU size must remain at the default setting.
To return to global configuration mode, enter exit; to return to privileged EXEC mode, enter end. All
the commands except shutdown take effect when you exit config-vlan mode.
Line Configuration Mode
Line configuration commands modify the operation of a terminal line. Line configuration commands
always follow a line command, which defines a line number. Use these commands to change terminal
parameter settings line-by-line or for a range of lines.
Use the line vty line_number [ending_line_number] command to enter line configuration mode. The
new prompt means line configuration mode. The following example shows how to enter line
configuration mode for virtual terminal line 7:
Switch(config)# line vty 0 7
The supported commands can vary depending on the version of software in use. To display a
comprehensive list of commands, enter a question mark (?) at the prompt.
Switch(config-line)# ?
To exit line configuration mode and to return to global configuration mode, use the exit command. To
exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press
Ctrl-Z.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 1 Using the Command-Line Interface
CLI Command Modes
Downloaded from www.Manualslib.com manuals search engine
C H A P T E R
2-1
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
2
Catalyst 3750-X and 3560-X Switch
Cisco IOS Commands
aaa accounting dot1x
Use the aaa accounting dot1x global configuration command to enable authentication, authorization,
and accounting (AAA) accounting and to create method lists defining specific accounting methods on a
per-line or per-interface basis for IEEE 802.1x sessions. Use the no form of this command to disable
IEEE 802.1x accounting.
aaa accounting dot1x {name | default} start-stop {broadcast group {name | radius | tacacs+}
[group {name | radius | tacacs+} ... ] | group {name | radius | tacacs+} [group {name | radius
| tacacs+} ... ]}
no aaa accounting dot1x {name | default}
Syntax Description
name
Name of a server group. This is optional when you enter it after the
broadcast group and group keywords.
default
Use the accounting methods that follow as the default list for accounting
services.
start-stop
Send a start accounting notice at the beginning of a process and a stop
accounting notice at the end of a process. The start accounting record is sent
in the background. The requested-user process begins regardless of whether
or not the start accounting notice was received by the accounting server.
broadcast
Enable accounting records to be sent to multiple AAA servers and send
accounting records to the first server in each group. If the first server is
unavailable, the switch uses the list of backup servers to identify the first
server.
group
Specify the server group to be used for accounting services. These are valid
server group names:
•
name—Name of a server group.
•
radius—List of all RADIUS hosts.
•
tacacs+—List of all TACACS+ hosts.
The group keyword is optional when you enter it after the broadcast group
and group keywords. You can enter more than optional group keyword.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
aaa accounting dot1x
Defaults
AAA accounting is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
This command requires access to a RADIUS server.
We recommend that you enter the dot1x reauthentication interface configuration command before
configuring IEEE 802.1x RADIUS accounting on an interface.
Examples
This example shows how to configure IEEE 802.1x accounting:
Switch(config)# aaa new-model
Switch(config)# aaa accounting dot1x default start-stop group radius
Note
The RADIUS authentication server must be properly configured to accept and log update or watchdog
packets from the AAA client.
Related Commands
radius
(Optional) Enable RADIUS authorization.
tacacs+
(Optional) Enable TACACS+ accounting.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
aaa authentication
dot1x
Specifies one or more AAA methods for use on interfaces running
IEEE 802.1x.
aaa new-model
Enables the AAA access control model. For syntax information, see the
Cisco IOS Security Command Reference, Release 12.2 > Authentication,
Authorization, and Accounting > Authentication Commands.
dot1x reauthentication
Enables or disables periodic reauthentication.
dot1x timeout
reauth-period
Sets the number of seconds between re-authentication attempts.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
aaa authentication dot1x
aaa authentication dot1x
Use the aaa authentication dot1x global configuration command on the switch stack or on a standalone
switch to specify the authentication, authorization, and accounting (AAA) method to use on ports
complying with the IEEE 802.1x authentication. Use the no form of this command to disable
authentication.
aaa authentication dot1x {default} method1
no aaa authentication dot1x {default}
Syntax Description
Note
Though other keywords are visible in the command-line help strings, only the default and group radius
keywords are supported.
Defaults
No authentication is performed.
Command Modes
Global configuration
Command History
Usage Guidelines
The method argument identifies the method that the authentication algorithm tries in the given sequence
to validate the password provided by the client. The only method that is truly IEEE 802.1x-compliant is
the group radius method, in which the client data is validated against a RADIUS authentication server.
If you specify group radius, you must configure the RADIUS server by entering the radius-server host
global configuration command.
Use the show running-config privileged EXEC command to display the configured lists of
authentication methods.
default
Use the listed authentication method that follows this argument as the default
method when a user logs in.
method1
Enter the group radius keywords to use the list of all RADIUS servers for
authentication.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
aaa authentication dot1x
Examples
This example shows how to enable AAA and how to create an IEEE 802.1x-compliant authentication
list. This authentication first tries to contact a RADIUS server. If this action returns an error, the user is
not allowed access to the network.
Switch(config)# aaa new-model
Switch(config)# aaa authentication dot1x default group radius
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
Command
Description
aaa new-model
Enables the AAA access control model. For syntax information, see the
Cisco IOS Security Command Reference, Release 12.2 > Authentication,
Authorization, and Accounting > Authentication Commands.
show running-config
Displays the operating configuration. For syntax information, use this link to
the Cisco IOS Release 12.2 Command Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_
reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2 to navigate to
the command.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
aaa authorization network
aaa authorization network
Use the aaa authorization network global configuration command on the switch stack or on a
standalone switch to the configure the switch to use user-RADIUS authorization for all network-related
service requests, such as IEEE 802.1x per-user access control lists (ACLs) or VLAN assignment. Use
the no form of this command to disable RADIUS user authorization.
aaa authorization network default group radius
no aaa authorization network default
Syntax Description
Defaults
Authorization is disabled.
Command Modes
Global configuration
Command History
Usage Guidelines
Use the aaa authorization network default group radius global configuration command to allow the
switch to download IEEE 802.1x authorization parameters from the RADIUS servers in the default
authorization list. The authorization parameters are used by features such as per-user ACLs or VLAN
assignment to get parameters from the RADIUS servers.
Use the show running-config privileged EXEC command to display the configured lists of authorization
methods.
Examples
This example shows how to configure the switch for user RADIUS authorization for all network-related
service requests:
Switch(config)# aaa authorization network default group radius
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
default group
radius
Use the list of all RADIUS hosts in the server group as the default authorization
list.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
show running-config
Displays the operating configuration. For syntax information, use this link to
the Cisco IOS Release 12.2 Command Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_
reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2 to navigate to
the command.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
action
action
Use the action access-map configuration command on the switch stack or on a standalone switch to set
the action for the VLAN access map entry. Use the no form of this command to return to the default
setting.
action {drop | forward}
no action
Note
This command is not supported on switches running the LAN base feature set.
Syntax Description
Defaults
The default action is to forward packets.
Command Modes
Access-map configuration
Command History
Usage Guidelines
You enter access-map configuration mode by using the vlan access-map global configuration command.
If the action is drop, you should define the access map, including configuring any access control list
(ACL) names in match clauses, before applying the map to a VLAN, or all packets could be dropped.
In access-map configuration mode, use the match access-map configuration command to define the
match conditions for a VLAN map. Use the action command to set the action that occurs when a packet
matches the conditions.
The drop and forward parameters are not used in the no form of the command.
Examples
This example shows how to identify and apply a VLAN access map vmap4 to VLANs 5 and 6 that causes
the VLAN to forward an IP packet if the packet matches the conditions defined 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
You can verify your settings by entering the show vlan access-map privileged EXEC command.
drop
Drop the packet when the specified conditions are matched.
forward
Forward the packet when the specified conditions are matched.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
action
Related Commands
Command
Description
access-list {deny | permit}
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.
ip access-list
Creates a named access list. For syntax information, select Cisco
IOS IP Command Reference, Volume 1 of 3:Addressing and
Services, Release 12.2 > IP Services Commands.
mac access-list extended
Creates a named MAC address access list.
match (class-map
configuration)
Defines the match conditions for a VLAN map.
show vlan access-map
Displays the VLAN access maps created on the switch.
vlan access-map
Creates a VLAN access map.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive copy-sw
archive copy-sw
Use the archive copy-sw privileged EXEC command on the stack master to copy the running image from
the flash memory on one stack member to the flash memory on one or more other stack members.
archive copy-sw [/destination-system destination-stack-member-number] [/force-reload]
[leave-old-sw] [/no-set-boot] [/overwrite] [/reload] [/safe] source-stack-member-number
Note
This command is supported only on Catalyst 3750-X switches.
Syntax Description
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The current software image is not overwritten with the copied image.
Both the software image and HTML files are copied.
The new image is copied to the flash: file system.
The BOOT environment variable is changed to point to the new software image on the flash: file system.
Image names are case sensitive; the image file is provided in tar format.
/destination-system
destination-stack-
member-number
(Optional) The number of the stack member to which to copy the running
image. The range is 1 to 9.
/force-reload
(Optional) Unconditionally force a system reload after successfully
downloading the software image.
/leave-old-sw
(Optional) Keep the old software version after a successful download.
/no-set-boot
(Optional) Do not alter the setting of the BOOT environment variable to
point to the new software image after it is successfully downloaded.
/overwrite
(Optional) Overwrite the software image in flash memory with the
downloaded one.
/reload
(Optional) Reload the system after downloading the image unless the
configuration has been changed and not been saved.
/safe
(Optional) Keep the current software image; do not delete it to make room
for the new software image before the new image is downloaded. The current
image is deleted after the download.
source-stack-member-
number
The number of the stack member from which to copy the running image. The
range is 1 to 9.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive copy-sw
Note
To successfully use the archive copy-sw privileged EXEC command, you must have downloaded from
a TFTP server the images for both the stack member switch being added and the stack master. You use
the archive download-sw privileged EXEC command to perform the download.
At least one stack member must be running the image that is to be copied to the switch that has
incompatible software.
You can copy the image to more than one specific stack member by repeating the /destination-system
destination-stack-member-number option in the command for each stack member to be upgraded. If you
do not specify the destination-stack-member-number, the default is to copy the running image file to all
stack members.
Using the /safe or /leave-old-sw option can cause the new copied image to fail if there is insufficient
flash memory. If leaving the software in place would prevent the new image from fitting in flash memory
due to space constraints, an error results.
If you used the /leave-old-sw option and did not overwrite the old image when you copied the new one,
you can remove the old image by using the delete privileged EXEC command. For more information,
see the “delete” section on page 135.
Use the /overwrite option to overwrite the image on the flash device with the copied one.
If you specify the command without the /overwrite option, the algorithm verifies that the new image is
not the same as the one on the switch flash device or is not running on any stack members. If the images
are the same, the copy does not occur. If the images are different, the old image is deleted, and the new
one is copied.
After copying a new image, enter the reload privileged EXEC command to begin using the new image,
or specify the /reload or /force-reload option in the archive copy-sw command.
You can enter one or more of these options with the source-stack-member-number option:
•
/destination-system destination-stack-member-number
•
/force-reload
•
/leave-old-sw
•
/no-set-boot
•
/overwrite
•
/reload
•
/safe
If you enter the source-stack-member-number option before one of the previous options, you can enter
only the archive copy-sw source-stack-member-number command.
These are examples of how you can enter the archive copy-sw command:
•
To copy the running image from a stack member to another stack member and to overwrite the
software image in the second stack member’s flash memory (if it already exists) with the copied one,
enter the archive copy-sw /destination destination-stack-member-number /overwrite
source-stack-member-number command.
•
To copy the running image from a stack member to another stack member, keep the current software
image, and reload the system after the image copies, enter the archive copy-sw /destination
destination-stack-member-number /safe /reload source-stack-member-number command.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive copy-sw
Examples
This example shows how to copy the running image from stack member 6 to stack member 8:
Switch# archive copy-sw /destination-system 8 6
This example shows how to copy the running image from stack member 6 to all the other stack members:
Switch# archive copy-sw 6
This example shows how to copy the running image from stack member 5 to stack member 7. If the
image being copied already exists on the second stack member’s flash memory, it can be overwritten
with the copied one. The system reloads after the image is copied:
Switch# archive copy-sw /destination-system 7 /overwrite /force-reload 5
Related Commands
Command
Description
archive download-sw
Downloads a new image from a TFTP server to the switch.
archive tar
Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
archive upload-sw
Uploads an existing image on the switch to a server.
delete
Deletes a file or directory on the flash memory device.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive download-sw
archive download-sw
Use the archive download-sw privileged EXEC command on the switch stack or on a standalone switch
to download a new image from a TFTP server to the switch or switch stack and to overwrite or keep the
existing image.
archive download-sw [/allow-feature-upgrade | /destination-system stack-member-number |
/directory | /force-reload | /imageonly | /leave-old-sw | /no-set-boot | /no-version-check |
/only-system-type system-type | /overwrite | /reload | /safe] source-url1 [source-url2
source-url3 source-url4]
archive download-sw [/allow-feature-upgrade | /destination-system stack-member-number |
/directory | /force-reload | /imageonly | /leave-old-sw | /no-set-boot | /no-version-check |
/only-system-type system-type | /overwrite | /reload | /safe] /directory source-url1
[source-url2 source-url3 source-url4]
Syntax Description
/allow-feature-upgrade
Allow installation of software images with different feature sets (for
example, upgrade from the IP base feature set to the IP services features
set).
/destination-system
stack-member-number
Specify the specific stack member to be upgraded. The range is 1 to 9.
This keyword is supported only on stacking-capable switches.
/directory
Specify a directory for all of the images.
/force-reload
Unconditionally force a system reload after successfully downloading the
software image.
/imageonly
Download only the software image but not the HTML files associated with
the embedded device manager. The HTML files for the existing version are
deleted only if the existing version is being overwritten or removed.
/leave-old-sw
Keep the old software version after a successful download.
/no-set-boot
Do not alter the setting of the BOOT environment variable to point to the
new software image after it is successfully downloaded.
/no-version-check
Download the software image without checking the compatibility of the
stack protocol version on the image and on the switch stack.
This keyword is supported only on stacking-capable switches.
/only-system-type
system-type
Specify the specific system type to be upgraded. The range is 0 to
FFFFFFFF.
This keyword is supported only on stacking-capable switches.
/overwrite
Overwrite the software image in flash memory with the downloaded one.
/reload
Reload the system after successfully downloading the image unless the
configuration has been changed and not been saved.
/safe
Keep the current software image; do not delete it to make room for the new
software image before the new image is downloaded. The current image is
deleted after the download.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive download-sw
Defaults
The current software image is not overwritten with the downloaded image.
Both the software image and HTML files are downloaded.
The new image is downloaded to the flash: file system.
The BOOT environment variable is changed to point to the new software image on the flash: file system.
Image names are case sensitive; the image file is provided in tar format.
Compatibility of the stack protocol version on the image to be downloaded is checked with the version
on the switch stack.
Command Modes
Privileged EXEC
source-url1 [sourceurl2
sourceurl3 sourceurl4]
The source URLs for the software images.
On a standalone switch, enter one source URL for the software image that
the switch supports.
In a switch stack, you can enter source URLs for the software images that
the stack members support as follows:
•
Up to two source URLs without the /directory keyword.
•
Up to four source URLS with the /directory keyword.
The image-name.tar is the software image to download and install on the
switch.
These options are supported:
•
Local flash file system syntax on the standalone switch or the stack
master:
flash:
Local flash file system syntax on a stack member:
flash member number:
The member number can be from 1 to 9.
•
FTP syntax:
ftp:[[//username[:password]@location]/directory]/image-name.tar
•
HTTP server syntax:
http://[[username:password]@]{hostname |
host-ip}[/directory]/image-name.tar
•
Secure HTTP server syntax:
https://[[username:password]@]{hostname |
host-ip}[/directory]/image-name.tar
•
Remote Copy Protocol (RCP) syntax:
rcp:[[//username@location]/directory]/image-name.tar
•
Secure Copy Protocol (SCP) syntax for the:
scp:[[//username@location]/directory]/image-name.tar
•
The syntax for the TFTP:
tftp:[[//location]/directory]/image-name.tar
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive download-sw
Command History
Usage Guidelines
Use the /allow-feature-upgrade option to allow installation of an image with a different feature set, for
example, upgrading from the IP base feature set to the IP services feature.
You can use the archive download-sw /directory command to specify a directory only once, followed
by a tar file or list of tar files to be downloaded, instead of specifying complete paths with each tar file.
For example, in a mixed hardware stack, you can enter archive download-sw /directory
tftp://10.1.1.10/ c3750-ipservices-tar.122-35.SE.tar c3750e-universal-tar.122-35.SE2.tar
The /imageonly option removes the HTML files for the existing image if the existing image is being
removed or replaced. Only the Cisco IOS image (without the HTML files) is downloaded.
Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient
flash memory. If leaving the software in place prevents the new image from fitting in flash memory due
to space constraints, an error results.
If you used the /leave-old-sw option and did not overwrite the old image when you downloaded the new
one, you can remove the old image by using the delete privileged EXEC command. For more
information, see the “delete” section on page 135.
Use the /no-version-check option if you want to download an image that has a different stack protocol
version than the one existing on the switch stack. You must use this option with the /destination-system
option to specify the specific stack member to be upgraded with the image.
Note
Use the /no-version-check option with care. All stack members, including the stack master, must have
the same stack protocol version to be in the same switch stack. This option allows an image to be
downloaded without first confirming the compatibility of its stack protocol version with the version of
the switch stack.
You can upgrade more than one specific stack member by repeating the /destination-system option in
the command for each stack member to be upgraded.
Use the /overwrite option to overwrite the image on the flash device with the downloaded one.
If you specify the command without the /overwrite option, the download algorithm verifies that the new
image is not the same as the one on the switch flash device or is not running on any stack members. If
the images are the same, the download does not occur. If the images are different, the old image is
deleted, and the new one is downloaded.
After downloading a new image, enter the reload privileged EXEC command to begin using the new
image, or specify the /reload or /force-reload option in the archive download-sw command.
Use the /directory option to specify a directory for the images.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive download-sw
Examples
This example shows how to download a new image from a TFTP server at 172.20.129.10 and to
overwrite the image on the switch:
Switch# archive download-sw /overwrite tftp://172.20.129.10/test-image.tar
This example shows how to download only the software image from a TFTP server at 172.20.129.10 to
the switch:
Switch# archive download-sw /imageonly tftp://172.20.129.10/test-image.tar
This example shows how to keep the old software version after a successful download:
Switch# archive download-sw /leave-old-sw tftp://172.20.129.10/test-image.tar
This example specifies the location of two tar images without having to specify the path each time:
Switch# archive download-sw tftp://10.1.1.10/
c3750x-universal-tar.122-53.SE2.tar c3750e-universal-tar.122-35.SE2.tar
This example specifies the location of three tar images without having to specify the path each time:
Switch# archive download-sw /directory tftp://10.1.1.10/
c3750x-universal-tar.122-53.SE2.tar c3750e-universal-tar.122-35.SE2.tar
c3750-ipbase-tar.122-35.SE.tar
This example shows how to upgrade stack members 6 and 8:
Switch# archive download-sw /imageonly /destination-system 6 /destination-system 8
tftp://172.20.129.10/test-image.tar
Related Commands
Command
Description
archive copy-sw
Copies the running image from the flash memory on one stack member to the
flash memory on one or more other stack members.
archive tar
Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
archive upload-sw
Uploads an existing image on the switch to a server.
delete
Deletes a file or directory on the flash memory device.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive tar
archive tar
Use the archive tar privileged EXEC command on the switch stack or on a standalone switch to create
a tar file, list files in a tar file, or extract the files from a tar file.
archive tar {/create destination-url flash:/file-url} | {/table source-url} | {/xtract source-url
flash:/file-url [dir/file...]}
Syntax Description
/create destination-url
flash:/file-url
Create a new tar file on the local or network file system.
For destination-url, specify the destination URL alias for the local or
network file system and the name of the tar file to create. These options
are supported:
•
The syntax for the local flash filesystem:
flash:
•
The syntax for the FTP:
ftp:[[//username[:password]@location]/directory]/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):
rcp:[[//username@location]/directory]/tar-filename.tar
•
The syntax for the TFTP:
tftp:[[//location]/directory]/tar-filename.tar
The tar-filename.tar is the tar file to be created.
For flash:/file-url, specify the location on the local flash file system from
which the new tar file is created.
An optional list of files or directories within the source directory can be
specified to write to the new tar file. If none are specified, all files and
directories at this level are written to the newly created tar file.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive tar
/table source-url
Display the contents of an existing tar file to the screen.
For source-url, specify the source URL alias for the local or network file
system. These options are supported:
•
The syntax for the local flash file system:
flash:
•
The syntax for the FTP:
ftp:[[//username[:password]@location]/directory]/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 RCP:
rcp:[[//username@location]/directory]/tar-filename.tar
•
The syntax for the TFTP:
tftp:[[//location]/directory]/tar-filename.tar
The tar-filename.tar is the tar file to display.
/xtract source-url
flash:/file-url [dir/file...]
Extract files from a tar file to the local file system.
For source-url, specify the source URL alias for the local file system.
These options are supported:
•
The syntax for the local flash file system:
flash:
•
The syntax for the FTP:
ftp:[[//username[:password]@location]/directory]/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 RCP:
rcp:[[//username@location]/directory]/tar-filename.tar
•
The syntax for the TFTP:
tftp:[[//location]/directory]/tar-filename.tar
The tar-filename.tar is the tar file from which to extract.
For flash:/file-url [dir/file...], specify the location on the local flash file
system into which the tar file is extracted. Use the dir/file... option to
specify an optional list of files or directories within the tar file to be
extracted. If none are specified, all files and directories are extracted.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive tar
Defaults
There is no default setting.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Filenames and directory names are case sensitive.
Image names are case sensitive.
Examples
This example shows how to create a tar file. The command writes the contents of the new-configs
directory on the local flash device to a file named saved.tar on the TFTP server at 172.20.10.30:
Switch# archive tar /create tftp:172.20.10.30/saved.tar flash:/new-configs
This example shows how to display the contents of an image file that is in flash memory. An example of
an image file name is c3750x-universal-tar.12-53.SE2. The contents of the tar file appear on the screen:
Switch# archive tar /table flash:image_name.tar
info (219 bytes)
image_name/ (directory)
image_name(610856 bytes)
image_name/info (219 bytes)
info.ver (219 bytes)
This example shows how to display only the html directory and its contents:
Switch# archive tar /table flash:image_name/html
image_name/html/ (directory)
image_name/html/const.htm (556 bytes)
image_name/html/xhome.htm (9373 bytes)
image_name/html/menu.css (1654 bytes)
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive upload-sw
archive upload-sw
Use the archive upload-sw privileged EXEC command on the switch stack or on a standalone switch to
upload an existing switch image to a server.
archive upload-sw [/source-system-num stack member number | /version version_string]
destination-url
Syntax Description
Defaults
Uploads the currently running image from the flash: file system.
Command Modes
Privileged EXEC
Command History
/source-system-num
stack member number
Specify the specific stack member containing the image that is to be
uploaded.
This keyword is supported only on stacking-capable switches.
/version version_string
(Optional) Specify the specific version string of the image to be uploaded.
destination-url
The destination URL alias for a local or network file system. The
image-name.tar is the name of software image to be stored on the server.
These options are supported:
•
Local flash file system syntax on the standalone switch or the stack
master:
flash:
Local flash file system syntax on a stack member:
flash member number:
•
FTP syntax:
ftp:[[//username[:password]@location]/directory]/image-name.tar
•
HTTP server syntax:
http://[[username:password]@]{hostname |
host-ip}[/directory]/image-name.tar
•
Secure HTTP server syntax:
https://[[username:password]@]{hostname |
host-ip}[/directory]/image-name.tar
•
Remote Copy Protocol (RCP) syntax:
rcp:[[//username@location]/directory]/image-name.tar
•
TFTP syntax:
tftp:[[//location]/directory]/image-name.tar
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
archive upload-sw
Usage Guidelines
You must specify that the /source-system-num option uses the /version option. The options together
upload the specified image, not the running image, of a specific stack member.
Use the upload feature only if the HTML files associated with the embedded device manager have been
installed with the existing image.
The files are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. After these files
are uploaded, the software creates the tar file.
Image names are case sensitive.
Examples
This example shows how to upload the currently running image on stack member 6 to a TFTP server at
172.20.140.2:
Switch# archive upload-sw /source-system-num 6 tftp://172.20.140.2/test-image.tar
Related Commands
Command
Description
archive copy-sw
Copies the running image from the flash memory on one stack member to the
flash memory on one or more other stack members.
archive download-sw
Downloads a new image to the switch.
archive tar
Creates a tar file, lists the files in a tar file, or extracts the files from a tar file.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
arp access-list
arp access-list
Use the arp access-list global configuration command on the switch stack or on a standalone switch to
define an Address Resolution Protocol (ARP) access control list (ACL) or to add clauses to the end of a
previously defined list. Use the no form of this command to delete the specified ARP access list.
arp access-list acl-name
no arp access-list acl-name
Syntax Description
Defaults
No ARP access lists are defined.
Command Modes
Global configuration
Command History
Usage Guidelines
After entering the arp access-list command, you enter ARP access-list configuration mode, and these
configuration commands are available:
•
default: returns a command to its default setting.
•
deny: specifies packets to reject. For more information, see the “deny (ARP access-list
configuration)” section on page 136.
•
exit: exits ARP access-list configuration mode.
•
no: negates a command or returns to default settings.
•
permit: specifies packets to forward. For more information, see the “permit (ARP access-list
configuration)” section on page 429.
Use the permit and deny access-list configuration commands to forward and to drop ARP packets based
on the specified matching criteria.
When the ARP ACL is defined, you can apply it to a VLAN by using the ip arp inspection filter vlan
global configuration command. ARP packets containing only IP-to-MAC address bindings are compared
to the ACL. All other types of packets are bridged in the ingress VLAN without validation. If the ACL
permits a packet, the switch forwards it. If the ACL denies a packet because of an explicit deny
statement, the switch drops the packet. If the ACL denies a packet because of an implicit deny statement,
the switch compares the packet to the list of DHCP bindings (unless the ACL is static, which means that
packets are not compared to the bindings).
acl-name
Name of the ACL.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
arp access-list
Examples
This example shows how to define an ARP access list and to permit both ARP requests and ARP
responses from a host with an IP address of 1.1.1.1 and a MAC address of 0000.0000.abcd:
Switch(config)# arp access-list static-hosts
Switch(config-arp-nacl)# permit ip host 1.1.1.1 mac host 00001.0000.abcd
Switch(config-arp-nacl)# end
You can verify your settings by entering the show arp access-list privileged EXEC command.
Related Commands
Command
Description
deny (ARP access-list
configuration)
Denies an ARP packet based on matches compared against the DHCP
bindings.
ip arp inspection filter
vlan
Permits ARP requests and responses from a host configured with a static IP
address.
permit (ARP
access-list
configuration)
Permits an ARP packet based on matches compared against the DHCP
bindings.
show arp access-list
Displays detailed information about ARP access lists.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication command bounce-port ignore
authentication command bounce-port ignore
Use the authentication command bounce-port ignore global configuration command on the switch
stack or on a standalone switch to allow the switch to ignore a command to temporarily disable a port.
Use the no form of this command to return to the default status.
authentication command bounce-port ignore
no authentication command bounce-port ignore
Syntax Description
This command has no arguments or keywords.
Defaults
The switch accepts a RADIUS Change of Authorization (CoA) bounce port command.
Command Modes
Global configuration
Command History
Usage Guidelines
The CoA bounce port command causes a link flap, which triggers a DHCP renegotiation from the host.
This is useful when a VLAN change occurs and the endpoint is a device such as a printer, that has no
supplicant to detect the change. Use this command to configure the switch to ignore the bounce port
command.
Examples
This example shows how to instruct the switch to ignore a CoA bounce port command:
Switch(config)# authentication command bounce-port ignore
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication command
disable-port ignore
Configures the switch to ignore a CoA disable port command.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication command disable-port ignore
authentication command disable-port ignore
Use the authentication command disable-port ignore global configuration command on the switch
stack or on a standalone switch to allow the switch to ignore a command to disable a port. Use the no
form of this command to return to the default status.
authentication command disable-port ignore
no authentication command disable-port ignore
Syntax Description
This command has no arguments or keywords.
Defaults
The switch accepts a RADIUS Change of Authorization (CoA) disable port command.
Command Modes
Global configuration
Command History
Usage Guidelines
The CoA disable port command administratively shuts down a port hosting a session, resulting in
session termination. Use this command to configure the switch to ignore this command.
Examples
This example shows how to instruct the switch to ignore a CoA disable port command:
Switch(config)# authentication command disable-port ignore
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication command
bounce-port ignore
Configures the switch to ignore a CoA bounce port command.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication control-direction
authentication control-direction
Use the authentication control-direction interface configuration command to configure the port mode
as unidirectional or bidirectional. Use the no form of this command to return to the default setting.
authentication control-direction {both | in}
no authentication control-direction
Syntax Description
Defaults
The port is in bidirectional mode.
Command Modes
Interface configuration
Command History
Usage Guidelines
Use the both keyword or the no form of this command to return to the default setting (bidirectional
mode).
Examples
This example shows how to enable bidirectional mode:
Switch(config-if)# authentication control-direction both
This example shows how to enable unidirectional mode:
Switch(config-if)# authentication control-direction in
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
both
Enable bidirectional control on port. The port cannot receive packets from or
send packets to the host.
in
Enable unidirectional control on port. The port can send packets to the host but
cannot receive packets from the host.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication control-direction
authentication
periodic
Enable or disables reauthentication on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an
802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port with the maximum number of
devices already connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Command
Description
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication event
authentication event
Use the authentication event interface configuration command to set the actions for specific
authentication events on the port.
authentication event {[linksec] fail [action [authorize vlan vlan-id | next-method] {| retry {retry
count}]} { no-response action authorize vlan vlan-id} {server {alive action reinitialize} |
{dead action [authorize | reinitialize vlan vlan-id]}}
Syntax Description
Defaults
No event responses are configured on the port.
Command Modes
Interface configuration
Command History
action
Configure the required action for an authentication event.
alive
Configure the authentication, authorization, and accounting (AAA) server
alive actions.
authorize
Authorize the port.
dead
Configure the AAA server dead actions.
fail
Configure the failed-authentication parameters.
linksec fail action
See the authentication event linksec fail action command.
next-method
Move to next authentication method.
no-response
Configure the non-responsive host actions.
reinitialize
Reinitialize all authorized clients
retry
Enable retry attempts after a failed authentication.
retry count
Number of retry attempts from 0 to 5.
server
Configure the actions for AAA server events.
vlan
Specify the authentication-fail VLAN from 1 to 4094.
vlan-id
VLAN ID number from 1 to 4094.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication event
Usage Guidelines
Use this command with the fail, no-response, or event keywords to configure the switch response for a
specific action.
For server-dead events:
•
When the switch moves to the critical-authentication state, new hosts trying to authenticate are
moved to the critical-authentication VLAN (or critical VLAN). This applies whether the port is in
single-host, multiple-host, multiauth, or MDA mode. Authenticated hosts remain in the
authenticated VLAN, and the reauthentication timers are disabled.
•
If a client is running Windows XP and the critical port to which the client is connected is in the
critical-authentication state, Windows XP might report that the interface is not authenticated.
If the Windows XP client is configured for DHCP and has an IP address from the DHCP server and
a critical port receives an EAP-Success message, the DHCP configuration process might not
re-initiate.
For no-response events:
•
If you enable a guest VLAN on an IEEE 802.1x port, the switch assigns clients to a guest VLAN
when it does not receive a response to its Extensible Authentication Protocol over LAN (EAPOL)
request/identity frame or when EAPOL packets are not sent by the client.
•
The switch maintains the EAPOL packet history. If another EAPOL packet is detected on the port
during the lifetime of the link, the guest VLAN feature is disabled. If the port is already in the guest
VLAN state, the port returns to the unauthorized state, and authentication restarts. The EAPOL
history is cleared.
•
If the switch port is moved to the guest VLAN (multi-host mode), multiple non-IEEE
802.1x-capable clients are allowed access . If an IEEE 802.1x-capable client joins the same port on
which the guest VLAN is configured, the port is put in the unauthorized state in the
RADIUS-configured or user-configured access VLAN, and authentication restarts.
You can configure any active VLAN except a Remote Switched Port Analyzer (RSPAN) VLAN, a
primary private VLAN, or a voice VLAN as an IEEE 802.1x guest VLAN. The guest VLAN feature
is supported only on access ports. It is not supported on internal VLANs (routed ports) or trunk
ports.
•
When MAC authentication bypass is enabled on an IEEE 802.1x port, the switch can authorize
clients based on the client MAC address if IEEE 802.1x authentication times out while waiting for
an EAPOL message exchange. After detecting a client on an IEEE 802.1x port, the switch waits for
an Ethernet packet from the client. The switch sends the authentication server a
RADIUS-access/request frame with a username and password based on the MAC address.
–
If authorization succeeds, the switch grants the client access to the network.
–
If authorization fails, the switch assigns the port to the guest VLAN if one is specified.
For more information, see the "Using IEEE 802.1x Authentication with MAC Authentication
Bypass" section in the "Configuring IEEE 802.1x Port-Based Authentication" chapter of the
software configuration guide.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication event
For authentication-fail events:
•
If the supplicant fails authentication, the port is moved to a restricted VLAN, and an EAP success
message is sent to the supplicant because it i s not notified of the actual authentication failure.
–
If the EAP success message is not sent, the supplicant tries to authenticate every 60 seconds (the
default) by sending an EAP-start message.
–
Some hosts (for example, devices running Windows XP) cannot implement DHCP until they
receive an EAP success message.
The restricted VLAN is supported only in single host mode (the default port mode). When a port is
placed in a restricted VLAN, the supplicant's MAC address is added to the MAC address table. Any
other MAC address on the port is treated as a security violation.
•
You cannot configure an internal VLANs for Layer 3 ports as a restricted VLAN. You cannot specify
the same VLAN as a restricted VLAN and as a voice VLAN.
Enable re-authentication with restricted VLANs. If re-authentication is disabled, the ports in the
restricted VLANs do not receive re-authentication requests if it is disabled.
To start the re-authentication process, the restricted VLAN must receive a link-down event or an
Extensible Authentication Protocol (EAP) logoff event from the port. If a host is connected through
a hub:
–
The port might not receive a link-down event when the host is disconnected.
–
The port might not detect new hosts until the next re-authentication attempt occurs.
When you reconfigure a restricted VLAN as a different type of VLAN, ports in the restricted VLAN
are also moved and stay in their currently authorized state.
Examples
This example shows how to configure the authentication event fail command:
Switch(config-if)# authentication event fail action authorize vlan 20
This example shows how to configure a no-response action:
Switch(config-if)# authentication event no-response action authorize vlan 10
This example shows how to configure a server-response action:
Switch(config-if)# authentication event server alive action reinitialize
This example shows how to configure a port to send both new and existing hosts to the critical VLAN
when the RADIUS server is unavailable. Use this command for ports in multiple authentication (multiauth)
mode or if the voice domain of the port is in MDA mode:
Switch(config-if)# authentication event server dead action authorize vlan 10
This example shows how to configure a port to send both new and existing hosts to the critical VLAN
when the RADIUS server is unavailable. Use this command for ports in multiple-host or multiauth
mode:
Switch(config-if)# authentication event server dead action reinitialize vlan 10
You can verify your settings by entering the show authentication privileged EXEC command.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication event
Related Commands
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disable open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enables or disables reauthentication on a port
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an
802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication event linksec fail action
authentication event linksec fail action
To configure the required action for a link-security authentications failure, use the authentication event
linksec fail action interface configuration command. To disable the configured fail action, use the no
form of this command.
authentication event linksec fail action {authorize vlan vlan-id | next-method}
no authentication event linksec fail action
Syntax Description
Defaults
The default is to take no action when link-security authentication fails.
Command Modes
Interface configuration
Command History
Usage Guidelines
When link-security authentication fails because of unrecognized user credentials, this command
specifies that the switch authorizes a restricted VLAN on the port.
Examples
This example configures the interface so that the port is assigned to a restricted VLAN 40 after a failed
authentication attempt:
Switch(config)# interface gigabitethernet1/0/3
Switch(config-if)# authentication event linksec fail action authorize vlan 40
Switch(config-if)# end
You can verify your setting by entering the show authentication sessions privileged EXEC command.
Related Commands
authorize vlan vlan-id
Authorizes the port and configures a linksec-fail VLAN ID to use if the
link-security authentication fails.
next-method
Moves to the next authentication method. The order of authentication
methods is specified by the authentication order command.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
show authentication sessions
Displays information about authentication events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication fallback
authentication fallback
Use the authentication fallback interface configuration command to configure a port to use web
authentication as a fallback method for clients that do not support IEEE 802.1x authentication. To return
to the default setting, use the no form of this command.
authentication fallback name
no authentication fallback name
Syntax Description
Defaults
No fallback is enabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
You must enter the authentication port-control auto interface configuration command before
configuring a fallback method.
You can only configure web authentication as a fallback method to 802.1x or MAB, so one or both of
these authentication methods should be configured for the fallback to enable.
Examples
This example shows how to specify a fallback profile on a port:
Switch(config-if)# authentication fallback profile1
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
name
Specify a web authentication fallback profile.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disable open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enables or disables reauthentication on a port.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication fallback
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for
an 802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Command
Description
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication host-mode
authentication host-mode
Use the authentication host-mode interface configuration command to set the authorization manager
mode on a port.
authentication host-mode [multi-auth | multi-domain | multi-host | single-host]
no authentication host-mode [multi-auth | multi-domain | multi-host | single-host]]
Syntax Description
Defaults
Single host mode is enabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
Single-host mode should be configured if only one data host is connected. Do not connect a voice device
to authenticate on a single-host port. Voice device authorization fails if no voice VLAN is configured on
the port.
Multi-domain mode should be configured if data host is connected through an IP Phone to the port.
Multi-domain mode should be configured if the voice device needs to be authenticated.
Multi-auth mode should be configured to allow up to eight devices behind a hub to obtain secured port
access through individual authentication. Only one voice device can be authenticated in this mode if a
voice VLAN is configured.
Multi-host mode also offers port access for multiple hosts behind a hub, but multi-host mode gives
unrestricted port access to the devices after the first user gets authenticated.
Examples
This example shows how to enable multiauth mode on a port:
Switch(config-if)# authentication host-mode multi-auth
This example shows how to enable multi-domain mode on a port:
Switch(config-if)# authentication host-mode multi-domain
This example shows how to enable multi-host mode on a port:
Switch(config-if)# authentication host-mode multi-host
multi-auth
Enable multiple-authorization mode (multiauth mode) on the port.
multi-domain
Enable multiple-domain mode on the port.
multi-host
Enable multiple-host mode on the port.
single-host
Enable single-host mode on the port.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication host-mode
This example shows how to enable single-host mode on a port:
Switch(config-if)# authentication host-mode single-host
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication
authentication open
Enables or disable open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enables or disable reauthentication on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an
802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication linksec policy
authentication linksec policy
To set the static selection of a link-security policy, use the authentication linksec policy interface
configuration command. To return to the default state, use the no form of this command.
authentication linksec policy {must-not-secure | must-secure | should-secure}
no authentication linksec policy
Syntax Description
Defaults
The default is to support a link security policy of should secure.
Command Modes
MKA policy configuration
Command History
Usage Guidelines
The linksec policy might change after a successful reauthentication started by a local timer or a change
of authorization (CoA) reauthenticate command. If the policy changes from must-not-secure to
must-secure after a reauthentication, the system attempts to secure the session. If the MACsec key does
not renegotiate a MACsec connection after a reauthentication, the session is terminated, and all local
states are removed.
A per-user policy received after authentication overrides the interface configuration policy.
Examples
This example configures the interface to always secure MACsec sessions:
Switch(config)# interface gigabitethernet1/0/3
Switch(config-if)# authentication linksec policy must-secure
Switch(config-if)# end
You can verify your setting by entering the show authentication sessions privileged EXEC command.
Related Commands
must-not-secure
Establishes the host session without Media Access Control Security
(MACsec). Never secures the sessions.
must-secure
Secures the session with MACsec. Always secures the sessions.
should-secure
Optionally secures the session with MACsec.
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
show authentication sessions
Displays information about authentication events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication mac-move permit
authentication mac-move permit
Use the authentication mac-move permit global configuration command to enable MAC move on a
switch. Use the no form of this command to return to the default setting.
authentication mac-move permit
no authentication mac-move permit
Syntax Description
This command has no arguments or keywords.
Defaults
MAC move is enabled.
Command Modes
Global configuration
Command History
Usage Guidelines
The command enables authenticated hosts to move between 802.1x-enabled ports on a switch. For
example, if there is a device between an authenticated host and port, and that host moves to another port,
the authentication session is deleted from the first port, and the host is reauthenticated on the new port.
If MAC move is disabled, and an authenticated host moves to another port, it is not reauthenticated, and
a violation error occurs.
MAC move is not supported on port-security enabled 802.1x ports. If MAC move is globally configured
on the switch and a port security-enabled host moves to an 802.1x-enabled port, a violation error occurs.
Examples
This example shows how to enable MAC move on a switch:
Switch(config)# authentication mac-move permit
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enable or disables reauthentication on a port.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication mac-move permit
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an
802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port with the maximum number of
devices already connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Command
Description
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication open
authentication open
Use the authentication open interface configuration command to enable or disable open access on a
port. Use the no form of this command to disable open access.
authentication open
no authentication open
Defaults
Open access is disabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
Open authentication must be enabled if a device requires network access before it is authenticated.
A port ACL should be used to restrict host access when open authentication is enabled.
Examples
This example shows how to enable open access on a port:
Switch(config-if)# authentication open
This example shows how to set the port to disable open access on a port:
Switch(config-if)# no authentication open
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enables or disables reauthentication on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication open
authentication timer
Configures the timeout and reauthentication parameters for
an 802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Command
Description
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication order
authentication order
Use the authentication order interface configuration command to set the order of authentication
methods used on a port.
authentication order [dot1x | mab] {webauth}
no authentication order
Syntax Description
Command Default
The default authentication order is dot1x followed by mab and webauth.
Command Modes
Interface configuration
Command History
Usage Guidelines
Ordering sets the order of methods that the switch attempts when trying to authenticate a new device
connected to a port. If one method in the list is unsuccessful, the next method is attempted.
Each method can only be entered once. Flexible ordering is only possible between 802.1x and MAB.
Web authentication can be configured as either a standalone method or as the last method in the order
after either 802.1x or MAB. Web authentication should be configured only as fallback to dot1x or mab.
Examples
This example shows how to add 802.1x as the first authentication method, MAB as the second method,
and web authentication as the third method:
Switch(config-if)# authentication order dotx mab webauth
This example shows how to add MAC authentication Bypass (MAB) as the first authentication method
and web authentication as the second authentication method:
Switch(config-if)# authentication order mab webauth
You can verify your settings by entering the show authentication privileged EXEC command.
dot1x
Add 802.1x to the order of authentication methods.
mab
Add MAC authentication bypass (MAB) to the order of authentication
methods.
webauth
Add web authentication to the order of authentication methods.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication order
Related Commands
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication
periodic
Enables or disables reauthentication on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for
an 802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
mab
Enables MAC authentication bypass on a port.
mab eap
Configures a port to use Extensible Authentication Protocol (EAP).
show authentication
Displays information about authentication manager events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication periodic
authentication periodic
Use the authentication periodic interface configuration command to enable or disable reauthentication
on a port. Enter the no form of this command to disable reauthentication.
authentication periodic
no authentication periodic
Command Default
Reauthentication is disabled.
Command Modes
Interface configuration
Command History
Usage Guidelines
You configure the amount of time between periodic re-authentication attempts by using the
authentication timer reauthentication interface configuration command.
Examples
This example shows how to enable periodic reauthentication on a port:
Switch(config-if)# authentication periodic
This example shows how to disable periodic reauthentication on a port:
Switch(config-if)# no authentication periodic
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disable open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication periodic
authentication timer
Configures the timeout and reauthentication parameters for
an 802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Command
Description
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication port-control
authentication port-control
Use the authentication port-control interface configuration command to enable manual control of the
port authorization state. Use the no form of this command to return to the default setting.
authentication port-control {auto | force-authorized | force-un authorized}
no authentication port-control {auto | force-authorized | force-un authorized}
Syntax Description
Defaults
The default setting is force-authorized.
Command Modes
Interface configuration
Command History
Usage Guidelines
Use the auto keyword only on one of these port types:
•
Trunk port—If you try to enable authentication on a trunk port, an error message appears, and is not
enabled. If you try to change the mode of an port to trunk, an error message appears, and the port
mode is not changed.
•
Dynamic ports—A dynamic port can negotiate with its neighbor to become a trunk port. If you try
to enable authentication on a dynamic port, an error message appears, and authentication is not
enabled. If you try to change the mode of an port to dynamic, an error message appears, and the port
mode does not change.
•
Dynamic-access ports—If you try to enable authentication on a dynamic-access (VLAN Query
Protocol [VQP]) port, an error message appears, and authentication is not enabled. If you try to
change an port to dynamic VLAN, an error message appears, and the VLAN configuration does not
change.
auto
Enable authentication on the port. The port changes to the authorized or
unauthorized state based, on the authentication exchange between the
switch and the client.
force-authorized
Disable authentication on the port. The port changes to the authorized state
without an authentication exchange. The port sends and receives normal
traffic without authentication of the client.
force-un authorized
Deny all access the port. The port changes to the unauthorized state,
ignoring all attempts by the client to authenticate. The switch cannot
provide authentication services to the client through the port.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication port-control
•
EtherChannel port—Do not configure a port that is an active or a not-yet-active member of an
EtherChannel as an port. If you try to enable authentication on an EtherChannel port, an error
message appears, and authentication is not enabled.
•
Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) destination ports—You can enable
authentication on a port that is a SPAN or RSPAN destination port. However, authentication is
disabled until the port is removed as a SPAN or RSPAN destination. You can enable authentication
on a SPAN or RSPAN source port.
To globally disable authentication on the switch, use the no dot1x system-auth-control global
configuration command. To disable authentication on a specific port or to return to the default setting,
use the no authentication port-control interface configuration command.
Examples
This example shows how to set the port state to automatic:
Switch(config-if)# authentication port-control auto
This example shows how to set the port state to the force- authorized state:
Switch(config-if)# authentication port-control force-authorized
This example shows how to set the port state to the force-unauthorized state:
Switch(config-if)# authentication port-control force-unauthorized
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of the authentication methods used on a port.
authentication
periodic
Enables or disable reauthentication on a port.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an
802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication priority
authentication priority
Use the authentication priority interface configuration command to add an authentication method to
the port-priority list.
auth priority [dot1x | mab] {webauth}
no auth priority [dot1x | mab] {webauth}
Syntax Description
Command Default
The default priority is 802.1x authentication, followed by MAC authentication bypass and web
authentication.
Command Modes
Interface configuration
Command History
Usage Guidelines
Ordering sets the order of methods that the switch attempts when trying to authenticate a new device is
connected to a port.
When configuring multiple fallback methods on a port, set web authentication (webauth) last.
Assigning priorities to different authentication methods allows a higher-priority method to interrupt an
in-progress authentation method with a lower priority.
Note
If a client is already authenticated, it might be reauthenticated if an interruption from a higher-priority
method occurs.
The default priority of an authentication method is equivalent to its position in execution-list order:
802.1x authentication, MAC authentication bypass, and web authentication. Use the dot1x, mab, and
webauth keywords to change this default order.
dot1x
Add 802.1x to the order of authentication methods.
mab
Add MAC authentication bypass (MAB) to the order of authentication
methods.
webauth
Add web authentication to the order of authentication methods.
Release
Modification
12.2(53)SE2
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication priority
Examples
This example shows how to set 802.1x as the first authentication method and web authentication as the
second authentication method:
Switch(config-if)# authentication priority dotx webauth
This example shows how to set MAC authentication Bypass (MAB) as the first authentication method
and web authentication as the second authentication method:
Switch(config-if)# authentication priority mab webauth
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enables or disables reauthentication on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication timer
Configures the timeout and reauthentication parameters for an
802.1x-enabled port.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
mab
Enables MAC authentication bypass on a port.
mab eap
Configures a port to use Extensible Authentication Protocol (EAP).
show authentication
Displays information about authentication manager events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication timer
authentication timer
Use the authentication timer interface configuration command to configure the timeout and
reauthentication parameters for an 802.1x-enabled port.
authentication timer {{[inactivity | reauthenticate]} {restart value}}
no authentication timer {{[inactivity | reauthenticate]} {restart value}}
Syntax Description
Defaults
The inactivity and restart keywords are set to off. The reauthenticate keyword is set to one hour.
Command Modes
Interface configuration
Command History
Usage Guidelines
If a timeout value is not configured, an 802.1x session stays authorized indefinitely. No other host can
use the port, and the connected host cannot move to another port on the same switch.
Examples
This example shows how to set the authentication inactivity timer to 60 seconds:
Switch(config-if)# authentication timer inactivity 60
This example shows how to set the reauthentication timer to 120 seconds:
Switch(config-if)# authentication timer restart 120
You can verify your settings by entering the show authentication privileged EXEC command.
Related Commands
inactivity
Interval in seconds after which the client is unauthorized if there is no
activity.
reauthenticate
Time in seconds after which an automatic re-authentication attempt starts.
restart
Interval in seconds after which an attempt is made to authenticate an
unauthorized port.
value
Enter a value between 1 and 65535 (in seconds).
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support IEEE 802.1x authentication.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication timer
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enables or disables reauthentication on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication
violation
Configures the violation modes that occur when a new device connects to a
port or when a new device connects to a port after the maximum number of
devices are connected to that port.
show authentication
Displays information about authentication manager events on the switch.
Command
Description
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication violation
authentication violation
Use the authentication violation interface configuration command to configure the violation modes that
occur when a new device connects to a port or when a new device connects to a port after the maximum
number of devices are connected to that port.
authentication violation {protect | replace | restrict | shutdown}
no authentication violation {protect | replace | restrict | shutdown}
Syntax Description
Defaults
By default authentication violation shutdown mode is enabled.
Command Modes
Interface configuration
Command History
Examples
This example shows how to configure an IEEE 802.1x-enabled port as error disabled and to shut down
when a new device connects it:
Switch(config-if)# authentication violation shutdown
This example shows how to configure an 802.1x-enabled port to generate a system error message and to
change the port to restricted mode when a new device connects to it:
Switch(config-if)# authentication violation restrict
This example shows how to configure an 802.1x-enabled port to ignore a new device when it connects
to the port:
Switch(config-if)# authentication violation protect
This example shows how to configure an 802.1x-enabled port to remove the current session and initiate
authentication with a new device when it connects to the port:
Switch(config-if)# authentication violation replace
You can verify your settings by entering the show authentication privileged EXEC command.
protect
Unexpected incoming MAC addresses are dropped. No syslog errors are
generated.
replace
Removes the current session and initiates authentication with the new host.
restrict
Generates a syslog error when a violation error occurs.
shutdown
Error disables the port or the virtual port on which an unexpected MAC
address occurs.
Release
Modification
12.2(53)SE2
This command was introduced.
12.2(55)SE
The replace keyword was added.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
authentication violation
Related Commands
Command
Description
authentication
control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event
Sets the action for specific authentication events.
authentication
fallback
Configures a port to use web authentication as a fallback method for clients
that do not support 802.1x authentication.
authentication
host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication
periodic
Enables or disables reauthentication on a port.
authentication
port-control
Enables manual control of the port authorization state.
authentication
priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an
802.1x-enabled port.
show authentication
Displays information about authentication manager events on the switch.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos classify
auto qos classify
Use the auto qos classify interface configuration command to automatically configure quality of service
(QoS) classification for untrusted devices within a QoS domain. Use the no form of this command to
return to the default setting.
auto qos classify [police]
no auto qos classify [police]
Syntax Description
Defaults
Auto-QoS classify is disabled on the port.
When auto-QoS is enabled, it uses the ingress packet label to categorize traffic, to assign packet
labels, and to configure the ingress and egress queues
Command Modes
Interface configuration
Command History
police
(Optional) Configure QoS policing for untrusted devices.
Table 2-1
Auto-QoS Configuration for the Ingress Queues
Ingress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer)
Size
SRR1 shared
1.
SRR = shaped round robin. Ingress queues support shared mode only.
1
0, 1, 2, 3, 6, 7
70 percent
90 percent
Priority
2
4, 5
30 percent
10 percent
Table 2-2
Auto-QoS Configuration for the Egress Queues
Egress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer) Size
for Gigabit-Capable
Ports
Queue (Buffer)
Size for 10/100
Ethernet Ports
Priority (shaped)
1
4, 5
up to 100 percent
25 percent
15 percent
SRR shared
2
2, 3, 6,7
10 percent
25 percent
25 percent
SRR shared
3
0
60 percent
25 percent
40 percent
SRR shared
4
1
20 percent
25 percent
20 percent
Release
Modification
12.2(55)SE
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos classify
Usage Guidelines
Use this command to configure the QoS for trusted interfaces within the QoS domain. The QoS domain
includes the switch, the network interior, and edge devices that can classify incoming traffic for QoS.
Auto-QoS configures the switch for connectivity with a trusted interface. The QoS labels of incoming
packets are trusted. For nonrouted ports, the CoS value of the incoming packets is trusted. For routed
ports, the DSCP value of the incoming packet is trusted.
To take advantage of the auto-QoS defaults, you should enable auto-QoS before you configure other QoS
commands. You can fine-tune the auto-QoS configuration after you enable auto-QoS.
This is the policy map when the auto qos classify command is configured:
policy-map AUTOQOS-SRND4-CLASSIFY-POLICY
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
class AUTOQOS_DEFAULT_CLASS
set dscp default
This is the policy map when the auto qos classify police command is configured:
policy-map AUTOQOS-SRND4-CLASSIFY-POLICE-POLICY
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
police 5000000 8000 exceed-action drop
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
police 10000000 8000 exceed-action drop
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
police 32000 8000 exceed-action drop
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos classify
Note
The switch applies the auto-QoS-generated commands as if the commands were entered from the
command-line interface (CLI). An existing user configuration can cause the application of the generated
commands to fail or to be overridden by the generated commands. These actions occur without warning.
If all the generated commands are successfully applied, any user-entered configuration that was not
overridden remains in the running configuration. Any user-entered configuration that was overridden can
be retrieved by reloading the switch without saving the current configuration to memory. If the generated
commands fail to be applied, the previous running configuration is restored.
After auto-QoS is enabled, do not modify a policy map or aggregate policer that includes AutoQoS in its
name. If you need to modify the policy map or aggregate policer, make a copy of it, and change the
copied policy map or policer. To use the new policy map instead of the generated one, remove the
generated policy map from the interface, and apply the new policy map.
To display the QoS configuration that is automatically generated when auto-QoS is enabled, enable
debugging before you enable auto-QoS. Use the debug auto qos privileged EXEC command to enable
auto-QoS debugging. For more information, see the debug auto qos command.
To disable auto-QoS on a port, use the no auto qos trust interface configuration command. Only the
auto-QoS-generated interface configuration commands for this port are removed. If this is the last port
on which auto-QoS is enabled and you enter the no auto qos trust command, auto-QoS is considered
disabled even though the auto-QoS-generated global configuration commands remain (to avoid
disrupting traffic on other ports affected by the global configuration). You can use the no mls qos global
configuration command to disable the auto-QoS-generated global configuration commands. With QoS
disabled, there is no concept of trusted or untrusted ports because the packets are not modified. The CoS,
DSCP, and IP precedence values in the packet are not changed. Traffic is switched in pass-through mode.
Packets are switched without any rewrites and classified as best effort without any policing.
Examples
This example shows how to enable auto-QoS classification of an untrusted device and police traffic:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# auto qos classify police
You can verify your settings by entering the show auto qos interface interface-id privileged EXEC
command.
Related Commands
Command
Description
debug auto qos
Enables debugging of the auto-QoS feature.
mls qos trust
Configures the port trust state.
srr-queue bandwidth share
Assigns the shared weights and enables bandwidth sharing
on the four egress queues mapped to a port.
queue-set
Maps a port to a queue-set.
show auto qos
Displays auto-QoS information.
show mls qos interface
Displays QoS information at the port level.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos trust
auto qos trust
Use the auto qos trust interface configuration command on the switch stack or on a standalone switch
to automatically configure quality of service (QoS) for trusted interfaces within a QoS domain. Use the
no form of this command to return to the default setting.
auto qos trust {cos | dscp}
no auto qos trust {cos | dscp}
Syntax Description
Defaults
Auto-QoS trust is disabled on the port.
When auto-QoS is enabled, it uses the ingress packet label to categorize traffic, to assign packet labels,
and to configure the ingress and egress queues.
cos
Trust the CoS packet classification.
dscp
Trust the DSCP packet classification.
Table 2-3
Traffic Types, Packet Labels, and Queues
VOIP Data
Traffic
VOIP Control
Traffic
Routing Protocol
Traffic
STP1 BPDU2
Traffic
1.
STP = Spanning Tree Protocol
2.
BPDU = bridge protocol data unit
Real-Time
Video Traffic
All Other Traffic
DSCP3
3.
DSCP = Differentiated Services Code Point
46
24, 26
48
56
34
–
CoS4
4.
CoS = class of service
5
3
6
7
3
–
CoS-to-ingress
queue map
4, 5 (queue 2)
0, 1, 2, 3, 6, 7(queue
1)
CoS-to-egress
queue map
4, 5
(queue 1)
2, 3, 6, 7 (queue 2)
0 (queue 3)
2
(queue 3)
0, 1
(queue 4)
Table 2-4
Auto-QoS Configuration for the Ingress Queues
Ingress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer)
Size
SRR1 shared
1.
SRR = shaped round robin. Ingress queues support shared mode only.
1
0, 1, 2, 3 ,6, 7
70 percent
90 percent
Priority
2
4, 5
30 percent
10 percent
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos trust
Command Modes
Interface configuration
Command History
Usage Guidelines
Use this command to configure the QoS for trusted interfaces within the QoS domain. The QoS domain
includes the switch, the network interior, and edge devices that can classify incoming traffic for QoS.
Auto-QoS configures the switch for connectivity with a trusted interface. The QoS labels of incoming
packets are trusted. For nonrouted ports, the CoS value of the incoming packets is trusted. For routed
ports, the DSCP value of the incoming packet is trusted.
To take advantage of the auto-QoS defaults, you should enable auto-QoS before you configure other QoS
commands. You can fine-tune the auto-QoS configuration after you enable auto-QoS.
If the port is configured with auto-QoS trust, it trusts all the packets on the port. If the packets are not
marked with a DSCP or CoS value, default marking takes affect.
Table 2-5
Auto-QoS Configuration for the Egress Queues
Egress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer) Size
for Gigabit-Capable
Ports
Queue (Buffer)
Size for 10/100
Ethernet Ports
Priority (shaped)
1
4, 5
up to 100 percent
25 percent
15 percent
SRR shared
2
2, 3, 6,7
10 percent
25 percent
25 percent
SRR shared
3
0
60 percent
25 percent
40 percent
SRR shared
4
1
20 percent
25 percent
20 percent
Release
Modification
12.2(55)SE
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos trust
Note
The switch applies the auto-QoS-generated commands as if the commands were entered from the
command-line interface (CLI). An existing user configuration can cause the application of the generated
commands to fail or to be overridden by the generated commands. These actions occur without warning.
If all the generated commands are successfully applied, any user-entered configuration that was not
overridden remains in the running configuration. Any user-entered configuration that was overridden can
be retrieved by reloading the switch without saving the current configuration to memory. If the generated
commands fail to be applied, the previous running configuration is restored.
After auto-QoS is enabled, do not modify a policy map or aggregate policer that includes AutoQoS in its
name. If you need to modify the policy map or aggregate policer, make a copy of it, and change the
copied policy map or policer. To use the new policy map instead of the generated one, remove the
generated policy map from the interface, and apply the new policy map.
To display the QoS configuration that is automatically generated when auto-QoS is enabled, enable
debugging before you enable auto-QoS. Use the debug auto qos privileged EXEC command to enable
auto-QoS debugging. For more information, see the debug auto qos command.
To disable auto-QoS on a port, use the no auto qos trust interface configuration command. Only the
auto-QoS-generated interface configuration commands for this port are removed. If this is the last port
on which auto-QoS is enabled and you enter the no auto qos trust command, auto-QoS is considered
disabled even though the auto-QoS-generated global configuration commands remain (to avoid
disrupting traffic on other ports affected by the global configuration). You can use the no mls qos global
configuration command to disable the auto-QoS-generated global configuration commands. With QoS
disabled, there is no concept of trusted or untrusted ports because the packets are not modified (the CoS,
DSCP, and IP precedence values in the packet are not changed). Traffic is switched in pass-through mode
(packets are switched without any rewrites and classified as best effort without any policing).
Examples
This example shows how to enable auto-QoS for a trusted interface with specific cos classification.
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# auto qos trust cos
You can verify your settings by entering the show auto qos interface interface-id privileged EXEC
command.
Related Commands
Command
Description
debug auto qos
Enables debugging of the auto-QoS feature.
mls qos trust
Configures the port trust state.
srr-queue bandwidth share
Assigns the shared weights and enables bandwidth sharing
on the four egress queues mapped to a port.
queue-set
Maps a port to a queue-set.
show auto qos
Displays auto-QoS information.
show mls qos interface
Displays QoS information at the port level.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos video
auto qos video
Use the auto qos video interface configuration command on the switch stack or on a standalone switch
to automatically configure quality of service (QoS) for video within a QoS domain. Use the no form of
this command to return to the default setting.
auto qos video {cts | ip-camera}
no auto qos video {cts | ip-camera}
Syntax Description
Defaults
Auto-QoS video is disabled on the port.
When auto-QoS is enabled, it uses the ingress packet label to categorize traffic, to assign packet labels,
and to configure the ingress and egress queues.
cts
Identiy this port as connected to a Cisco TelePresence System and automatically
configure QoS for video.
ip-camera
Identify this port as connected to a Cisco IP camera and automatically configure
QoS for video.
Table 2-6
Traffic Types, Packet Labels, and Queues
VOIP Data
Traffic
VOIP Control
Traffic
Routing Protocol
Traffic
STP1 BPDU2
Traffic
1.
STP = Spanning Tree Protocol
2.
BPDU = bridge protocol data unit
Real-Time
Video Traffic
All Other Traffic
DSCP3
3.
DSCP = Differentiated Services Code Point
46
24, 26
48
56
34
–
CoS4
4.
CoS = class of service
5
3
6
7
3
–
CoS-to-ingress
queue map
4, 5 (queue 2)
0, 1, 2, 3, 6, 7(queue
1)
CoS-to-egress
queue map
4, 5
(queue 1)
2, 3, 6, 7 (queue 2)
0 (queue 3)
2
(queue 3)
0, 1
(queue 4)
Table 2-7
Auto-QoS Configuration for the Ingress Queues
Ingress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer)
Size
SRR1 shared
1.
SRR = shaped round robin. Ingress queues support shared mode only.
1
0, 1, 2, 3, 6, 7
70 percent
90 percent
Priority
2
4, 5
30 percent
10 percent
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos video
Command Modes
Interface configuration
Command History
Usage Guidelines
Use this command to configure the QoS appropriate for video traffic within the QoS domain. The QoS
domain includes the switch, the network interior, and edge devices that can classify incoming traffic for
QoS.
Auto-Qos configures the switch for video connectivity with a Cisco TelePresence system and a Cisco IP
camera.
To take advantage of the auto-QoS defaults, you should enable auto-QoS before you configure other QoS
commands. You can fine-tune the auto-QoS configuration after you enable auto-QoS.
Note
The switch applies the auto-QoS-generated commands as if the commands were entered from the
command-line interface (CLI). An existing user configuration can cause the application of the generated
commands to fail or to be overridden by the generated commands. These actions occur without warning.
If all the generated commands are successfully applied, any user-entered configuration that was not
overridden remains in the running configuration. Any user-entered configuration that was overridden can
be retrieved by reloading the switch without saving the current configuration to memory. If the generated
commands fail to be applied, the previous running configuration is restored.
If this is the first port on which you have enabled auto-QoS, the auto-QoS-generated global configuration
commands are executed followed by the interface configuration commands. If you enable auto-QoS on
another port, only the auto-QoS-generated interface configuration commands for that port are executed.
When you enable the auto-QoS feature on the first port, these automatic actions occur:
•
QoS is globally enabled (mls qos global configuration command), and other global configuration
commands are added.
•
After auto-QoS is enabled, do not modify a policy map or aggregate policer that includes AutoQoS
in its name. If you need to modify the policy map or aggregate policer, make a copy of it, and change
the copied policy map or policer. To use the new policy map instead of the generated one, remove
the generated policy map from the interface, and apply the new policy map.
Table 2-8
Auto-QoS Configuration for the Egress Queues
Egress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer) Size
for Gigabit-Capable
Ports
Queue (Buffer)
Size for 10/100
Ethernet Ports
Priority (shaped)
1
4, 5
up to 100 percent
25 percent
15 percent
SRR shared
2
2, 3, 6, 7
10 percent
25 percent
25 percent
SRR shared
3
0
60 percent
25 percent
40 percent
SRR shared
4
1
20 percent
25 percent
20 percent
Release
Modification
12.2(55)SE
This command was introduced.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos video
To display the QoS configuration that is automatically generated when auto-QoS is enabled, enable
debugging before you enable auto-QoS. Use the debug auto qos privileged EXEC command to enable
auto-QoS debugging. For more information, see the debug auto qos command.
To disable auto-QoS on a port, use the no auto qos video interface configuration command. Only the
auto-QoS-generated interface configuration commands for this port are removed. If this is the last port
on which auto-QoS is enabled and you enter the no auto qos video command, auto-QoS is considered
disabled even though the auto-QoS-generated global configuration commands remain (to avoid
disrupting traffic on other ports affected by the global configuration). You can use the no mls qos global
configuration command to disable the auto-QoS-generated global configuration commands. With QoS
disabled, there is no concept of trusted or untrusted ports because the packets are not modified (the CoS,
DSCP, and IP precedence values in the packet are not changed). Traffic is switched in pass-through mode
(packets are switched without any rewrites and classified as best effort without any policing).
Examples
This example shows how to enable auto-QoS for a Cisco Telepresence interface with conditional trust.
The interface is trusted only if a Cisco Telepresence device is detected; otherwise, the port is untrusted.
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# auto qos video cts
You can verify your settings by entering the show auto qos video interface interface-id privileged
EXEC command.
Related Commands
Command
Description
debug auto qos
Enables debugging of the auto-QoS feature.
mls qos trust
Configures the port trust state.
srr-queue bandwidth share
Assigns the shared weights and enables bandwidth sharing
on the four egress queues mapped to a port.
queue-set
Maps a port to a queue-set.
show auto qos
Displays auto-QoS information.
show mls qos interface
Displays QoS information at the port level.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos voip
auto qos voip
Use the auto qos voip interface configuration command to automatically configure quality of service
(QoS) for voice over IP (VoIP) within a QoS domain. Use the no form of this command to return to the
default setting.
auto qos voip {cisco-phone | cisco-softphone | trust}
no auto qos voip [cisco-phone | cisco-softphone | trust]
Syntax Description
Defaults
Auto-QoS is disabled on the port.
When auto-QoS is enabled, it uses the ingress packet label to categorize traffic, to assign packet labels,
and to configure the ingress and egress queues.
cisco-phone
Identify this port as connected to a Cisco IP Phone, and automatically configure QoS
for VoIP. The QoS labels of incoming packets are trusted only when the telephone
is detected.
cisco-softphone
Identify this port as connected to a device running the Cisco SoftPhone, and
automatically configure QoS for VoIP.
trust
Identify this port as connected to a trusted switch or router, and automatically
configure QoS for VoIP. The QoS labels of incoming packets are trusted. For
nonrouted ports, the CoS value of the incoming packet is trusted. For routed ports,
the DSCP value of the incoming packet is trusted.
Table 2-9
Traffic Types, Packet Labels, and Queues
VOIP Data
Traffic
VOIP Control
Traffic
Routing Protocol
Traffic
STP1 BPDU2
Traffic
1.
STP = Spanning Tree Protocol
2.
BPDU = bridge protocol data unit
Real-Time
Video Traffic
All Other Traffic
DSCP3
3.
DSCP = Differentiated Services Code Point
46
24, 26
48
56
34
–
CoS4
4.
CoS = class of service
5
3
6
7
3
–
CoS-to-ingress
queue map
4, 5 (queue 2)
0, 1, 2, 3, 6, 7(queue
1)
CoS-to-egress
queue map
4, 5
(queue 1)
2, 3, 6, 7 (queue 2)
0 (queue 3)
2
(queue 3)
0, 1
(queue 4)
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos voip
Command Modes
Interface configuration
Command History
Usage Guidelines
Use this command to configure the QoS appropriate for VoIP traffic within the QoS domain. The QoS
domain includes the switch, the network interior, and edge devices that can classify incoming traffic for
QoS.
Auto-QoS configures the switch for VoIP with Cisco IP Phones on switch and routed ports and for VoIP
with devices running the Cisco SoftPhone application. These releases support only Cisco IP SoftPhone
Version 1.3(3) or later. Connected devices must use Cisco Call Manager Version 4 or later.
To take advantage of the auto-QoS defaults, you should enable auto-QoS before you configure other QoS
commands. You can fine-tune the auto-QoS configuration after you enable auto-QoS.
Table 2-10
Auto-QoS Configuration for the Ingress Queues
Ingress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer)
Size
SRR1 shared
1.
SRR = shaped round robin. Ingress queues support shared mode only.
1
0, 1, 2, 3, 6, 7
70 percent
90 percent
Priority
2
4, 5
30 percent
10 percent
Table 2-11
Auto-QoS Configuration for the Egress Queues
Egress Queue
Queue Number
CoS-to-Queue Map
Queue Weight
(Bandwidth)
Queue (Buffer) Size
for Gigabit-Capable
Ports
Queue (Buffer)
Size for 10/100
Ethernet Ports
Priority (shaped)
1
4, 5
up to 100 percent
25 percent
15 percent
SRR shared
2
2, 3, 6, 7
10 percent
25 percent
25 percent
SRR shared
3
0
60 percent
25 percent
40 percent
SRR shared
4
1
20 percent
25 percent
20 percent
Release
Modification
12.2(53)SE2
This command was introduced.
12.2(55)SE
Support for enhanced auto-QoS was added.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos voip
Note
The switch applies the auto-QoS-generated commands as if the commands were entered from the
command-line interface (CLI). An existing user configuration can cause the application of the generated
commands to fail or to be overridden by the generated commands. These actions occur without warning.
If all the generated commands are successfully applied, any user-entered configuration that was not
overridden remains in the running configuration. Any user-entered configuration that was overridden can
be retrieved by reloading the switch without saving the current configuration to memory. If the generated
commands fail to be applied, the previous running configuration is restored.
If this is the first port on which you have enabled auto-QoS, the auto-QoS-generated global configuration
commands are executed followed by the interface configuration commands. If you enable auto-QoS on
another port, only the auto-QoS-generated interface configuration commands for that port are executed.
When you enable the auto-QoS feature on the first port, these automatic actions occur:
•
QoS is globally enabled (mls qos global configuration command), and other global configuration
commands are added.
•
When you enter the auto qos voip cisco-phone interface configuration command on a port at the
edge of the network that is connected to a Cisco IP Phone, the switch enables the trusted boundary
feature. The switch uses the Cisco Discovery Protocol (CDP) to detect the presence of a Cisco IP
Phone. When a Cisco IP Phone is detected, the ingress classification on the port is set to trust the
QoS label received in the packet. The switch also uses policing to determine whether a packet is in
or out of profile and to specify the action on the packet. If the packet does not have a DSCP value
of 24, 26, or 46 or is out of profile, the switch changes the DSCP value to 0. When a Cisco IP Phone
is absent, the ingress classification is set to not trust the QoS label in the packet. The switch
configures ingress and egress queues on the port according to the settings in Table 2-10 and
Table 2-11. The policing is applied to those traffic matching the policy-map classification before the
switch enables the trust boundary feature.
•
When you enter the auto qos voip cisco-softphone interface configuration command on a port at
the edge of the network that is connected to a device running the Cisco SoftPhone, the switch uses
policing to decide whether a packet is in or out of profile and to specify the action on the packet. If
the packet does not have a DSCP value of 24, 26, or 46 or is out of profile, the switch changes the
DSCP value to 0. The switch configures ingress and egress queues on the port according to the
settings in Table 2-10 and Table 2-11.
•
When you enter the auto qos voip trust interface configuration command on a port connected to the
network interior, the switch trusts the CoS value for nonrouted ports or the DSCP value for routed
ports in ingress packets (the assumption is that traffic has already been classified by other edge
devices). The switch configures the ingress and egress queues on the port according to the settings
in Table 2-10 and Table 2-11.
You can enable auto-QoS on static, dynamic-access, and voice VLAN access, and trunk ports. When
enabling auto-QoS with a Cisco IP Phone on a routed port, you must assign a static IP address to the IP
phone.
Note
When a device running Cisco SoftPhone is connected to a switch or routed port, the switch supports only
one Cisco SoftPhone application per port.
After auto-QoS is enabled, do not modify a policy map or aggregate policer that includes AutoQoS in its
name. If you need to modify the policy map or aggregate policer, make a copy of it, and change the
copied policy map or policer. To use the new policy map instead of the generated one, remove the
generated policy map from the interface, and apply the new policy map.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos voip
To display the QoS configuration that is automatically generated when auto-QoS is enabled, enable
debugging before you enable auto-QoS. Use the debug auto qos privileged EXEC command to enable
auto-QoS debugging. For more information, see the debug auto qos command.
To disable auto-QoS on a port, use the no auto qos voip interface configuration command. Only the
auto-QoS-generated interface configuration commands for this port are removed. If this is the last port
on which auto-QoS is enabled and you enter the no auto qos voip command, auto-QoS is considered
disabled even though the auto-QoS-generated global configuration commands remain (to avoid
disrupting traffic on other ports affected by the global configuration). You can use the no mls qos global
configuration command to disable the auto-QoS-generated global configuration commands. With QoS
disabled, there is no concept of trusted or untrusted ports because the packets are not modified (the CoS,
DSCP, and IP precedence values in the packet are not changed). Traffic is switched in pass-through
mode. Packets are switched without any rewrites and classified as best effort without any policing.
This is the enhanced configuration for the auto qos voip cisco-phone command:
Switch(config)# mls qos map policed-dscp 0 10 18 to 8
Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56
Switch(config)# class-map match-all AUTOQOS_VOIP_DATA_CLASS
Switch(config-cmap)# match ip dscp ef
Switch(config)# class-map match-all AUTOQOS_DEFAULT_CLASS
Switch(config-cmap)# match access-group name AUTOQOS-ACL-DEFAULT
Switch(config)# class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS
Switch(config-cmap)# match ip dscp cs3
Switch(config)# policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
Switch(config-pmap)# class AUTOQOS_VOIP_DATA_CLASS
Switch(config-pmap-c)# set dscp ef
Switch(config-pmap-c)# police 128000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap)# class AUTOQOS_VOIP_SIGNAL_CLASS
Switch(config-pmap-c)# set dscp cs3
Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap)# class AUTOQOS_DEFAULT_CLASS
Switch(config-pmap-c)# set dscp default
Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit
Switch(config-if)# service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
This is the enhanced configuration for the auto qos voip cisco-softphone command:
Switch(config)# mls qos map policed-dscp 0 10 18 to 8
Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56
Switch(config)# class-map match-all AUTOQOS_MULTIENHANCED_CONF_CLASS
Switch(config-cmap)# match access-group name AUTOQOS-ACL-MULTIENHANCED-CONF
Switch(config)# class-map match-all AUTOQOS_VOIP_DATA_CLASS
Switch(config-cmap)# match ip dscp ef
Switch(config)# class-map match-all AUTOQOS_DEFAULT_CLASS
Switch(config-cmap)# match access-group name AUTOQOS-ACL-DEFAULT
Switch(config)# class-map match-all AUTOQOS_TRANSACTION_CLASS
Switch(config-cmap)# match access-group name AUTOQOS-ACL-TRANSACTIONAL-DATA
Switch(config)# class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS
Switch(config-cmap)# match ip dscp cs3
Switch(config)# class-map match-all AUTOQOS_SIGNALING_CLASS
Switch(config-cmap)# match access-group name AUTOQOS-ACL-SIGNALING
Switch(config)# class-map match-all AUTOQOS_BULK_DATA_CLASS
Switch(config-cmap)# match access-group name AUTOQOS-ACL-BULK-DATA
Switch(config)# class-map match-all AUTOQOS_SCAVANGER_CLASS
Switch(config-cmap)# match access-group name AUTOQOS-ACL-SCAVANGER
Switch(config)# policy-map AUTOQOS-SRND4-SOFTPHONE-POLICY
Switch(config-pmap)# class AUTOQOS_VOIP_DATA_CLASS
Switch(config-pmap-c)# set dscp ef
Switch(config-pmap-c)# police 128000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap)# class AUTOQOS_VOIP_SIGNAL_CLASS
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos voip
Switch(config-pmap-c)# set dscp cs3
Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap)# class AUTOQOS_MULTIENHANCED_CONF_CLASS
Switch(config-pmap-c)# set dscp af41
Switch(config-pmap-c)# police 5000000 8000 exceed-action drop
Switch(config-pmap)# class AUTOQOS_BULK_DATA_CLASS
Switch(config-pmap-c)# set dscp af11
Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap)# class AUTOQOS_TRANSACTION_CLASS
Switch(config-pmap-c)# set dscp af21
Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit
Switch(config-pmap)# class AUTOQOS_SCAVANGER_CLASS
Switch(config-pmap-c)# set dscp cs1
Switch(config-pmap-c)# police 10000000 8000 exceed-action drop
Switch(config-pmap)# class AUTOQOS_SIGNALING_CLASS
Switch(config-pmap-c)# set dscp cs3
Switch(config-pmap-c)# police 32000 8000 exceed-action drop
Switch(config-pmap)# class AUTOQOS_DEFAULT_CLASS
Switch(config-pmap-c)# set dscp default
Switch(config-if)# service-policy input AUTOQOS-SRND4-SOFTPHONE-POLICY
Examples
This example shows how to enable auto-QoS and to trust the QoS labels received in incoming packets
when the switch or router connected to the port is a trusted device:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# auto qos voip trust
You can verify your settings by entering the show auto qos interface interface-id privileged EXEC
command.
Related Commands
Command
Description
debug auto qos
Enables debugging of the auto-QoS feature.
mls qos cos
Defines the default CoS value of a port or assigns the default
CoS to all incoming packets on the port.
mls qos map cos-dscp
Defines the CoS-to-DSCP map or the DSCP-to-CoS map.
mls qos queue-set output buffers
Allocates buffers to a queue-set.
mls qos srr-queue input bandwidth
Assigns shaped round robin (SRR) weights to an ingress
queue.
mls qos srr-queue input buffers
Allocates the buffers between the ingress queues.
mls qos srr-queue input cos-map
Maps CoS values to an ingress queue or maps CoS values to
a queue and to a threshold ID.
mls qos srr-queue input dscp-map
Maps DSCP values to an ingress queue or maps DSCP values
to a queue and to a threshold ID.
mls qos srr-queue input
priority-queue
Configures the ingress priority queue and guarantees
bandwidth.
mls qos srr-queue output cos-map
Maps CoS values to an egress queue or maps CoS values to
a queue and to a threshold ID.
mls qos srr-queue output dscp-map
Maps DSCP values to an egress queue or maps DSCP values
to a queue and to a threshold ID.
mls qos trust
Configures the port trust state.
queue-set
Maps a port to a queue-set.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
auto qos voip
show auto qos
Displays auto-QoS information.
show mls qos interface
Displays QoS information at the port level.
srr-queue bandwidth shape
Assigns the shaped weights and enables bandwidth shaping
on the four egress queues mapped to a port.
srr-queue bandwidth share
Assigns the shared weights and enables bandwidth sharing
on the four egress queues mapped to a port.
Command
Description
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
boot auto-copy-sw
boot auto-copy-sw
Use the boot auto-copy-sw global configuration command from the stack master to enable the automatic
upgrade (auto-upgrade) process. It automatically upgrades a switch in version-mismatch (VM) mode by
copying the running software image on any stack member or by copying a tar file image in switch stack
flash memory. Use the no form of this command to disable the auto-upgrade process.
boot auto-copy-sw
no boot auto-copy-sw
Note
This command is supported only on Catalyst 3750-X switches.
Syntax Description
This command has no arguments or keywords.
Defaults
Enabled.
Command Modes
Global configuration
Command History
Usage Guidelines
A switch in VM mode is a switch that has a different minor version number than the version on the switch
stack. A switch in VM mode cannot join the switch stack as a fully functioning member. If the switch
stack has an image that can be copied to a switch in VM mode, the auto-upgrade process automatically
copies the image from a stack member to the switch in VM mode. The switch then exits VM mode,
reboots, and joins the switch stack as a fully functioning member.
The auto-upgrade process affects only switches in VM mode. It does not affect existing stack members.
Related Commands
Release
Modification
12.2(53)SE2
This command was introduced.
Command
Description
show boot
Displays the settings of the boot environment variables.
show version
Displays version information for the hardware and firmware.
Downloaded from www.Manualslib.com manuals search engine
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
boot auto-download-sw
boot auto-download-sw
Use the boot auto-download-sw global configuration command on the switch stack to specify a URL
pathname to use for the automatic software upgrades. Use the no form of this command to remove the
software image.
boot auto-download-sw source-url
no boot auto-download-sw
Note
This command is supported only on Catalyst 3750-X switches.
Syntax Description
Defaults
Disabled.
Command Modes
Global configuration
source-url
The source URLs for the software images. The image-name.tar is the
software image to download and install on the switch.
These options are supported:
•
Local flash file system syntax on the standalone switch or the stack
master:
flash:
Local flash file system syntax on a stack member:
flash member number:
The member number can be from 1 to 9.
•
FTP syntax:
ftp:[[//username[:password]@location]/directory]/image-name.tar
•
HTTP server syntax for an HTTP server:
http://[[username:password]@]{hostname |
host-ip}[/directory]/image-name.tar
•
Secure HTTP server syntax:
https://[[username:password]@]{hostname |
host-ip}[/directory]/image-name.tar
•
Remote Copy Protocol (RCP) syntax:
rcp:[[//username@location]/directory]/image-name.tar
•
Secure Copy Protocol (SCP) syntax:
scp:[[//username@location]/directory]/image-name.tar
•
TFTP syntax:
tftp:[[//location]/directory]/image-name.tar
Downloaded from www.Manualslib.com manuals search engine