Download  Print this page
   
1
2
Table of Contents
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854

Advertisement

Catalyst 3750 Switch Command Reference
Cisco IOS Release 12.2(25)SE
November 2004
Corporate Headquarters
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 526-4100
Customer Order Number: DOC-7816181=
Text Part Number: 78-16181-03

Advertisement

Table of Contents

   Related Manuals for Cisco Catalyst 3750

   Summary of Contents for Cisco Catalyst 3750

  • Page 1 Catalyst 3750 Switch Command Reference Cisco IOS Release 12.2(25)SE November 2004 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Customer Order Number: DOC-7816181= Text Part Number: 78-16181-03...
  • Page 2 CCSP, the Cisco Square Bridge logo, Cisco Unity, Follow Me Browsing, FormShare, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco...
  • Page 3: Table Of Contents

    Global Configuration Mode Interface Configuration Mode config-vlan Mode VLAN Configuration Mode Line Configuration Mode Commands Changed in Cisco IOS 12.2(18)SE Catalyst 3750 Switch Cisco IOS Commands C H A P T E R aaa accounting dot1x aaa authentication dot1x action archive copy-sw...
  • Page 4 2-53 clear spanning-tree detected-protocols 2-54 clear vmps statistics 2-55 clear vtp counters 2-56 cluster commander-address 2-57 cluster discovery hop-count 2-59 cluster enable 2-60 cluster holdtime 2-62 cluster member 2-63 cluster outside-interface 2-65 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 5 2-115 ip arp inspection filter vlan 2-117 ip arp inspection limit 2-119 ip arp inspection log-buffer 2-121 ip arp inspection trust 2-123 ip arp inspection validate 2-125 ip arp inspection vlan 2-127 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 6 2-172 mac address-table notification 2-174 mac address-table static 2-176 mac address-table static drop 2-177 macro apply 2-179 macro description 2-182 macro global 2-183 macro global description 2-186 macro name 2-187 match (access-map configuration) 2-189 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 7 2-243 pagp port-priority 2-245 permit (ARP access-list configuration) 2-247 permit (MAC access-list configuration) 2-249 police 2-252 police aggregate 2-254 policy-map 2-256 port-channel load-balance 2-259 power inline 2-261 priority-queue 2-264 private-vlan 2-266 private-vlan mapping 2-269 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 8 2-329 show controllers tcam 2-331 show controllers utilization 2-333 show dot1q-tunnel 2-335 show dot1x 2-336 show dtp 2-339 show env 2-341 show errdisable detect 2-344 show errdisable flap-values 2-346 Catalyst 3750 Switch Command Reference viii 78-16181-03...
  • Page 9 2-417 show mls qos 2-419 show mls qos aggregate-policer 2-420 show mls qos input-queue 2-421 show mls qos interface 2-423 show mls qos maps 2-427 show mls qos queue-set 2-430 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 10 2-491 snmp-server host 2-495 snmp trap mac-notification 2-499 spanning-tree backbonefast 2-501 spanning-tree bpdufilter 2-502 spanning-tree bpduguard 2-504 spanning-tree cost 2-506 spanning-tree etherchannel guard misconfig 2-508 spanning-tree extend system-id 2-510 spanning-tree guard 2-512 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 11 2-558 switchport 2-560 switchport access 2-562 switchport backup interface 2-564 switchport block 2-566 switchport host 2-567 switchport mode 2-568 switchport mode private-vlan 2-571 switchport nonegotiate 2-573 switchport port-security 2-575 switchport port-security aging 2-579 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 12 (global configuration) 2-631 vmps retry 2-632 vmps server 2-633 vtp (global configuration) 2-635 vtp (VLAN configuration) 2-639 Catalyst 3750 Switch Boot Loader Commands A P P E N D I X boot copy delete flash_init format A-10 fsck A-11...
  • Page 13 A-20 A-21 type A-24 unset A-25 version A-27 Catalyst 3750 Switch Debug Commands A P P E N D I X debug auto qos debug cluster debug dot1x debug dtp debug etherchannel debug ilpower B-11 debug ip dhcp snooping...
  • Page 14 B-64 debug platform supervisor-asic B-65 debug platform sw-bridge B-66 debug platform tcam B-67 debug platform udld B-70 debug platform vlan B-71 debug pm B-72 debug port-security B-74 debug qos-manager B-75 debug spanning-tree B-76 Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 15 B-90 debug sw-vlan vtp B-92 debug udld B-94 debug vqpc B-96 Catalyst 3750 Switch Show Platform Commands A P P E N D I X show platform acl show platform configuration show platform etherchannel show platform forward show platform frontend-controller...
  • Page 16 Contents show platform stack-manager C-32 show platform tb C-34 show platform tcam C-36 show platform vlan C-39 N D E X Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 17: Preface

    This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3750 switch, hereafter 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.
  • Page 18: Conventions

    Means reader be careful. In this situation, you might do something that could result in equipment Caution damage or loss of data. Related Publications These documents provide complete information about the switch and are available from this Cisco.com site: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3750/index.htm Before installing, configuring, or upgrading the switch, see these documents: Note For initial configuration information, see the “Using Express Setup”...
  • Page 19: Obtaining Documentation

    For upgrading information, see the “Downloading Software” section in the release notes. • You can order printed copies of documents with a DOC-xxxxxx= number from the Cisco.com sites and from the telephone numbers listed in the “Obtaining Documentation” section on page xix.
  • Page 20: Documentation Feedback

    Access to all tools on the Cisco Technical Support Website requires a Cisco.com user ID and password. If you have a valid service contract but do not have a user ID or password, you can register at this URL: http://tools.cisco.com/RPF/register/register.do...
  • Page 21: Definitions Of Service Request Severity

    URL: http://www.cisco.com/techsupport/servicerequest For S1 or S2 service requests or if you do not have Internet access, contact the Cisco TAC by telephone. (S1 or S2 service requests are those in which your production network is down or severely degraded.) Cisco TAC engineers are assigned immediately to S1 and S2 service requests to help keep your business operations running smoothly.
  • Page 22 Preface Obtaining Additional Publications and Information Cisco Press publishes a wide range of general networking, training and certification titles. Both new • and experienced users will benefit from these publications. For current Cisco Press titles and other information, go to Cisco Press at this URL: http://www.ciscopress.com...
  • Page 23: Chapter 1 Using The Command-line Interface

    C H A P T E R Using the Command-Line Interface The Catalyst 3750 switch is 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...
  • Page 24: Cli Command Modes

    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: •...
  • Page 25: User Exec Mode

    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. Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 26: Global Configuration Mode

    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. Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 27: Vlan Configuration Mode

    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. Catalyst 3750 Switch Command Reference 78-16181-03...
  • Page 28: Commands Changed In Cisco Ios 12.2(18)se

    Commands Changed in Cisco IOS 12.2(18)SE Commands Changed in Cisco IOS 12.2(18)SE Table 1-2 lists describes the commands that have the same function but different syntax than they did in software releases before Cisco IOS Release 12.2(18)SE. Table 1-2 Commands Changed Releases earlier than...
  • Page 29: Chapter 2 Catalyst 3750 Switch Cisco Ios Commands

    C H A P T E R Catalyst 3750 Switch Cisco IOS Commands aaa accounting dot1x Use the aaa accounting dot1x interface 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 802.1x sessions.
  • Page 30: Chapter 2 Catalyst 3750 Switch Cisco Io Command

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands aaa accounting dot1x Defaults AAA accounting is disabled. Command Modes Global configuration Command History Release Modification 12.2(20)SE This command was introduced. Usage Guidelines This command requires access to a RADIUS server. Note We recommend that you enter the dot1x reauthentication interface configuration command before configuring 802.1x RADIUS accounting on an interface.
  • Page 31: Aaa Authentication Dot1x

    Chapter 2 Catalyst 3750 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 IEEE 802.1x.
  • Page 32: Aaa Authentication Dot1x

    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 current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 33: Action

    Chapter 2 Catalyst 3750 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 set the action to the default value, which is to forward.
  • Page 34 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.
  • Page 35: Archive Copy-sw

    Chapter 2 Catalyst 3750 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.
  • Page 36 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw 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.
  • Page 37 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw 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.
  • Page 38: Archive Download-sw

    Chapter 2 Catalyst 3750 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.
  • Page 39 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive download-sw /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.
  • Page 40 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.
  • Page 41 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive download-sw 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.
  • Page 42: Archive Tar

    Chapter 2 Catalyst 3750 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.
  • Page 43: Archive Tar

    Chapter 2 Catalyst 3750 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: •...
  • Page 44 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive tar 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...
  • Page 45: Archive Upload-sw

    Chapter 2 Catalyst 3750 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]...
  • Page 46 Catalyst 3750 Switch Cisco IOS Commands archive upload-sw 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.
  • Page 47: Arp Access-list

    Chapter 2 Catalyst 3750 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.
  • Page 48 Chapter 2 Catalyst 3750 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...
  • Page 49: Auto Qos Voip

    Syntax Description 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. This keyword is not supported on a 10-Gigabit Ethernet interface.
  • Page 50: Auto Qos Voip

    Cisco IP Phones on switch ports. In Cisco IOS Release 12.2(20)SE or later, 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.
  • Page 51 Table 2-3. 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.
  • Page 52 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands auto qos voip 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...
  • Page 53 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands auto qos voip Command Description 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.
  • Page 54: Boot Auto-copy-sw

    Chapter 2 Catalyst 3750 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.
  • Page 55: Boot Boothlpr

    Use the boot boothlpr global configuration command on the switch stack or on a standalone switch to load a special Cisco IOS image, which when loaded into memory, can load a second Cisco IOS image into memory and launch it. This variable is used only for internal development and testing. Use the no form of this command to return to the default setting.
  • Page 56: Boot Config-file

    Use the boot config-file global configuration command on a standalone switch to specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. Use the no form of this command to return to the default setting.
  • Page 57: Boot Enable-break

    Despite the setting of this command, you can interrupt the automatic boot process at any time by pressing the MODE button on the switch front panel. This command changes the setting of the ENABLE_BREAK environment variable. For more information, see Appendix A, “Catalyst 3750 Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 58: Boot Helper

    This variable is used only for internal development and testing. Filenames and directory names are case sensitive. This command changes the setting of the HELPER environment variable. For more information, see Appendix A, “Catalyst 3750 Switch Boot Loader Commands.” Related Commands Command...
  • Page 59: Boot Helper-config-file

    Use the boot helper-config-file global configuration command on the switch stack or on a standalone switch to specify the name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of Cisco IOS that are loaded.
  • Page 60: Boot Manual

    To boot the system, use the boot boot loader command, and specify the name of the bootable image. This command changes the setting of the MANUAL_BOOT environment variable. For more information, see Appendix A, “Catalyst 3750 Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 61: Boot Private-config-file

    Use the boot private-config-file global configuration command on a standalone switch to specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the private configuration. Use the no form of this command to return to the default setting.
  • Page 62: Boot System

    Use the boot system global configuration command on a standalone switch to specify the Cisco IOS image to load during the next boot cycle. Use the no form of this command to return to the default setting.
  • Page 63: Channel-group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group channel-group Use the channel-group interface configuration command on the switch stack or on a standalone switch to assign an Ethernet port to an EtherChannel group. Use the no form of this command to remove an Ethernet port from an EtherChannel group.
  • Page 64 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group Command History Release Modification 12.1(11)AX This command was introduced. 12.1(14)EA1 The active and passive keywords were added. 12.2(25)SE The channel-group-number range was changed from 1 to 12 to 1 to 48.
  • Page 65 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group If 802.1x is enabled on a not-yet active port of an EtherChannel in software releases earlier than Cisco Note IOS Release 12.2(18)SE, the port does not join the EtherChannel. Do not configure a secure port as part of an EtherChannel or an EtherChannel port as a secure port.
  • Page 66 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group Command Description show lacp Displays LACP channel-group information. show pagp Displays PAgP channel-group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands >...
  • Page 67: Channel-protocol

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-protocol channel-protocol Use the channel-protocol interface configuration command on the switch stack or on a standalone switch to restrict the protocol used on a port to manage channeling. Use the no form of this command to return to the default setting.
  • Page 68: Class

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class class Use the class policy-map configuration command on the switch stack or on a standalone switch to define a traffic classification match criteria (through the police, set, and trust policy-map class configuration commands) for the specified class-map name.
  • Page 69 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class Examples This example shows how to create a policy map called policy1. When attached to the ingress direction, it matches all the incoming traffic defined in class1, sets the IP Differentiated Services Code Point (DSCP) to 10, and polices the traffic at an average rate of 1 Mbps and bursts at 20 KB.
  • Page 70: Class-map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class-map class-map Use the class-map global configuration command on the switch stack or on a standalone switch to create a class map to be used for matching packets to the class whose name you specify and to enter class-map configuration mode.
  • Page 71 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class-map To define packet classification on a physical-port basis, only one match command per class map is supported. In this situation, the match-all and match-any keywords are equivalent. Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access control entries (ACEs).
  • Page 72: Clear Ip Arp Inspection Log

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear ip arp inspection log clear ip arp inspection log Use the clear ip arp inspection log privileged EXEC command on the switch stack or on a standalone switch to clear the dynamic Address Resolution Protocol (ARP) inspection log buffer.
  • Page 73: Clear Ip Arp Inspection Statistics

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear ip arp inspection statistics clear ip arp inspection statistics Use the clear ip arp inspection statistics privileged EXEC command on the switch stack or on a standalone switch to clear the dynamic Address Resolution Protocol (ARP) inspection statistics.
  • Page 74: Clear Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear ip dhcp snooping database clear ip dhcp snooping database Use the clear ip dhcp snooping database privileged EXEC command on the switch stack or on a standalone switch to clear the DHCP binding database agent statistics.
  • Page 75: Clear Ipc

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear ipc clear ipc Use the clear ipc privileged EXEC command on the switch stack or on a standalone switch to clear Interprocess Communications Protocol (IPC) statistics. clear ipc {queue-statistics | statistics}...
  • Page 76: Clear L2protocol-tunnel Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear l2protocol-tunnel counters clear l2protocol-tunnel counters Use the clear l2protocol-tunnel counters privileged EXEC command on the switch stack or on a standalone switch to clear the protocol counters in protocol tunnel ports.
  • Page 77: Clear Lacp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear lacp clear lacp Use the clear lacp privileged EXEC command on the switch stack or on a standalone switch to clear Link Aggregation Control Protocol (LACP) channel-group counters. clear lacp {channel-group-number counters | counters}...
  • Page 78: Clear Mac Address-table

    VLAN. This command also clears the MAC address notification global counters. clear mac address-table {dynamic [address mac-addr | interface interface-id | vlan vlan-id] | notification} Beginning with Cisco IOS Release 12.1(19)EA1, the clear mac address-table command replaces the Note clear mac- address-table command (with the hyphen).
  • Page 79 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear mac address-table Related Commands Command Description mac address-table notification Enables the MAC address notification feature. show mac address-table Displays the MAC address table static and dynamic entries. show mac address-table notification Displays the MAC address notification settings for all interfaces or the specified interface.
  • Page 80: Clear Pagp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear pagp clear pagp Use the clear pagp privileged EXEC command on the switch stack or on a standalone switch to clear Port Aggregation Protocol (PAgP) channel-group information. clear pagp {channel-group-number counters | counters}...
  • Page 81: Clear Spanning-tree Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear spanning-tree counters clear spanning-tree counters Use the clear spanning-tree counters privileged EXEC command on the switch stack or on a standalone switch to clear the spanning-tree counters. clear spanning-tree counters [interface interface-id]...
  • Page 82: Clear Spanning-tree Detected-protocols

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear spanning-tree detected-protocols clear spanning-tree detected-protocols Use the clear spanning-tree detected-protocols privileged EXEC command on the switch stack or on a standalone switch to restart the protocol migration process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface.
  • Page 83: Clear Vmps Statistics

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear vmps statistics clear vmps statistics Use the clear vmps statistics privileged EXEC command on the switch stack or on a standalone switch to clear the statistics maintained by the VLAN Query Protocol (VQP) client.
  • Page 84: Clear Vtp Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear vtp counters clear vtp counters Use the clear vtp counters privileged EXEC command on the switch stack or on a standalone switch to clear the VLAN Trunking Protocol (VTP) and pruning counters.
  • Page 85: Cluster Commander-address

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster commander-address cluster commander-address You do not need to enter this command from the switch stack or from a standalone cluster member switch. The cluster command switch automatically provides its MAC address to cluster member switches when these switches join the cluster.
  • Page 86 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster commander-address Examples This is partial sample output from the running configuration of a cluster member. Switch(config)# show running-configuration <output truncated> cluster commander-address 00e0.9bc0.a500 member 4 name my_cluster <output truncated> This example shows how to remove a member from the cluster by using the cluster member console.
  • Page 87: Cluster Discovery Hop-count

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster discovery hop-count cluster discovery hop-count Use the cluster discovery hop-count global configuration command on the switch stack or on the a cluster command switch on the cluster command switch to set the hop-count limit for extended discovery of candidate switches.
  • Page 88: Cluster Enable

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster enable cluster enable Use the cluster enable global configuration command on a command-capable switch or switch stack to enable it as the cluster command switch, assign a cluster name, and to optionally assign a member number to it.
  • Page 89 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster enable Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 3750 Switch Command Reference 2-61 78-16181-03...
  • Page 90: Cluster Holdtime

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster holdtime cluster holdtime Use the cluster holdtime global configuration command on the switch stack or on the a cluster command switch to set the duration in seconds before a switch (either the command or cluster member switch) declares the other switch down after not receiving heartbeat messages.
  • Page 91: Cluster Member

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster member cluster member Use the cluster member global configuration command on the cluster command switch to add candidates to a cluster. Use the no form of the command to remove members from the cluster.
  • Page 92: Cluster Member

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster member Examples This example shows how to add a switch as member 2 with MAC address 00E0.1E00.2222 and the password key to a cluster. The cluster command switch adds the candidate to the cluster through VLAN 3.
  • Page 93: Cluster Outside-interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster outside-interface cluster outside-interface Use the cluster outside-interface global configuration command on the switch stack or on the a cluster command switch to configure the outside interface for cluster Network Address Translation (NAT) so that a member without an IP address can communicate with devices outside the cluster.
  • Page 94: Cluster Run

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster run cluster run Use the cluster run global configuration command to enable clustering on a switch. Use the no form of this command to disable clustering on a switch. cluster run...
  • Page 95: Cluster Standby-group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster standby-group cluster standby-group Use the cluster standby-group global configuration command to enable cluster command-switch redundancy by binding the cluster to an existing Hot Standby Router Protocol (HSRP). Entering the routing-redundancy keyword enables the same HSRP group to be used for cluster command-switch redundancy and routing redundancy.
  • Page 96 Related Commands Command Description standby ip Enables HSRP on the interface. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. show cluster Displays the cluster status and a summary of the cluster to which the switch belongs.
  • Page 97: Cluster Timer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster timer cluster timer Use the cluster timer global configuration command on the switch stack or on the a cluster command switch to set the interval in seconds between heartbeat messages. Use the no form of this command to set the interval to the default value.
  • Page 98: Define Interface-range

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands define interface-range define interface-range Use the define interface-range global configuration command on the switch stack or on a standalone switch to create an interface-range macro. Use the no form of this command to delete the defined macro.
  • Page 99 Executes a command on multiple ports at the same time. show running-config Displays the current operating configuration, including defined macros. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 100: Delete

    The prompting behavior depends on the setting of the file prompt global configuration command. By default, the switch prompts for confirmation on destructive file operations. For more information about this command, see the Cisco IOS Command Reference for Release 12.1. Examples...
  • Page 101: Deny (arp Access-list Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (ARP access-list configuration) deny (ARP access-list configuration) Use the deny Address Resolution Protocol (ARP) access-list configuration command on the switch stack or on a standalone switch to deny an ARP packet based on matches against the DHCP bindings. Use the no form of this command to remove the specified access control entry (ACE) from the access list.
  • Page 102 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (ARP access-list configuration) Command History Release Modification 12.2(20)SE This command was introduced. Usage Guidelines You can add deny clauses to drop ARP packets based on matching criteria. Examples This example shows how to define an ARP access list and to deny 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:...
  • Page 103: Deny (mac Access-list Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (MAC access-list configuration) deny (MAC access-list configuration) Use the deny MAC access-list configuration command on the switch stack or on a standalone switch to prevent non-IP traffic from being forwarded if the conditions are matched. Use the no form of this command to remove a deny condition from the named MAC access list.
  • Page 104 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (MAC access-list configuration) lsap lsap-number mask (Optional) Use the LSAP number (0 to 65535) of a packet with 802.2 encapsulation to identify the protocol of the packet. mask is a mask of don’t care bits applied to the LSAP number before testing for a match.
  • Page 105 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (MAC access-list configuration) Usage Guidelines You enter MAC-access list configuration mode by using the mac access-list extended global configuration command. If you use the host keyword, you cannot enter an address mask; if you do not use the host keyword, you must enter an address mask.
  • Page 106: Dot1x

    Before globally enabling 802.1x on a switch, remove the EtherChannel configuration from the interfaces on which 802.1x and EtherChannel are configured. If you are using a device running the Cisco Access Control Server (ACS) application for 802.1x authentication with EAP-Transparent LAN Services (TLS) and with EAP-MD5 and your switch is running Cisco IOS Release 12.1(14)EA1, make sure that the device is running ACS Version 3.2.1 or...
  • Page 107 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x Related Commands Command Description dot1x guest-vlan Enables and specifies an active VLAN as an 802.1x guest VLAN. dot1x port-control Enables manual control of the authorization state of the port. show dot1x [interface Displays 802.1x status for the specified port.
  • Page 108: Dot1x Default

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x default dot1x default Use the dot1x default interface configuration command on the switch stack or on a standalone switch to reset the configurable 802.1x parameters to their default values. dot1x default Syntax Description This command has no arguments or keywords.
  • Page 109: Dot1x Guest-vlan

    With Cisco IOS Release 12.2(25)SE and later, the switch maintains the EAPOL packet history. If another EAPOL packet is detected on the interface during the lifetime of the link, network access is denied. The EAPOL history is reset upon loss of link.
  • Page 110 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x guest-vlan After you configure a guest VLAN for an 802.1x port to which a DHCP client is connected, you might need to get a host IP address from a DHCP server. You can also change the settings for restarting the 802.1x authentication process on the switch before the DHCP process on the client times out and tries...
  • Page 111: Dot1x Host-mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x host-mode dot1x host-mode Use the dot1x host-mode interface configuration command on the switch stack or on a standalone switch to allow a single host (client) or multiple hosts on an 802.1x-authorized port that has the dot1x port-control interface configuration command set to auto.
  • Page 112 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x host-mode Related Commands Command Description show dot1x [interface interface-id] Displays 802.1x status for the specified port. Catalyst 3750 Switch Command Reference 2-84 78-16181-03...
  • Page 113: Dot1x Initialize

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x initialize dot1x initialize Use the dot1x initialize privileged EXEC command on the switch stack or on a standalone switch to manually return the specified 802.1x-enabled port to an unauthorized state before initiating a new authentication session on the port.
  • Page 114: Dot1x Max-reauth-req

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x max-reauth-req dot1x max-reauth-req Use the dot1x max-reauth-req interface configuration command on the switch stack or on a standalone switch to set the maximum number of times that the switch restarts the authentication process before a port transitions to the unauthorized state.
  • Page 115: Dot1x Max-req

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x max-req dot1x max-req Use the dot1x max-req interface configuration command on the switch stack or on a standalone switch to set the maximum number of times that the switch sends an Extensible Authentication Protocol (EAP)-request/identity frame (assuming that no response is received) to the client before restarting the authentication process.
  • Page 116: Dot1x Multiple-hosts

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x multiple-hosts dot1x multiple-hosts This is an obsolete command. In past releases, the dot1x multiple-hosts interface configuration command was used on the switch stack or on a standalone switch to allow multiple hosts (clients) on an 802.1x-authorized port.
  • Page 117: Dot1x Port-control

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x port-control dot1x port-control Use the dot1x port-control interface configuration command on the switch stack or on a standalone switch to enable manual control of the authorization state of the port. Use the no form of this command to return to the default setting.
  • Page 118 EtherChannel as an 802.1x port. If you try to enable 802.1x on an EtherChannel port, an error message appears, and 802.1x is not enabled. In software releases earlier than Cisco IOS Release 12.2(18)SE, if 802.1x is enabled on a Note not-yet active port of an EtherChannel, the port does not join the EtherChannel.
  • Page 119: Dot1x Re-authenticate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x re-authenticate dot1x re-authenticate Use the dot1x re-authenticate privileged EXEC command on the switch stack or on a standalone switch to manually initiate a re-authentication of all 802.1x-enabled ports or the specified 802.1x-enabled port.
  • Page 120: Dot1x Re-authentication

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x re-authentication dot1x re-authentication This is an obsolete command. In past releases, the dot1x re-authentication global configuration command was used on the switch stack or on a standalone switch to set the amount of time between periodic re-authentication attempts.
  • Page 121: Dot1x Reauthentication

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command on the switch stack or on a standalone switch to enable periodic re-authentication of the client. Use the no form of this command to return to the default setting.
  • Page 122: Dot1x Timeout

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout dot1x timeout Use the dot1x timeout interface configuration command on the switch stack or on a standalone switch to set 802.1x timers. Use the no form of this command to return to the default setting.
  • Page 123 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout The dot1x timeout reauth-period interface configuration command affects the behavior of the switch only if you have enabled periodic re-authentication by using the dot1x reauthentication interface configuration command. During the quiet period, the switch does not accept or initiate any authentication requests. If you want to provide a faster response time to the user, enter a smaller number than the default.
  • Page 124: Duplex

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands duplex duplex Use the duplex interface configuration command on the switch stack or on a standalone switch to specify the duplex mode of operation for a port. Use the no form of this command to return the port to its default value.
  • Page 125 The duplex setting remains as configured on each end of the link, which could result in a duplex setting mismatch. Beginning with Cisco IOS Release 12.2(20)SE1, you can configure the duplex setting when the speed is set to auto.
  • Page 126: Errdisable Detect Cause

    Enable error detection for the Dynamic Trunking Protocol (DTP) flapping. gbic-invalid Enable error detection for an invalid Gigabit Interface Converter (GBIC) module. On the Catalyst 3750 switch, this error refers to an invalid small Note form-factor pluggable (SFP) module. l2ptguard Enable error detection for a Layer 2 protocol-tunnel error-disable cause.
  • Page 127: Errdisable Detect Cause

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable detect cause If you set a recovery mechanism for the cause by entering the errdisable recovery global configuration command for the cause, the interface is brought out of the error-disabled state and allowed to retry the operation when all causes have timed out.
  • Page 128: Errdisable Recovery

    Enable the timer to recover from an invalid Gigabit Interface Converter (GBIC) module error-disable state. On the Catalyst 3750 switch, this error refers to an invalid small Note form-factor pluggable (SFP) error-disable state. l2ptguard Enable the timer to recover from a Layer 2 protocol tunnel error-disable state.
  • Page 129: Errdisable Recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable recovery vmps Enable the timer to recover from the VLAN Membership Policy Server (VMPS) error-disable state. interval interval Specify the time to recover from the specified error-disable state. The range is 30 to 86400 seconds. The same interval is applied to all causes. The default interval is 300 seconds.
  • Page 130 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable recovery This example shows how to set the timer to 500 seconds: Switch(config)# errdisable recovery interval 500 You can verify your settings by entering the show errdisable recovery privileged EXEC command.
  • Page 131: Flowcontrol

    This prevents any loss of data packets during the congestion period. Use the receive off keywords to disable flow control. flowcontrol receive {desired | off | on} The Catalyst 3750 switch can only receive pause frames. Note Syntax Description receive Set whether the interface can receive flow-control packets from a remote device.
  • Page 132 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands flowcontrol Table 2-5 Flow Control Settings and Local and Remote Port Flow Control Resolution Flow Control Settings Flow Control Resolution Local Device Remote Device Local Device Remote Device send off/receive on send on/receive on...
  • Page 133: Interface Port-channel

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface port-channel interface port-channel Use the interface port-channel global configuration command on the switch stack or on a standalone switch to access or create the port-channel logical interface. Use the no form of this command to remove the port-channel.
  • Page 134 Catalyst 3750 Switch Cisco IOS Commands interface port-channel Follow these guidelines when you use the interface port-channel command: If you want to use the Cisco Discovery Protocol (CDP), you must configure it only on the physical • port and not on the port-channel interface.
  • Page 135: Interface Range

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface range interface range Use the interface range global configuration command on the switch stack or on a standalone switch to enter interface range configuration mode and to execute a command on multiple ports at the same time.
  • Page 136 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface range Valid values for port-range type and interface: vlan vlan-ID - vlan-ID, where VLAN ID is from 1 to 4094 • • fastethernet stack member/module/{first port} - {last port}, where module is always 0 •...
  • Page 137 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface range Related Commands Command Description define interface-range Creates an interface range macro. show running-config Displays the configuration information currently running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 138: Interface Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface vlan interface vlan Use the interface vlan global configuration command on the switch stack or on a standalone switch to create or access a dynamic switch virtual interface (SVI) and to enter interface configuration mode. Use the no form of this command to delete an SVI.
  • Page 139 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface vlan Related Commands Command Description show interfaces vlan vlan-id Displays the administrative and operational status of all interfaces or the specified VLAN. Catalyst 3750 Switch Command Reference 2-111 78-16181-03...
  • Page 140: Ip Access-group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip access-group ip access-group Use the ip access-group interface configuration command on the switch stack or on a standalone switch to control access to a Layer 2 or Layer 3 interface. Use the no form of this command to remove all access groups or the specified access group from the interface.
  • Page 141 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip access-group You can use router ACLs, input port ACLs, and VLAN maps on the same switch. However, a port ACL takes precedence over a router ACL or VLAN map. When an input port ACL is applied to an interface and a VLAN map is applied to a VLAN that the •...
  • Page 142 IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands ip access-list Configures a named ACL. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands.
  • Page 143: Ip Address

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip address ip address Use the ip address interface configuration command on the switch stack or on a standalone switch to set an IP address for the Layer 2 switch or an IP address for each switch virtual interface (SVI) or routed port on the Layer 3 switch.
  • Page 144 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip address If your switch receives its IP address from a Bootstrap Protocol (BOOTP) or a DHCP server and you remove the switch IP address by using the no ip address command, IP processing is disabled, and the BOOTP or the DHCP server cannot reassign the address.
  • Page 145: Ip Arp Inspection Filter Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection filter vlan ip arp inspection filter vlan Use the ip arp inspection filter vlan global configuration command on the switch stack or on a standalone switch to permit or deny Address Resolution Protocol (ARP) requests and responses from a host configured with a static IP address when dynamic ARP inspection is enabled.
  • Page 146: Ip Arp Inspection Filter Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection filter vlan Examples This example shows how to apply the ARP ACL static-hosts to VLAN 1 for dynamic ARP inspection: Switch(config)# ip arp inspection filter static-hosts vlan 1 You can verify your settings by entering the show ip arp inspection vlan 1 privileged EXEC command.
  • Page 147: Ip Arp Inspection Limit

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection limit ip arp inspection limit Use the ip arp inspection limit interface configuration command on the switch stack or on a standalone switch to limit the rate of incoming Address Resolution Protocol (ARP) requests and responses on an interface.
  • Page 148: Ip Arp Inspection Limit

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection limit You should configure trunk ports with higher rates to reflect their aggregation. When the rate of incoming packets exceeds the user-configured rate, the switch places the interface into an error-disabled state.
  • Page 149: Ip Arp Inspection Log-buffer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection log-buffer ip arp inspection log-buffer Use the ip arp inspection log-buffer global configuration command on the switch stack or on a standalone switch to configure the dynamic Address Resolution Protocol (ARP) inspection logging buffer.
  • Page 150 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection log-buffer If the log buffer overflows, it means that a log event does not fit into the log buffer, and the display for the show ip arp inspection log privileged EXEC command is affected. A -- in the display appears in place of all data except the packet count and the time.
  • Page 151: Ip Arp Inspection Trust

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection trust ip arp inspection trust Use the ip arp inspection trust interface configuration command on the switch stack or on a standalone switch to configure an interface trust state that determines which incoming Address Resolution Protocol (ARP) packets are inspected.
  • Page 152 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection trust Related Commands Command Description ip arp inspection Configures the dynamic ARP inspection logging buffer. log-buffer show ip arp inspection Displays the trust state and the rate limit of ARP packets for the specified interfaces interface or all interfaces.
  • Page 153: Ip Arp Inspection Validate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection validate ip arp inspection validate Use the ip arp inspection validate global configuration command on the switch stack or on a standalone switch to perform specific checks for dynamic Address Resolution Protocol (ARP) inspection. Use the no form of this command to return to the default settings.
  • Page 154 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection validate Examples This example show how to enable source MAC validation: Switch(config)# ip arp inspection validate src-mac You can verify your setting by entering the show ip arp inspection vlan vlan-range privileged EXEC command.
  • Page 155: Ip Arp Inspection Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection vlan ip arp inspection vlan Use the ip arp inspection vlan global configuration command on the switch stack or on a standalone switch to enable dynamic Address Resolution Protocol (ARP) inspection on a per-VLAN basis. Use the no form of this command to return to the default setting.
  • Page 156 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection vlan Related Commands Command Description arp access-list Defines an ARP access control list (ACL). show ip arp inspection Displays the configuration and the operating state of dynamic ARP vlan vlan-range inspection for the specified VLAN.
  • Page 157: Ip Arp Inspection Vlan Logging

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection vlan logging ip arp inspection vlan logging Use the ip arp inspection vlan logging global configuration command on the switch stack or on a standalone switch to control the type of packets that are logged per VLAN. Use the no form of this command to disable this logging control.
  • Page 158 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection vlan logging Usage Guidelines The term logged means that the entry is placed into the log buffer and that a system message is generated. The acl-match and dhcp-bindings keywords merge with each other; that is, when you configure an ACL match, the DHCP bindings configuration is not disabled.
  • Page 159: Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping ip dhcp snooping Use the ip dhcp snooping global configuration command on the switch stack or on a standalone switch to globally enable DHCP snooping. Use the no form of this command to return to the default setting.
  • Page 160: Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping binding ip dhcp snooping binding Use the ip dhcp snooping binding privileged EXEC command on the switch stack or on a standalone switch to configure the DHCP snooping binding database and to add binding entries to the database. Use the no form of this command to delete entries from the binding database.
  • Page 161: Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping binding Examples This example shows how to generate a DHCP binding configuration with an expiration time of 1000 seconds on a port in VLAN 1: Switch# ip dhcp snooping binding 0001.1234.1234 vlan 1 172.20.50.5 interface...
  • Page 162: Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping database ip dhcp snooping database Use the ip dhcp snooping database global configuration command on the switch stack or on a standalone switch to configure the DHCP snooping binding database agent or the binding file. Use the no form of this command to delete the agent or file specified by the URL, to reset the timeout value, or to reset the write-delay value.
  • Page 163: Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping database Usage Guidelines The DHCP snooping binding database can have up to 512 bindings. To ensure that the lease time in the database is accurate, we recommend that Network Time Protocol...
  • Page 164: Ip Dhcp Snooping Information Option

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option ip dhcp snooping information option Use the ip dhcp snooping information option global configuration command on the switch stack or on a standalone switch to enable DHCP option-82 data insertion. Use the no form of this command to disable DHCP option-82 data insertion.
  • Page 165: Ip Dhcp Snooping Information Option

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 3750 Switch Command Reference...
  • Page 166: Ip Dhcp Snooping Limit Rate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping limit rate ip dhcp snooping limit rate Use the ip dhcp snooping limit rate interface configuration command on the switch stack or on a standalone switch to configure the number of DHCP messages an interface can receive per second. Use the no form of this command to return to the default setting.
  • Page 167: Ip Dhcp Snooping Trust

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping trust ip dhcp snooping trust Use the ip dhcp snooping trust interface configuration command on the switch stack or on a standalone switch to configure a port as trusted for DHCP snooping purposes. Use the no form of this command to return to the default setting.
  • Page 168: Ip Dhcp Snooping Verify

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping verify ip dhcp snooping verify Use the ip dhcp snooping verify global configuration command on the switch stack or on a standalone switch to configure the switch to verify on an untrusted port that the source MAC address in a DHCP packet matches the client hardware address.
  • Page 169: Ip Dhcp Snooping Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping vlan ip dhcp snooping vlan Use the ip dhcp snooping vlan global configuration command on the switch stack or on a standalone switch to enable DHCP snooping on a VLAN. Use the no form of this command to disable DHCP snooping on a VLAN.
  • Page 170: Ip Igmp Filter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp filter ip igmp filter Use the ip igmp filter interface configuration command on the switch stack or on a standalone switch to control whether or not all hosts on a Layer 2 interface can join one or more IP multicast groups by applying an Internet Group Management Protocol (IGMP) profile to the interface.
  • Page 171: Ip Igmp Max-groups

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp max-groups ip igmp max-groups Use the ip igmp max-groups interface configuration command on the switch stack or on a standalone switch to set the maximum number of Internet Group Management Protocol (IGMP) groups that a Layer 2 interface can join or to configure the IGMP throttling action when the maximum number of entries is in the forwarding table.
  • Page 172 Displays the running configuration on the switch interface, including interface-id the maximum number of IGMP groups that an interface can join and the throttling action. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 173: Ip Igmp Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp profile ip igmp profile Use the ip igmp profile global configuration command on the switch stack or on a standalone switch to create an Internet Group Management Protocol (IGMP) profile and enter IGMP profile configuration mode.
  • Page 174: Ip Igmp Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp profile Related Commands Command Description ip igmp filter Applies the IGMP profile to the specified interface. show ip igmp profile Displays the characteristics of all IGMP profiles or the specified IGMP profile number.
  • Page 175: Ip Igmp Snooping

    (Optional) With mrouter, specify the multicast router learning method. cgmp Set the switch to learn multicast router ports by snooping on Cisco Group Management Protocol (CGMP) packets. pim-dvmrp Set the switch to learn multicast router ports by snooping on IGMP queries and Protocol-Independent Multicast-Distance Vector Multicast Routing Protocol (PIM-DVMRP) packets.
  • Page 176: Ip Igmp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping Defaults IGMP snooping is globally enabled on the switch. IGMP snooping is enabled on VLAN interfaces. IGMP immediate-leave processing is disabled. The default learning method is pim-dvmrp—to snoop IGMP queries and PIM-DVMRP packets.
  • Page 177 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping This example shows how to disable IGMP immediate-leave processing on VLAN 1: Switch(config)# no ip igmp snooping vlan 1 immediate-leave This example shows how to configure a port as a multicast router port:...
  • Page 178: Ip Igmp Snooping Report-suppression

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping report-suppression ip igmp snooping report-suppression Use the ip igmp snooping report-suppression global configuration command on the switch stack or on a standalone switch to enable Internet Group Management Protocol (IGMP) report suppression. Use the no form of this command to disable IGMP report suppression and forward all IGMP reports to multicast routers.
  • Page 179 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping report-suppression Related Commands Command Description ip igmp snooping Globally enables IGMP snooping. IGMP snooping must be globally enabled in order to be enabled on a VLAN. show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN.
  • Page 180: Ip Source Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip source binding ip source binding Use the ip source binding global configuration command on the switch stack or on a standalone switch to configure static IP source bindings on the switch. Use the no form of this command to delete static bindings.
  • Page 181 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip source binding Related Commands Command Description ip verify source Enables IP source guard on an interface. show ip source binding Displays the IP source bindings on the switch. show ip verify source Displays the IP source guard configuration on the switch or on a specific interface.
  • Page 182: Ip Ssh

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip ssh ip ssh Use the ip ssh global configuration command on the switch stack or on a standalone switch to configure the switch to run Secure Shell (SSH) Version 1 or SSH Version 2. This command is available only when your switch is running the cryptographic (encrypted) software image.
  • Page 183 Features > Secure Shell Commands. show ssh Displays the status of the SSH server. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Security Command Reference, Release 12.2 > Other Security Features >...
  • Page 184: Ip Verify Source

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip verify source ip verify source Use the ip verify source interface configuration command on the switch stack or on a standalone switch to enable IP source guard on an interface. Use the no form of this command to disable IP source guard.
  • Page 185: L2protocol-tunnel

    Layer 2 protocols on an access, trunk, or 802.1Q tunnel port, or a port channel. You can enable tunneling for Cisco Discovery Protocol (CDP), Spanning Tree Protocol (STP), or VLAN Trunking Protocol (VTP) packets. You can also enable point-to-point tunneling for Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol (LACP), or UniDirectional Link Detection (UDLD) packets.
  • Page 186 When protocol tunneling is enabled, protocol packets are encapsulated with a well-known Cisco multicast address for transmission across the network. When the packets reach their destination, the well-known MAC address is replaced by the Layer 2 protocol MAC address.
  • Page 187 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands l2protocol-tunnel Examples This example shows how to enable protocol tunneling for CDP packets and to configure the shutdown threshold as 50 packets per second: Switch(config-if)# l2protocol-tunnel cdp Switch(config-if)# l2protocol-tunnel shutdown-threshold cdp 50...
  • Page 188: L2protocol-tunnel Cos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands l2protocol-tunnel cos l2protocol-tunnel cos Use the l2protocol-tunnel cos global configuration command on the switch stack or on a standalone switch to configure class of service (CoS) value for all tunneled Layer 2 protocol packets. Use the no form of this command to return to the default setting.
  • Page 189: Lacp Port-priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command on the switch stack or on a standalone switch to configure the port priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
  • Page 190 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp port-priority Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp system-priority Configures the LACP system priority. show lacp [channel-group-number] Displays internal information for all channel groups or for internal the specified channel group.
  • Page 191: Lacp System-priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp system-priority lacp system-priority Use the lacp system-priority global configuration command on the switch stack or on a standalone switch to configure the system priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
  • Page 192 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp system-priority Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp port-priority Configures the LACP port priority. show lacp sys-id Displays the system identifier that is being used by LACP.
  • Page 193: Logging Event Power-inline-status

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands logging event power-inline-status logging event power-inline-status Use the logging event power-inline-status interface configuration command to enable the logging of Power over Ethernet (PoE) events. Use the no form of this command to disable the logging of PoE status events;...
  • Page 194: Logging File

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands logging file logging file Use the logging file global configuration command on the switch stack or on a standalone switch to set logging file parameters. Use the no form of this command to return to the default setting.
  • Page 195 Description show running-config Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 3750 Switch Command Reference 2-167 78-16181-03...
  • Page 196: Mac Access-group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-group mac access-group Use the mac access-group interface configuration command on the switch stack or on a standalone switch to apply a MAC access control list (ACL) to a Layer 2 interface. Use the no form of this command to remove all MAC ACLs or the specified MAC ACL from the interface.
  • Page 197 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-group Examples This example shows how to apply a MAC extended ACL named macacl2 to an interface: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# mac access-group macacl2 in You can verify your settings by entering the show mac access-group privileged EXEC command. You can see configured ACLs on the switch by entering the show access-lists privileged EXEC command.
  • Page 198: Mac Access-list Extended

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-list extended mac access-list extended Use the mac access-list extended global configuration command on the switch stack or on a standalone switch to create an access list based on MAC addresses for non-IP traffic. Using this command puts you in the extended MAC access list configuration mode.
  • Page 199 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-list extended Examples This example shows how to create a MAC named extended access list named mac1 and to enter extended MAC access list configuration mode: Switch(config)# mac access-list extended mac1...
  • Page 200: Mac Address-table Aging-time

    {0 | 10-1000000} [vlan vlan-id] no mac address-table aging-time {0 | 10-1000000} [vlan vlan-id] Note Beginning with Cisco IOS Release 12.1(19)EA1, the mac address-table aging-time command replaces the mac-address-table aging-time command (with the hyphen). Syntax Description This value disables aging. Static address entries are never aged or removed from the table.
  • Page 201 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table aging-time Related Commands Command Description show mac address-table aging-time Displays the MAC address table aging time for all VLANs or the specified VLAN. Catalyst 3750 Switch Command Reference 2-173 78-16181-03...
  • Page 202: Mac Address-table Notification

    [history-size value] | [interval value] no mac address-table notification [history-size | interval] Beginning with Cisco IOS Release 12.1(19)EA1, the mac address-table notification command replaces Note the mac-address-table notification command (with the hyphen).
  • Page 203 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table notification Examples This example shows how to enable the MAC address-table notification feature, set the interval time to 60 seconds, and set the history-size to 100 entries: Switch(config)# mac address-table notification...
  • Page 204: Mac Address-table Static

    [interface interface-id] Beginning with Cisco IOS Release 12.1(19)EA1, the mac address-table static command replaces the Note mac-address-table static command (with the hyphen).
  • Page 205: Mac Address-table Static Drop

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table static drop mac address-table static drop Use the mac address-table static drop global configuration command on the switch stack or on a standalone switch to enable unicast MAC address filtering and to configure the switch to drop traffic with a specific source or destination MAC address.
  • Page 206: Mac Address-table Static Drop

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table static drop Examples This example shows how to enable unicast MAC address filtering and to configure the switch to drop packets that have a source or destination address of c2f3.220a.12f4. When a packet is received in VLAN 4 with this MAC address as its source or destination, the packet is dropped: Switch(config)# mac address-table static c2f3.220a.12f4 vlan 4 drop...
  • Page 207: Macro Apply

    There are Cisco-default Smartports macros embedded in the switch software. You can display these macros and the commands they contain by using the show parser macro user EXEC command.
  • Page 208 Applying command...‘duplex auto’ %Error Unknown error. Applying command...‘speed nonegotiate’ This example shows how to display the Cisco-default cisco-desktop macro and how to apply the macro and set the access VLAN ID to 25 on an interface: Switch# show parser macro cisco-desktop...
  • Page 209 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro apply # Configure port as an edge network port spanning-tree portfast spanning-tree bpduguard enable -------------------------------------------------------------- Switch# Switch# configure terminal Switch(config)# interface gigabitethernet1/0/4 Switch(config-if)# macro apply cisco-desktop $AVID 25 Related Commands Command...
  • Page 210: Macro Description

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro description macro description Use the macro description interface configuration command on the switch stack or on a standalone switch to enter a description about which macros are applied to an interface. Use the no form of this command to remove the description.
  • Page 211: Macro Global

    There are Cisco-default Smartports macros embedded in the switch software. You can display these macros and the commands they contain by using the show parser macro user EXEC command.
  • Page 212 Cisco-default macro with the required values by using the parameter value keywords. The Cisco-default macros use the $ character to help identify required keywords. There is no restriction on using the $ character to define keywords when you create a macro.
  • Page 213: Macro Global Description

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro global Related Commands Command Description macro apply Applies a macro on an interface or applies and traces a macro on an interface. macro description Adds a description about the macros that are applied to an interface.
  • Page 214: Macro Global Description

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro global description macro global description Use the macro global description global configuration command on the switch stack or on a standalone switch to enter a description about the macros that are applied to the switch. Use the no form of this command to remove the description.
  • Page 215: Macro Name

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro name macro name Use the macro name global configuration command on the switch stack or on a standalone switch to create a configuration macro. Use the no form of this command to delete the macro definition.
  • Page 216 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro name Examples This example shows how to create a macro that defines the duplex mode and speed: Switch(config)# macro name duplex Enter macro commands one per line. End with the character ‘@’.
  • Page 217: Match (access-map Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands match (access-map configuration) match (access-map configuration) Use the match access-map configuration command on the switch stack or on a standalone switch to set the VLAN map to match packets against one or more access lists. Use the no form of this command to remove the match parameters.
  • Page 218 Specifies the action to be taken if the packet matches an entry in an access control list (ACL). 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.
  • Page 219: Match (class-map Configuration)

    (counts as one entry), a list of ports separated by a space (each port counts as an entry), or a range of ports separated by a hyphen (counts as two entries). This keyword is available only in Cisco IOS Release 12.2(25)SE or later.
  • Page 220 ? or the match ip precedence ? command to see the command-line help strings. In Cisco IOS Release 12.2(25)SE or later, use the input-interface interface-id-list keyword when you are configuring an interface-level class map in a hierarchical policy map. For the interface-id-list, you can specify up to six entries.
  • Page 221: Mdix Auto

    10/100/1000BASE-T/TX small form-factor pluggable (SFP)-module interfaces. It is not supported on 1000BASE-SX or -LX SFP module interfaces. In releases earlier than Cisco IOS Release 12.2(18)SE, the default setting is disabled. Examples This example shows how to enable Auto-MDIX on a port:...
  • Page 222: Mdix Auto

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mdix auto Related Commands Command Description show controllers Displays general information about internal registers of an interface, ethernet-controller including the operational state of Auto-MDIX. interface-id phy Catalyst 3750 Switch Command Reference 2-194...
  • Page 223: Mls Qos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos mls qos Use the mls qos global configuration command on the switch stack or on a standalone switch to enable quality of service (QoS) for the entire switch. When the mls qos command is entered, QoS is enabled with the default parameters on all ports in the system.
  • Page 224 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos Related Commands Command Description show mls qos Displays QoS information. Catalyst 3750 Switch Command Reference 2-196 78-16181-03...
  • Page 225: Mls Qos Aggregate-policer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos aggregate-policer mls qos aggregate-policer Use the mls qos aggregate-policer global configuration command on the switch stack or on a standalone switch to define policer parameters, which can be shared by multiple classes within the same policy map.
  • Page 226 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos aggregate-policer You cannot delete an aggregate policer if it is being used in a policy map. You must first use the no police aggregate aggregate-policer-name policy-map class configuration command to delete the aggregate policer from all policy maps before using the no mls qos aggregate-policer aggregate-policer-name command.
  • Page 227: Mls Qos Cos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos cos mls qos cos Use the mls qos cos interface configuration command on the switch stack or on a standalone switch to define the default class of service (CoS) value of a port or to assign the default CoS to all incoming packets on the port.
  • Page 228 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos cos This example shows how to assign all the packets entering a port to the default port CoS value of 4 on a port: Switch(config)# interface gigabitethernet2/0/1 Switch(config-if)# mls qos cos 4 Switch(config-if)# mls qos cos override You can verify your settings by entering the show mls qos interface privileged EXEC command.
  • Page 229: Mls Qos Dscp-mutation

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos dscp-mutation mls qos dscp-mutation Use the mls qos dscp-mutation interface configuration command on the switch stack or on a standalone switch to apply a Differentiated Services Code Point (DSCP)-to-DSCP-mutation map to a DSCP-trusted port.
  • Page 230 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos dscp-mutation This example show how to remove the DSCP-to-DSCP-mutation map name dscpmutation1 from the port and to reset the map to the default: Switch(config-if)# no mls qos dscp-mutation dscpmutation1 You can verify your settings by entering the show mls qos maps privileged EXEC command.
  • Page 231: Mls Qos Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map mls qos map Use the mls qos map global configuration command on the switch stack or on a standalone switch to define the class of service (CoS)-to-Differentiated Services Code Point (DSCP) map, DSCP-to-CoS map, the DSCP-to-DSCP-mutation map, the IP-precedence-to-DSCP map, and the policed-DSCP map.
  • Page 232 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map Defaults Table 2-6 shows the default CoS-to-DSCP map: Table 2-6 Default CoS-to-DSCP Map CoS Value DSCP Value Table 2-7 shows the default DSCP-to-CoS map: Table 2-7 Default DSCP-to-CoS Map...
  • Page 233 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map The default DSCP-to-DSCP-mutation map is a null map, which maps an incoming DSCP value to the same DSCP value. The default policed-DSCP map is a null map, which maps an incoming DSCP value to the same DSCP value.
  • Page 234 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map Related Commands Command Description mls qos dscp-mutation Applies a DSCP-to-DSCP-mutation map to a DSCP-trusted port. show mls qos maps Displays quality of service (QoS) mapping information. Catalyst 3750 Switch Command Reference...
  • Page 235: Mls Qos Queue-set Output Buffers

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output buffers mls qos queue-set output buffers Use the mls qos queue-set output buffers global configuration command on the switch stack or on a standalone switch to allocate buffers to a queue-set (four egress queues per port). Use the no form of this command to return to the default setting.
  • Page 236 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output buffers Examples This example shows how to map a port to queue-set 2. It allocates 40 percent of the buffer space to egress queue 1 and 20 percent to egress queues 2, 3, and 4:...
  • Page 237: Mls Qos Queue-set Output Threshold

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output threshold mls qos queue-set output threshold Use the mls qos queue-set output threshold global configuration command on the switch stack or on a standalone switch to configure the weighted tail-drop (WTD) thresholds, to guarantee the availability of buffers, and to configure the maximum memory allocation to a queue-set (four egress queues per port).
  • Page 238 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output threshold Usage Guidelines Use the mls qos queue-set output qset-id buffers global configuration command to allocate a fixed number of buffers to the four queues in a queue-set.
  • Page 239: Mls Qos Rewrite Ip Dscp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos rewrite ip dscp mls qos rewrite ip dscp Use the mls qos rewrite ip dscp global configuration command on the switch stack or on a standalone switch to configure the switch to change (rewrite) the Differentiated Services Code Point (DSCP) field of an incoming IP packet.
  • Page 240: Mls Qos Rewrite Ip Dscp

    | Displays the DSCP transparency setting. For syntax information, select include rewrite Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 241: Mls Qos Srr-queue Input Bandwidth

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input bandwidth mls qos srr-queue input bandwidth Use the mls qos srr-queue input bandwidth global configuration command on the switch stack or on a standalone switch to assign shaped round robin (SRR) weights to an ingress queue. The ratio of the weights is the ratio of the frequency in which the SRR scheduler dequeues packets from each queue.
  • Page 242 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input bandwidth This example shows how to assign the ingress bandwidths for the queues in the stack. Queue 1 is the priority queue with 10 percent of the bandwidth allocated to it. The bandwidth ratio allocated to queues 1 and 2 is 4/(4+4).
  • Page 243: Mls Qos Srr-queue Input Buffers

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input buffers mls qos srr-queue input buffers Use the mls qos srr-queue input buffers global configuration command on the switch stack or on a standalone switch to allocate the buffers between the ingress queues. Use the no form of this command to return to the default setting.
  • Page 244 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input buffers Command Description mls qos srr-queue input threshold Assigns weighted tail-drop (WTD) threshold percentages to an ingress queue. show mls qos input-queue Displays ingress queue settings. show mls qos interface buffers Displays quality of service (QoS) information.
  • Page 245: Mls Qos Srr-queue Input Cos-map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input cos-map mls qos srr-queue input cos-map Use the mls qos srr-queue input cos-map global configuration command on the switch stack or on a standalone switch to map class of service (CoS) values to an ingress queue or to map CoS values to a queue and to a threshold ID.
  • Page 246 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input cos-map You can map each CoS value to a different queue and threshold combination, allowing the frame to follow different behavior. Examples This example shows how to map CoS values 0 to 3 to ingress queue 1 and to threshold ID 1 with a drop threshold of 50 percent.
  • Page 247: Mls Qos Srr-queue Input Dscp-map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input dscp-map mls qos srr-queue input dscp-map Use the mls qos srr-queue input dscp-map global configuration command on the switch stack or on a standalone switch to map Differentiated Services Code Point (DSCP) values to an ingress queue or to map DSCP values to a queue and to a threshold ID.
  • Page 248 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input dscp-map You can map each DSCP value to a different queue and threshold combination, allowing the frame to follow different behavior. You can map up to eight DSCP values per command.
  • Page 249: Mls Qos Srr-queue Input Priority-queue

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input priority-queue mls qos srr-queue input priority-queue Use the mls qos srr-queue input priority-queue global configuration command on the switch stack or on a standalone switch to configure the ingress priority queue and to guarantee bandwidth on the stack ring if the ring is congested.
  • Page 250 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input priority-queue Switch(config)# mls qos srr-queue input bandwidth 4 4 You can verify your settings by entering the show mls qos interface [interface-id] queueing or the show mls qos input-queue privileged EXEC command.
  • Page 251: Mls Qos Srr-queue Input Threshold

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input threshold mls qos srr-queue input threshold Use the mls qos srr-queue input threshold global configuration command on the switch stack or on a standalone switch to assign weighted tail-drop (WTD) threshold percentages to an ingress queue. Use the no form of this command to return to the default setting.
  • Page 252 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input threshold Related Commands Command Description 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.
  • Page 253: Mls Qos Srr-queue Output Cos-map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output cos-map mls qos srr-queue output cos-map Use the mls qos srr-queue output cos-map global configuration command on the switch stack or on a standalone switch to map class of service (CoS) values to an egress queue or to map CoS values to a queue and to a threshold ID.
  • Page 254 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output cos-map The egress queue default settings are suitable for most situations. You should change them only when Note you have a thorough understanding of the egress queues and if these settings do not meet your quality of service (QoS) solution.
  • Page 255: Mls Qos Srr-queue Output Dscp-map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output dscp-map mls qos srr-queue output dscp-map Use the mls qos srr-queue output dscp-map global configuration command on the switch stack or on a standalone switch to map Differentiated Services Code Point (DSCP) values to an egress or to map DSCP values to a queue and to a threshold ID.
  • Page 256 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output dscp-map Usage Guidelines The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. The egress queue default settings are suitable for most situations. You should change them only when...
  • Page 257: Mls Qos Trust

    12.2(20)SE The usage guidelines were revised to describe how the switch sets the trust state when a Cisco IP Phone is connected to a switch or routed port. Usage Guidelines Packets entering a quality of service (QoS) domain are classified at the edge of the domain. When the packets are classified at the edge, the switch port within the QoS domain can be configured to one of the trusted states because there is no need to classify the packets at every switch within the domain.
  • Page 258 The trusted boundary feature prevents security problems if users disconnect their PCs from networked Cisco IP Phones and connect them to the switch port to take advantage of trusted CoS or DSCP settings. You must globally enable the Cisco Discovery Protocol (CDP) on the switch and on the port connected to the IP phone.
  • Page 259: Mls Qos Vlan-based

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos vlan-based mls qos vlan-based Use the mls qos vlan-based interface configuration command on the switch stack or on a standalone switch to enable VLAN-based quality of service (QoS) on the physical port. Use the no form of this command to disable this feature.
  • Page 260: Monitor Session

    Switched Port Analyzer (SPAN) session or Remote SPAN (RSPAN) source or destination session, to enable ingress traffic on the destination port for a network security device (such as a Cisco IDS Sensor Appliance), to add or delete interfaces or VLANs to or from an existing SPAN or RSPAN session, and to limit (filter) SPAN source traffic to specific VLANs.
  • Page 261 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session untagged vlan vlan-id Specify ingress forwarding using untagged encapsulation with the specified VLAN as the default VLAN for ingress traffic vlan vlan-id When used with only the ingress keyword, set default VLAN for ingress traffic.
  • Page 262 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session You can set a combined maximum of two local SPAN sessions and RSPAN source sessions. You can have a total of 66 SPAN and RSPAN sessions on a switch or switch stack.
  • Page 263 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session When you enter monitor session session_number destination interface interface-id encapsulation • replicate ingress, egress encapsulation replicates the source interface encapsulation; ingress encapsulation depends on the keywords that follow—dot1q, isl, or untagged. (This applies to local SPAN only;...
  • Page 264 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session Related Commands Command Description remote-span Configures an RSPAN VLAN in vlan configuration mode. show monitor Displays SPAN and RSPAN session information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 265: Mvr (global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) mvr (global configuration) Use the mvr global configuration command without keywords on the switch stack or on a standalone switch to enable the multicast VLAN registration (MVR) feature on the switch. Use the command with...
  • Page 266 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) Command Modes Global configuration Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines A maximum of 256 MVR multicast groups can be configured on a switch. Use the mvr group command to statically set up all the IP multicast addresses that will take part in MVR.
  • Page 267 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) Use the show mvr members privileged EXEC command to display the IP multicast group addresses configured on the switch. This example shows how to set the maximum query response time as one second (10 tenths):...
  • Page 268: Mvr (interface Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (interface configuration) mvr (interface configuration) Use the mvr interface configuration command on the switch stack or on a standalone switch to configure a Layer 2 port as a multicast VLAN registration (MVR) receiver or source port, to set the Immediate Leave feature, and to statically assign a port to an IP multicast VLAN and IP address.
  • Page 269 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (interface configuration) Usage Guidelines Configure a port as a source port if that port should be able to both send and receive multicast data bound for the configured multicast groups. Multicast data is received on all ports configured as source ports.
  • Page 270 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (interface configuration) This example shows how to disable Immediate Leave on a port: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# no mvr immediate This example shows how to add a port on VLAN 1 as a static member of IP multicast group 228.1.23.4: Switch(config)# interface gigabitethernet1/0/2 Switch(config-if)# mvr vlan1 group 230.1.23.4...
  • Page 271: Pagp Learn-method

    PAgP interoperability with devices that only support address learning by physical ports, such as the Catalyst 1900 switch. When the link partner to the Catalyst 3750 switch is a physical learner, we recommend that you configure the switch as a physical-port learner by using the pagp learn-method physical-port interface configuration command and to set the load-distribution method based on the source MAC address by using the port-channel load-balance src-mac global configuration command.
  • Page 272 Displays PAgP channel-group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. Catalyst 3750 Switch Command Reference 2-244...
  • Page 273: Pagp Port-priority

    PAgP interoperability with devices that only support address learning by physical ports, such as the Catalyst 1900 switch. When the link partner to the Catalyst 3750 switch is a physical learner, we recommend that you configure the switch as a physical-port learner by using the pagp learn-method physical-port interface configuration command and to set the load-distribution method based on the source MAC address by using the port-channel load-balance src-mac global configuration command.
  • Page 274 Displays PAgP channel-group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. Catalyst 3750 Switch Command Reference 2-246...
  • Page 275: Permit (arp Access-list Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (ARP access-list configuration) permit (ARP access-list configuration) Use the permit Address Resolution Protocol (ARP) access-list configuration command on the switch stack or on a standalone switch to permit an ARP packet based on matches against the DHCP bindings.
  • Page 276 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (ARP access-list configuration) Command History Release Modification 12.2(20)SE This command was introduced. Usage Guidelines You can add permit clauses to forward ARP packets based on some matching criteria. 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:...
  • Page 277: Permit (mac Access-list Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (MAC access-list configuration) permit (MAC access-list configuration) Use the permit MAC access-list configuration command on the switch stack or on a standalone switch to allow non-IP traffic to be forwarded if the conditions are matched. Use the no form of this command to remove a permit condition from the extended MAC access list.
  • Page 278 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (MAC access-list configuration) lsap lsap-number mask (Optional) Use the LSAP number (0 to 65535) of a packet with 802.2 encapsulation to identify the protocol of the packet. The mask is a mask of don’t care bits applied to the LSAP number before testing for a match.
  • Page 279 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (MAC access-list configuration) After an access control entry (ACE) is added to an access control list, an implied deny-any-any condition exists at the end of the list. That is, if there are no matches, the packets are denied. However, before the first ACE is added, the list permits all packets.
  • Page 280: Police

    This command was introduced. Usage Guidelines In Cisco IOS Release 12.2(25)SE or later, when configuring hierarchical policy maps, you can only use the police policy-map command in a secondary interface-level policy map. The port ASIC device, which controls more than one physical port, supports 256 policers (255 policers plus 1 no policer).
  • Page 281 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police Policy maps that have the police aggregate command fail when applied to a 10-Gigabit Ethernet interface. Examples This example shows how to configure a policer that drops packets if traffic exceeds 1 Mbps average rate with a burst size of 20 KB.
  • Page 282: Police Aggregate

    To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command. Policy maps that use the police aggregate command fail when applied to a 10-Gigabit Ethernet interface. In Cisco IOS Release 12.2(25)SE or later, you cannot configure aggregate policers in hierarchical policy maps. Examples...
  • Page 283 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police aggregate Switch(config-pmap-c)# set dscp 10 Switch(config-pmap-c)# police aggregate agg_policer1 Switch(config-pmap-c)# exit Switch(config-pmap)# class class3 Switch(config-pmap-c)# trust dscp Switch(config-pmap-c)# police aggregate agg_policer2 Switch(config-pmap-c)# exit You can verify your settings by entering the show mls qos aggregate-policer privileged EXEC command.
  • Page 284: Policy-map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands policy-map policy-map Use the policy-map global configuration command on the switch stack or on a standalone switch to create or modify a policy map that can be attached to multiple physical ports or switch virtual interfaces (SVIs) and to enter policy-map configuration mode.
  • Page 285 “Policing on Physical Ports” section in the “Configuring QoS” chapter of the software configuration guide for this release. In Cisco IOS Release 12.2(25)SE or later, you can apply a nonhierarchical policy maps to physical ports or to SVIs. A nonhierarchical policy map is the same as a port-based policy maps in software releases earlier than Cisco IOS Release 12.2(25)SE.
  • Page 286 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands policy-map This example shows how to create a hierarchical policy map and attach it to an SVI: Switch(config)# class-map cm-non-int Switch(config-cmap)# match access-group 101 Switch(config-cmap)# exit Switch(config)# class-map cm-non-int-2 Switch(config-cmap)# match access-group 102...
  • Page 287: Port-channel Load-balance

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands port-channel load-balance port-channel load-balance Use the port-channel load-balance global configuration command on the switch stack or on a standalone switch to set the load-distribution method among the ports in the EtherChannel. Use the no form of this command to return to the default setting.
  • Page 288 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands port-channel load-balance Related Commands Command Description interface port-channel Accesses or creates the port channel. show etherchannel Displays EtherChannel information for a channel. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 289: Power Inline

    Use the max max-wattage option to disallow higher-power powered devices. With this configuration, when the powered device sends Cisco Discovery Protocol (CDP) messages requesting more power than the maximum wattage, the switch removes power from the port. If the powered-device IEEE class maximum is greater than the maximum wattage, the switch does not power the device.
  • Page 290: Power Inline

    If a port has a Cisco powered device connected to it, you should not use the power inline never command to configure the port. A false link-up can occur on the port, placing it into an error-disabled state.
  • Page 291 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands power inline This example shows how to disable powered-device detection and to not power a PoE port: Switch(config)# interface fastethernet1/0/2 Switch(config-if)# power inline never You can verify your settings by entering the show power inline user EXEC command.
  • Page 292: Priority-queue

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands priority-queue priority-queue Use the priority-queue interface configuration command to enable the egress expedite queue on a port. Use the no form of this command to return to the default setting. priority-queue out...
  • Page 293 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands priority-queue This example shows how to disable the egress expedite queue after the SRR shaped and shared weights are configured. The shaped mode overrides the shared mode. Switch(config)# interface gigabitethernet1/0/2 Switch(config-if)# srr-queue bandwidth shape 25 0 0 0...
  • Page 294: Private-vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan private-vlan Use the private-vlan VLAN configuration command on the switch stack or on a standalone switch to configure private VLANs and to configure the association between private-VLAN primary and secondary VLANs. Use the no form of this command to return the VLAN to normal VLAN configuration.
  • Page 295 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan You can associate a secondary (isolated or community) VLAN with only one primary VLAN. A primary VLAN can have one isolated VLAN and multiple community VLANs associated with it. A secondary VLAN cannot be configured as a primary VLAN.
  • Page 296 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan Switch(config-vlan)# exit Switch(config)# vlan 20 Switch(config-vlan)# private-vlan association 501-503 Switch(config-vlan)# end You can verify your setting by entering the show vlan private-vlan or show interfaces status privileged EXEC command. Related Commands...
  • Page 297: Private-vlan Mapping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan mapping private-vlan mapping Use the private-vlan mapping interface configuration command on a switch virtual interface (SVI) on the switch stack or on a standalone switch to create a mapping between a private-VLAN primary and secondary VLANs so that both VLANs share the same primary VLAN SVI.
  • Page 298 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan mapping A secondary VLAN can be mapped to only one primary SVI. IF you configure the primary VLAN as a secondary VLAN, all SVIs specified in this command are brought down.
  • Page 299: Queue-set

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands queue-set queue-set Use the queue-set interface configuration command on the switch stack or on a standalone switch to map a port to a queue-set. Use the no form of this command to return to the default setting.
  • Page 300: Rcommand

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands rcommand rcommand Use the rcommand user EXEC command on the switch stack or on the cluster command switch to start a Telnet session and to execute commands on a cluster member switch from the cluster command switch or the switch stack.
  • Page 301 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands rcommand This command will not work if the vty lines of the cluster command switch have access-class configurations. You are not prompted for a password because the cluster member switches inherited the password of the cluster command switch when they joined the cluster.
  • Page 302: Reload

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reload reload Use the reload privileged EXEC command to reload the stack member and to put a configuration change into effect. reload [LINE | at | cancel | in | slot stack-member-number | standby-cpu]...
  • Page 303 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reload Related Commands Command Description rcommand Accesses a specific stack member. switch priority Changes the stack member priority value. switch renumber Changes the stack member number. show switch Displays information about the switch stack and its stack members.
  • Page 304: Remote Command

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote command remote command Use the remote command privileged EXEC command to monitor all or specified stack members. remote command {all | stack-member-number} LINE Syntax Description stack-member-number Specify the stack member. The range is 1 to 9.
  • Page 305: Remote-span

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command on the switch stack or on a standalone switch to configure a VLAN as a Remote Switched Port Analyzer (RSPAN) VLAN. Use the no form of this command to remove the RSPAN designation from the VLAN.
  • Page 306 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote-span This example shows how to remove the RSPAN feature from a VLAN. Switch(config)# vlan 901 Switch(config-vlan)# no remote-span You can verify your settings by entering the show vlan remote-span user EXEC command.
  • Page 307: Renew Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands renew ip dhcp snooping database renew ip dhcp snooping database Use the renew ip dhcp snooping database privileged EXEC command on the switch stack or on a standalone switch to renew the DHCP snooping binding database.
  • Page 308: Renew Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands renew ip dhcp snooping database Related Commands Command Description ip dhcp snooping Enables DHCP snooping on a VLAN. ip dhcp snooping binding Configures the DHCP snooping binding database. show ip dhcp snooping database Displays the status of the DHCP snooping database agent.
  • Page 309: Rmon Collection Stats

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands rmon collection stats rmon collection stats Use the rmon collection stats interface configuration command on the switch stack or on a standalone switch to collect Ethernet group statistics, which include usage statistics about broadcast and multicast packets, and error statistics about cyclic redundancy check (CRC) alignment errors and collisions.
  • Page 310: Sdm Prefer

    Use a template to provide maximum system usage for unicast routing or for VLAN configuration or to change an aggregator template (Catalyst 3750-12S only) to a desktop template. Use the no form of this command to return to the default template.
  • Page 311: Sdm Prefer

    • If you add a Catalyst 3750-12S switch that is running the aggregator template to a stack that has a desktop switch as the stack master, the stack operates with the desktop template selected on the stack master. This could cause configuration losses on the Catalyst 3750-12S stack member if the number of TCAM entries on it exceeds desktop template sizes.
  • Page 312 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands sdm prefer Table 2-15 Approximate Number of Feature Resources Allowed by Each Template (continued) Desktop Templates Aggregator Templates Resource Default Routing VLAN Default Routing VLAN Security ACEs Layer 2 VLANs Examples This example shows how to configure the routing template on a desktop switch:...
  • Page 313: Service Password-recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service password-recovery service password-recovery Use the service password-recovery global configuration command on the switch stack or on a standalone switch to enable the password-recovery mechanism (the default). This mechanism allows an end user with physical access to the switch to hold down the Mode button and interrupt the boot process while the switch is powering up and to assign a new password.
  • Page 314 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service password-recovery If you use the no service password-recovery command to control end user access to passwords, we Note recommend that you save a copy of the config file in a location away from the switch in case the end user uses the password recovery procedure and sets the system back to default values.
  • Page 315: Service-policy

    In software releases earlier than Cisco IOS Release 12.2(25)SE, you can apply a policy map only to the input of a physical port. In Cisco IOS Release 12.2(25)SE or later, you can apply a policy map to the input of a physical port or an SVI.
  • Page 316 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service-policy Examples This example shows how to apply plcmap1 to an physical ingress port: Switch(config)# interface gigabitethernet2/0/1 Switch(config-if)# service-policy input plcmap1 This example shows how to remove plcmap2 from a physical port:...
  • Page 317: Session

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands session session Use the session privileged EXEC command on the stack master to access a specific stack member. session stack-member-number Syntax Description stack-member-number Specify the stack member number. The range is 1 to 9.
  • Page 318: Set

    Usage Guidelines In Cisco IOS Release 12.2(25)SE or later, if you have used the set ip dscp command, the switch changes this command to set dscp in the switch configuration. If you enter the set ip dscp command, this setting appears as set dscp in the switch configuration.
  • Page 319 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands Examples This example shows how to assign DSCP 10 to all FTP traffic without any policers: Switch(config)# policy-map policy_ftp Switch(config-pmap)# class ftp_class Switch(config-pmap-c)# set dscp 10 Switch(config-pmap)# exit You can verify your settings by entering the show policy-map privileged EXEC command.
  • Page 320: Setup

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup setup Use the setup privileged EXEC command to configure the switch with its initial configuration. setup Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History...
  • Page 321 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup Configuring global parameters: Enter host name [Switch]: host-name The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration.
  • Page 322 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup cluster enable cluster-name Use this configuration? [yes/no]: yes [0] Go to the IOS command prompt without saving this config. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit.
  • Page 323: Setup Express

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup express setup express Use the setup express global configuration command to enable Express Setup mode on the switch stack or on a standalone switch. Use the no form of this command to disable Express Setup mode.
  • Page 324 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup express Examples This example shows how to enable Express Setup mode: Switch(config)# setup express You can verify that Express Setup mode is enabled by pressing the Mode button: On an unconfigured switch, the LEDs above the Mode button turn solid green after 3 seconds.
  • Page 325: Show Access-lists

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show access-lists show access-lists Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured on the switch. show access-lists [name | number | hardware counters | ipc] [ | {begin | exclude | include}...
  • Page 326 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show access-lists Standard IP access list videowizard_10-10-10-10 10 permit 10.10.10.10 Extended IP access list 121 10 permit ahp host 10.10.10.10 host 20.20.10.10 precedence routine Extended IP access list CMP-NAT-ACL Dynamic Cluster-HSRP deny ip any any 10 deny ip any host 19.19.11.11...
  • Page 327 Commands. ip access list Configures a named IP access list on the switch. 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 Configures a named or numbered MAC access list on the switch.
  • Page 328: Show Archive Status

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show archive status show archive status Use the show archive status privileged EXEC command to display the status of a new image being downloaded to a switch with the HTTP or TFTP protocol.
  • Page 329 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show archive status Related Commands Command Description archive download-sw Downloads a new image from a TFTP server to the switch. Catalyst 3750 Switch Command Reference 2-301 78-16181-03...
  • Page 330: Show Arp Access-list

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show arp access-list show arp access-list Use the show arp access-list user EXEC command to display detailed information about Address Resolution Protocol (ARP) access lists. show arp access-list [acl-name] [ | {begin | exclude | include} expression] This command is available only if your switch is running the enhanced multilayer image (EMI).
  • Page 331: Show Auto Qos

    In releases earlier than Cisco IOS Release 12.2(20)SE, the show auto qos [interface [interface-id]] command output shows the initial generated auto-QoS configuration. In Cisco IOS Release 12.2(20)SE or later, the show auto qos command output shows only the auto-QoS command entered on each interface. The show auto qos interface interface-id command output shows the auto-QoS command entered on a specific interface.
  • Page 332: Show Auto Qos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos Examples This is an example of output from the show auto qos command after the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered: Switch> show auto qos...
  • Page 333 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos mls qos queue-set output 1 threshold 3 75 150 100 300 mls qos queue-set output 1 threshold 4 50 100 75 400 mls qos queue-set output 2 threshold 1 100 100 100 100...
  • Page 334 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos This is an example of output from the show auto qos interface interface-id command when the auto qos voip cisco-phone interface configuration command is entered: Switch> show auto qos interface fastethernet1/0/2...
  • Page 335: Show Boot

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show boot show boot Use the show boot privileged EXEC command to display the settings of the boot environment variables. show boot [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 336: Show Boot

    VM mode, reboots, and joins the switch stack. NVRAM/Config file buffer size Displays the buffer size that Cisco IOS uses to hold a copy of the configuration file in memory. The configuration file cannot be larger than the buffer size allocation.
  • Page 337: Show Cable-diagnostics Tdr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr show cable-diagnostics tdr Use the show cable-diagnostics tdr privileged EXEC command to display the Time Domain Reflector (TDR) results. show cable-diagnostics tdr interface interface-id [ | {begin | exclude | include} expression]...
  • Page 338 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr This is an example of output from the show cable-diagnostics tdr interface interface-id command on a Catalyst 3750G-24PS or 3750G-48PS switch: Switch# show cable-diagnostics tdr interface gigabitethernet1/0/2 TDR test last run on: March 01 20:15:40...
  • Page 339 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr Related Commands Command Description test cable-diagnostics tdr Enables and runs TDR on an interface. Catalyst 3750 Switch Command Reference 2-311 78-16181-03...
  • Page 340: Show Class-map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show class-map show class-map Use the show class-map user EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic. show class-map [class-map-name] [ | {begin | exclude | include} expression]...
  • Page 341: Show Cluster

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster show cluster Use the show cluster user EXEC command to display the cluster status and a summary of the cluster to which the switch belongs. This command can be entered on the cluster command switch and cluster member switches.
  • Page 342 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster This is an example of output when the show cluster command is entered on a cluster member switch: Switch1> show cluster Member switch for cluster “hapuna” Member number: Management IP address: 192.192.192.192...
  • Page 343: Show Cluster Candidates

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster candidates show cluster candidates Use the show cluster candidates privileged EXEC command on a switch stack or on a cluster command switch to display a list of candidate switches. show cluster candidates [detail | mac-address H.H.H.] [ | {begin | exclude | include} expression]...
  • Page 344 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster candidates This is an example of output from the show cluster candidates command that uses the MAC address of a cluster member switch directly connected to the cluster command switch: Switch>...
  • Page 345: Show Cluster Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster members show cluster members Use the show cluster members privileged EXEC command on a switch stack or on a cluster command switch to display information about the cluster members. show cluster members [n | detail] [ | {begin | exclude | include} expression] Syntax Description (Optional) Number that identifies a cluster member.
  • Page 346: Show Cluster Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster members This is an example of output from the show cluster members for cluster member 3: Switch# show cluster members 3 Device 'SanJuan2' with member number 3 Device type: cisco WS-C3750-12T MAC address: 0002.4b29.4400...
  • Page 347: Show Controllers Cpu-interface

    12.1(11)AX This command was introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
  • Page 348 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers cpu-interface Supervisor ASIC receive-queue parameters ---------------------------------------- queue 0 maxrecevsize 5EE pakhead 1419A20 paktail 13EAED4 queue 1 maxrecevsize 5EE pakhead 15828E0 paktail 157FBFC queue 2 maxrecevsize 5EE pakhead 1470D40 paktail 1470FE4 queue 3 maxrecevsize 5EE pakhead 19CDDD0 paktail 19D02C8 <output truncated>...
  • Page 349: Show Controllers Ethernet-controller

    This display without keywords provides traffic statistics, basically the RMON statistics for all interfaces or for the specified interface. When you enter the phy or port-asic keywords, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.
  • Page 350 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Examples This is an example of output from the show controllers ethernet-controller command for an interface. Table 2-18 describes the Transmit fields, and Table 2-19 describes the Receive fields.
  • Page 351 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-18 Transmit Field Descriptions (continued) Field Description 5 collision frames The number of frames that are successfully sent on an interface after five collisions occur. 6 collision frames The number of frames that are successfully sent on an interface after six collisions occur.
  • Page 352 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-19 Receive Field Descriptions (continued) Field Description Unicast bytes The total amount of memory (in bytes) used by unicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits.
  • Page 353 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-19 Receive Field Descriptions (continued) Field Description System FCS error frames The total number of frames received on an interface that have a valid length (in bytes) but that do not have the correct FCS values.
  • Page 354 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller XENPAK Serial EEPROM Contents: Non-Volatile Register (NVR) Fields XENPAK MSA Version supported :0x15 NVR Size in bytes :0x100 Number of bytes used :0xD0 Basic Field Address :0xB Customer Field Address...
  • Page 355 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller This is an example of output from the show controllers ethernet-controller port-asic configuration command: Switch# show controllers ethernet-controller port-asic configuration ======================================================================== Switch 4, PortASIC 0 Registers ------------------------------------------------------------------------ DeviceType : 000101BC...
  • Page 356 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller 0 RxQ-3, wt-0 enqueue frames 0 RxQ-3, wt-0 drop frames 0 RxQ-3, wt-1 enqueue frames 0 RxQ-3, wt-1 drop frames 0 RxQ-3, wt-2 enqueue frames 0 RxQ-3, wt-2 drop frames...
  • Page 357: Show Controllers Power Inline

    This command was introduced. Usage Guidelines For the Catalyst 3750-48PS switches, the instance range is 0 to 11. For the Catalyst 3750-24PS switches, the instance range is 0 to 5. For the Catalyst 3750G-48PS switches, the instance range is 0 to 2. For instances other than 0 to 2, the switches provides no output.
  • Page 358: Show Controllers Power Inline

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers power inline Examples This is an example of output from the show controllers power inline command on a switch other than a Catalyst 3750G-48PS or 3750G-24PS switch: Switch> show controllers power inline...
  • Page 359: Show Controllers Tcam

    The asic [number] keywords were added. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
  • Page 360 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers tcam HRR0: 00000000_E000CAFC HRR1: 00000000_00000000 HRR2: 00000000_00000000 HRR3: 00000000_00000000 HRR4: 00000000_00000000 HRR5: 00000000_00000000 HRR6: 00000000_00000000 HRR7: 00000000_00000000 <output truncated> GMR31: FF_FFFFFFFF_FFFFFFFF GMR32: FF_FFFFFFFF_FFFFFFFF GMR33: FF_FFFFFFFF_FFFFFFFF ============================================================================= TCAM related PortASIC 1 registers...
  • Page 361: Show Controllers Utilization

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers utilization show controllers utilization Use the show controllers utilization user EXEC command to display bandwidth utilization on the switch or specific ports. show controllers [interface-id] utilization [ | {begin | exclude | include} expression]...
  • Page 362: Show Controllers Utilization

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers utilization Table 2-20 show controllers utilization Field Descriptions Field Description Receive Bandwidth Percentage Displays the received bandwidth usage of the switch, which is the Utilization sum of the received traffic on all the ports divided by the switch receive capacity.
  • Page 363: Show Dot1q-tunnel

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1q-tunnel show dot1q-tunnel Use the show dot1q-tunnel user EXEC command to display information about 802.1Q tunnel ports. show dot1q-tunnel [interface interface-id] [ | {begin | exclude | include} expression] Syntax Description interface interface-id (Optional) Specify the interface for which to display 802.1Q tunneling...
  • Page 364: Show Dot1x

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x show dot1x Use the show dot1x privileged EXEC command to display 802.1x statistics, administrative status, and operational status for the switch or for the specified port. show dot1x [all | interface interface-id | statistics interface interface-id] [ | {begin | exclude |...
  • Page 365: Show Dot1x

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x PortStatus = UNAUTHORIZED MaxReq HostMode = Single Port Control = Auto QuietPeriod = 60 Seconds Re-authentication = Disabled ReAuthPeriod = 3600 Seconds ServerTimeout = 30 Seconds SuppTimeout = 30 Seconds...
  • Page 366 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x Table 2-21 show dot1x statistics Field Descriptions Field Description TxReqId Number of Extensible Authentication Protocol (EAP)-request/identity frames that have been sent. TxReq Number of EAP-request frames (other than request/identity frames) that have been sent.
  • Page 367: Show Dtp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dtp show dtp Use the show dtp privileged EXEC command to display Dynamic Trunking Protocol (DTP) information for the switch or for a specified interface. show dtp [interface interface-id] [ | {begin | exclude | include} expression]...
  • Page 368: Show Dtp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dtp Statistics ---------- 3160 packets received (3160 good) 0 packets dropped 0 nonegotiate, 0 bad version, 0 domain mismatches, 0 bad TLVs, 0 other 6320 packets output (6320 good) 3160 native, 3160 software encap isl, 0 isl hardware native...
  • Page 369: Show Env

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env show env Use the show env user EXEC command to display fan, temperature, redundant power system (RPS) availability, and power information for the switch being accessed (standalone switch or stack master or stack member).
  • Page 370 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env On a Catalyst 3750G-48PS or 3750G-24PS switch, you can also use the show env temperature command to display the switch temperature status. The command output shows the green and yellow states as OK and the red state as FAULTY.
  • Page 371 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env This example shows how to display information about stack member 3 from the master switch: Switch> show env stack 3 SWITCH: 3 FAN is OK TEMPERATURE is OK POWER is OK RPS is NOT PRESENT This example shows how to display the temperature value, state, and the threshold values.
  • Page 372: Show Errdisable Detect

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable detect show errdisable detect Use the show errdisable detect user EXEC command to display error-disable detection status. show errdisable detect [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 373: Show Errdisable Detect

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable detect Related Commands Command Description errdisable detect cause Enables error-disable detection for a specific cause or all causes. show errdisable flap-values Displays error condition recognition information. show errdisable recovery Displays error-disable recovery timer information.
  • Page 374: Show Errdisable Flap-values

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable flap-values show errdisable flap-values Use the show errdisable flap-values user EXEC command to display conditions that cause an error to be recognized for a cause. show errdisable flap-values [ | {begin | exclude | include} expression]...
  • Page 375 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable flap-values Related Commands Command Description errdisable detect cause Enables error-disable detection for a specific cause or all causes. show errdisable detect Displays error-disable detection status. show errdisable recovery Displays error-disable recovery timer information.
  • Page 376: Show Errdisable Recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable recovery show errdisable recovery Use the show errdisable recovery user EXEC command to display the error-disable recovery timer information. show errdisable recovery [ | {begin | exclude | include} expression]...
  • Page 377 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable recovery Interfaces that will be enabled at the next timeout: Interface Errdisable reason Time left(sec) --------- ----------------- -------------- Gi1/0/2 link-flap Note Though visible in the output, the unicast-flood field is not valid.
  • Page 378: Show Etherchannel

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show etherchannel show etherchannel Use the show etherchannel user EXEC command to display EtherChannel information for a channel. show etherchannel [channel-group-number {detail | port | port-channel | protocol | summary}] {detail | load-balance | port | port-channel | protocol | summary} [ | {begin | exclude |...
  • Page 379 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show etherchannel Ports in the group: ------------------- Port: Gi1/0/1 ------------ Port state = Up Mstr In-Bndl Channel group = 1 Mode = Active Gcchange = - Port-channel = Po1 Pseudo port-channel = Po1...
  • Page 380 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show etherchannel This is an example of output from the show etherchannel 1 port-channel command: Switch> show etherchannel 1 port-channel Port-channels in the group: ---------------------- Port-channel: Po1 (Primary Aggregator) ------------ Age of the Port-channel...
  • Page 381: Show Flowcontrol

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show flowcontrol show flowcontrol Use the show flowcontrol user EXEC command to display the flow control status and statistics. show flowcontrol [interface interface-id | module number] [ | {begin | exclude | include}...
  • Page 382 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show flowcontrol This is an example of output from the show flowcontrol interface interface-id command: Switch> show flowcontrol gigabitethernet2/0/2 Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper --------- -------- -------- -------- --------...
  • Page 383: Show Idprom

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show idprom show idprom Use the show idprom user EXEC command to display the IDPROM information for the specified interface. show idprom {interface interface-id} [detail] [ | {begin | exclude | include} expression]...
  • Page 384: Show Idprom

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show idprom Customer Field Address :0x77 Vendor Field Address :0xA7 Extended Vendor Field Address :0x100 Reserved :0x0 Transceiver type :0x1 =XENPAK Optical connector type :0x1 =SC Bit encoding :0x1 =NRZ Normal BitRate in multiple of 1M b/s :0x2848...
  • Page 385: Show Interfaces

    (Optional) Display the input and output packets by switching path for the interface. status (Optional) Display the status of the interface. A status of unsupported in the Type field indicates that a non-Cisco small form-factor pluggable (SFP) module is inserted in the module slot. err-disabled (Optional) Display interfaces in error-disabled state.
  • Page 386 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces transceiver (Optional) Display the physical properties of a CWDM or DWDM small [calibration | form-factor (SFP) module interface. The keywords have these meanings: detail | calibration—(Optional) Display temperature, voltage, or amount of current •...
  • Page 387 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed. Examples This is an example of output from the show interfaces command for an interface on stack member 3:...
  • Page 388 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces capabilities command for an interface. Switch# show interfaces gigabitethernet1/0/2 capabilities GigabitEthernet1/0/2 Model: WS-C3750G-24TS Type: 10/100/1000BaseTX Speed: 10,100,1000,auto Duplex: full,auto Trunk encap. type: 802.1Q,ISL...
  • Page 389 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces interface-id pruning command when pruning is enabled in the VTP domain: Switch# show interfaces gigibitethernet1/0/2 pruning Port Vlans pruned for lack of request by neighbor...
  • Page 390 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces switchport command for a single port. Table 2-23 describes the fields in the display. Note Private VLAN trunks are not supported in this release, so those fields are not applicable.
  • Page 391 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Table 2-23 show interfaces switchport Field Descriptions (continued) Field Description Pruning VLANs Enabled Lists the VLANs that are pruning-eligible. Protected Displays whether or not protected port is enabled (True) or disabled (False) on the interface.
  • Page 392 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces switchport backup command: Switch# show interface switchport backup Switch Backup Interface Pairs: Active Interface Backup Interface State -------------------------------------------------------------- Fa1/0/1 Fa1/0/2...
  • Page 393 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Operational Duplex: auto Administrative Auto-MDIX: off Operational Auto-MDIX: off Name : Gi1/0/3 Administrative Speed: auto Operational Speed: auto Administrative Duplex: auto Administrative Power Inline: disable Operational Duplex: auto Administrative Auto-MDIX: off Operational Auto-MDIX: off <output truncated>...
  • Page 394 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Optical High Alarm High Warn Low Warn Low Alarm Transmit Power Threshold Threshold Threshold Threshold Port (dBm) (dBm) (dBm) (dBm) (dBm) ------- ----------------- ---------- --------- --------- --------- Gi2/0/3 -0.0 ( -0.0) -0.0...
  • Page 395: Show Interfaces Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters show interfaces counters Use the show interfaces counters privileged EXEC command to display various counters for the switch or for a specific interface. show interfaces [interface-id ] counters [errors | etherchannel | module switch- number | protocol...
  • Page 396: Show Interfaces Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters Examples This is an example of partial output from the show interfaces counters command. It displays all counters for the switch. Switch# show interfaces counters Port InOctets InUcastPkts InMcastPkts...
  • Page 397 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters This is an example of output from the show interfaces counters trunk command. It displays trunk counters for all interfaces. Switch# show interfaces counters trunk Port TrunkFramesTx TrunkFramesRx WrongEncap...
  • Page 398: Show Ip Arp Inspection

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip arp inspection show ip arp inspection Use the show ip arp inspection privileged EXEC command to display the configuration and the operating state of dynamic Address Resolution Protocol (ARP) inspection or the status of this feature for all VLANs or for the specified interface or VLAN.
  • Page 399 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip arp inspection Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
  • Page 400 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip arp inspection For the show ip arp inspection statistics command, the switch increments the number of forwarded packets for each ARP request and response packet on a trusted dynamic ARP inspection port. The switch increments the number of ACL or DHCP permitted packets for each packet that is denied by source MAC, destination MAC, or IP validation checks, and the switch increments the appropriate failure count.
  • Page 401: Show Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping show ip dhcp snooping Use the show ip dhcp snooping user EXEC command to display the DHCP snooping configuration. show ip dhcp snooping Syntax Description This command has no arguments or keywords.
  • Page 402: Show Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping binding show ip dhcp snooping binding Use the show ip dhcp snooping binding user EXEC command to display the DHCP snooping binding database and configuration information for all interfaces on a switch.
  • Page 403: Show Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping binding This example shows how to display the DHCP snooping binding entries for a specific IP address: Switch> show ip dhcp snooping binding 10.1.2.150 MacAddress IpAddress Lease(sec) Type...
  • Page 404: Show Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping database show ip dhcp snooping database Use the show ip dhcp snooping database user EXEC command to display the status of the DHCP snooping binding database agent. show ip dhcp snooping database [detail] [ | {begin | exclude | include} expression] This command is available only if your switch is running the enhanced multilayer image (EMI).
  • Page 405 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping database Last Succeded Time : None Last Failed Time : 17:14:25 UTC Sat Jul 7 2001 Last Failed Reason : Unable to access URL. Total Attempts Startup Failures :...
  • Page 406: Show Ip Igmp Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp profile show ip igmp profile Use the show ip igmp profile privileged EXEC command to display all configured Internet Group Management Protocol (IGMP) profiles or a specified IGMP profile.
  • Page 407: Show Ip Igmp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping show ip igmp snooping Use the show ip igmp snooping user EXEC command to display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN.
  • Page 408 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping Examples This is an example of output from the show ip igmp snooping vlan 1 command. It shows snooping characteristics for a specific VLAN. Switch# show ip igmp snooping vlan 1...
  • Page 409: Show Ip Igmp Snooping Mrouter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping Related Commands Command Description ip igmp snooping Enables and configures IGMP snooping on the switch or on a VLAN. show ip igmp snooping mrouter Displays IGMP snooping multicast router ports for the switch or for the specified multicast VLAN.
  • Page 410: Show Ip Igmp Snooping Mrouter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping mrouter show ip igmp snooping mrouter Use the show ip igmp snooping mrouter privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping dynamically learned and manually configured multicast router ports for the switch or for the specified multicast VLAN.
  • Page 411: Show Ip Igmp Snooping Groups

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping groups show ip igmp snooping groups Use the show ip igmp snooping groups privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping multicast table for the switch or the multicast information. Use with the vlan keyword to display the multicast table for a specified multicast VLAN or specific multicast information.
  • Page 412: Show Ip Igmp Snooping Groups

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping groups Examples This is an example of output from the show ip igmp snooping groups command without any keywords. It displays the multicast table for the switch. Switch# show ip igmp snooping groups...
  • Page 413: Show Ip Source Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip source binding show ip source binding Use the show ip source binding user EXEC command to display the IP source bindings on the switch. show ip source binding [ip-address] [mac-address] [dhcp-snooping | static] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] This command is available only if your switch is running the enhanced multilayer image (EMI).
  • Page 414: Show Ip Verify Source

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip verify source show ip verify source Use the show ip verify source user EXEC command to display the IP source guard configuration on the switch or on a specific interface.
  • Page 415: Show Ip Verify Source

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip verify source On the Gigabit Ethernet 1/0/4 interface, IP source guard with source IP and MAC address filtering • is enabled, and static IP source bindings are configured on VLANs 10 and 11. For VLANs 12 to 20, the default port ACL is applied on the interface for the VLANs on which IP source guard is not configured.
  • Page 416: Show Ipc

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc show ipc Use the show ipc user EXEC command to display Interprocess Communications Protocol (IPC) configuration, status, and statistics on a switch stack or a standalone switch. show ipc {mcast {appclass | groups | status} | nodes | ports [open] | queue | rpc | session {all |...
  • Page 417 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Examples This example shows how to display the IPC routing status: Switch>...
  • Page 418 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc This example shows how to display the contents of the IPC retransmission queue: Switch> show ipc queue There are 0 IPC messages waiting for acknowledgement in the transmit queue. There are 0 IPC messages waiting for a response.
  • Page 419 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc Total via Unreliable Connection-Less Service 12783 Total via Unreliable Sequenced Connection-Less Svc Total via Reliable Connection-Oriented Service <output truncated> Related Commands Command Description clear ipc Clears the IPC multicast routing statistics.
  • Page 420: Show L2protocol-tunnel

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show l2protocol-tunnel show l2protocol-tunnel Use the show l2protocol-tunnel user EXEC command to display information about Layer 2 protocol tunnel ports. Displays information for interfaces with protocol tunneling enabled. show l2protocol-tunnel [interface interface-id] [summary] [ | {begin | exclude | include}...
  • Page 421 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show l2protocol-tunnel Examples This is an example of output from the show l2protocol-tunnel command: Switch> show l2protocol-tunnel COS for Encapsulated Packets: 5 Drop Threshold for Encapsulated Packets: 0 Port Protocol Shutdown Drop...
  • Page 422 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show l2protocol-tunnel Related Commands Command Description clear l2protocol-tunnel counters Clears counters for protocol tunneling ports. l2protocol-tunnel Enables Layer 2 protocol tunneling for CDP, STP, or VTP packets on an interface. l2protocol-tunnel cos Configures a class of service (CoS) value for tunneled Layer 2 protocol packets.
  • Page 423: Show Lacp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp show lacp Use the show lacp user EXEC command to display Link Aggregation Control Protocol (LACP) channel-group information. show lacp [channel-group-number] {counters | internal | neighbor | sys-id} [ | {begin | exclude |...
  • Page 424: Show Lacp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp Examples This is an example of output from the show lacp counters user EXEC command. Table 2-25 describes the fields in the display. Switch> show lacp counters LACPDUs Marker Marker Response...
  • Page 425 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp Table 2-26 describes the fields in the display: Table 2-26 show lacp internal Field Descriptions Field Description State State of the specific port. These are the allowed values: – —Port is in an unknown state.
  • Page 426 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp This is an example of output from the show lacp neighbor command: Switch> show lacp neighbor Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs...
  • Page 427: Show Mac Access-group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac access-group show mac access-group Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs) configured for an interface or a switch. show mac access-group [interface interface-id] [ | {begin | exclude | include} expression]...
  • Page 428 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac access-group Related Commands Command Description mac access-group Applies a MAC access group to an interface. Catalyst 3750 Switch Command Reference 2-400 78-16181-03...
  • Page 429: Show Mac Address-table

    MAC address table static and dynamic entries on a specific interface or VLAN. show mac address-table [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table command replaces the Note show mac-address-table command (with the hyphen).
  • Page 430 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
  • Page 431: Show Mac Address-table Address

    MAC address. show mac address-table address mac-address [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table address command Note replaces the show mac-address-table address command (with the hyphen).
  • Page 432 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table address Related Commands Command Description show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN.
  • Page 433: Show Mac Address-table Aging-time

    VLANs. show mac address-table aging-time [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table aging-time command Note replaces the show mac-address-table aging-time command (with the hyphen).
  • Page 434 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table aging-time Related Commands Command Description mac address-table aging-time Sets the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated.
  • Page 435: Show Mac Address-table Count

    VLANs or the specified VLAN. show mac address-table count [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table count command replaces Note the show mac-address-table count command (with the hyphen).
  • Page 436 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table count Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 437: Show Mac Address-table Dynamic

    [address mac-address] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table dynamic command Note replaces the show mac-address-table dynamic command (with the hyphen).
  • Page 438 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table dynamic Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
  • Page 439: Show Mac Address-table Interface

    VLAN. show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table interface command Note replaces the show mac-address-table interface command (with the hyphen).
  • Page 440 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table interface Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 441: Show Mac Address-table Notification

    [interface [interface-id]] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table notification command Note replaces the show mac-address-table notification command (with the hyphen).
  • Page 442 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table notification Number of Notifications sent to NMS : 3 Maximum Number of entries configured in History Table : 100 Current History Table Length : 3 MAC Notification Traps are Enabled...
  • Page 443: Show Mac Address-table Static

    [address mac-address] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table static command replaces Note the show mac-address-table static command (with the hyphen).
  • Page 444 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table static 0100.0ccc.cccd STATIC 0180.c200.0001 STATIC 0180.c200.0004 STATIC 0180.c200.0005 STATIC 0001.0002.0004 STATIC Drop 0001.0002.0007 STATIC Drop Total Mac Addresses for this criterion: 8 Related Commands Command Description mac address-table static Adds static addresses to the MAC address table.
  • Page 445: Show Mac Address-table Vlan

    VLAN. show mac address-table vlan vlan-id [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table vlan command replaces Note the show mac-address-table vlan command (with the hyphen).
  • Page 446 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table vlan Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 447: Show Mls Qos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos show mls qos Use the show mls qos user EXEC command to display global quality of service (QoS) configuration information. show mls qos [ | {begin | exclude | include} expression]...
  • Page 448: Show Mls Qos Aggregate-policer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos aggregate-policer show mls qos aggregate-policer Use the show mls qos aggregate-policer user EXEC command to display the quality of service (QoS) aggregate policer configuration. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
  • Page 449: Show Mls Qos Input-queue

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos input-queue show mls qos input-queue Use the show mls qos input-queue user EXEC command to display quality of service (QoS) settings for the ingress queues. show mls qos input-queue [ | {begin | exclude | include} expression]...
  • Page 450 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos input-queue Related Commands Command Description 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.
  • Page 451: Show Mls Qos Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface show mls qos interface Use the show mls qos interface user EXEC command to display quality of service (QoS) information at the port level. show mls qos interface [interface-id] [buffers | queueing | statistics]...
  • Page 452 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface Examples This is an example of output from the show mls qos interface interface-id command when VLAN-based QoS is enabled: Switch> show mls qos interface gigabitethernet1/0/1 GigabitEthernet1/0/1 trust state:not trusted...
  • Page 453 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface 45 - 49 : 50 - 54 : 55 - 59 : 60 - 64 : dscp: outgoing ------------------------------- 363949 10 - 14 : 15 - 19 :...
  • Page 454 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface Command Description 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.
  • Page 455: Show Mls Qos Maps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps show mls qos maps Use the show mls qos maps user EXEC command to display quality of service (QoS) mapping information. During classification, QoS uses the mapping tables to represent the priority of the traffic and to derive a corresponding class of service (CoS) or Differentiated Services Code Point (DSCP) value from the received CoS, DSCP, or IP precedence value.
  • Page 456: Show Mls Qos Maps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps The DSCP input queue threshold and the DSCP output queue threshold maps appear as a matrix. The d1 column specifies the most-significant digit of the DSCP number. The d2 row specifies the least-significant digit in the DSCP number.
  • Page 457 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps Dscp-inputq-threshold map: d1 :d2 -------------------------------------------------------------------- 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01...
  • Page 458: Show Mls Qos Queue-set

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos queue-set show mls qos queue-set Use the show mls qos queue-set user EXEC command to display quality of service (QoS) settings for the egress queues. show mls qos queue-set [qset-id] [ | {begin | exclude | include} expression]...
  • Page 459 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos queue-set Related Commands Command Description mls qos queue-set output buffers Allocates buffers to the queue-set. mls qos queue-set output threshold Configures the weighted tail-drop (WTD) thresholds, guarantees the availability of buffers, and configures the maximum memory allocation of the queue-set.
  • Page 460: Show Mls Qos Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos vlan show mls qos vlan Use the show mls qos queue-set user EXEC command to display the policy maps attached to a switch virtual interface (SVI). show mls qos vlan vlan-id [ | {begin | exclude | include} expression]...
  • Page 461: Show Monitor

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor show monitor Use the show monitor user EXEC command to display information about all Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) sessions on the switch. Use the command with keywords to show a specific session, all sessions, all local sessions, or all remote sessions.
  • Page 462: Show Monitor

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor Examples This is an example of output for the show monitor user EXEC command: Switch# show monitor Session 1 --------- Type :Local Session Source Ports: RX Only: Fa4/0/24 TX Only:...
  • Page 463 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor This is an example of output for the show monitor session all user EXEC command when ingress traffic forwarding is enabled: Switch# show monitor session all Session 1 --------- Type...
  • Page 464: Show Mvr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr show mvr Use the show mvr privileged EXEC command without keywords to display the current Multicast VLAN Registration (MVR) global parameter values, including whether or not MVR is enabled, the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
  • Page 465 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr Related Commands Command Description mvr (global configuration) Enables and configures multicast VLAN registration on the switch. mvr (interface configuration) Configures MVR ports. show mvr interface Displays the configured MVR interfaces, status of the specified interface, or all multicast groups to which the interface belongs when the interface and members keywords are appended to the command.
  • Page 466: Show Mvr Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr interface show mvr interface Use the show mvr interface privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) receiver and source ports. Use the command with keywords to display MVR parameters for a specific receiver port.
  • Page 467: Show Mvr Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr interface In the preceding display, Status is defined as follows: Active means the port is part of a VLAN. • • Up/Down means that the port is forwarding/nonforwarding. • Inactive means that the port is not yet part of any VLAN.
  • Page 468: Show Mvr Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr members show mvr members Use the show mvr members privileged EXEC command to display all receiver and source ports that are currently members of an IP multicast group. show mvr members [ip-address] [ | {begin | exclude | include} expression]...
  • Page 469: Show Mvr Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr members This is an example of output from the show mvr members ip-address command. It displays the members of the IP multicast group with that address: Switch# show mvr members 239.255.0.2 239.255.003.--22...
  • Page 470: Show Pagp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show pagp show pagp Use the show pagp user EXEC command to display Port Aggregation Protocol (PAgP) channel-group information. show pagp [channel-group-number] {counters | internal | neighbor} [ | {begin | exclude |...
  • Page 471: Show Pagp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show pagp This is an example of output from the show pagp 1 internal command: Switch> show pagp 1 internal Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
  • Page 472: Show Parser Macro

    Output appear. Examples This is a partial output example from the show parser macro command. The output for the Cisco-default macros varies depending on the switch platform and the software image running on the switch:...
  • Page 473 Cha