Download  Print this page
   
1
2
3
Table of Contents
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

Advertisement

Cisco Nexus 7000 Series NX-OS System
Management Command Reference
August 2013
Cisco Systems, Inc.
www.cisco.com
Cisco has more than 200 offices worldwide.
Addresses, phone numbers, and fax numbers
are listed on the Cisco website at
www.cisco.com/go/offices.
Text Part Number: OL-25806-03

Advertisement

Table of Contents

   Related Manuals for Cisco Nexus 7000 Series

   Summary of Contents for Cisco Nexus 7000 Series

  • Page 1 Cisco Nexus 7000 Series NX-OS System Management Command Reference August 2013 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: OL-25806-03...
  • Page 2 OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.
  • Page 3 SM-14 action syslog SM-15 alert-group SM-17 B Commands SM-19 blink SM-20 C Commands SM-23 callhome SM-24 callhome send SM-26 callhome test SM-27 cdp advertise SM-28 cdp enable SM-29 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 4: Table Of Contents

    SM-63 clear session state name SM-64 clear snmp counters SM-65 clear snmp hostconfig SM-66 clear system reset-reason SM-67 collect counter SM-68 collect flow SM-70 collect interface SM-72 collect routing SM-74 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 5 SM-114 diagnostic monitor module SM-116 diagnostic ondemand action-on-failure SM-118 diagnostic ondemand iteration SM-119 diagnostic start SM-120 diagnostic stop SM-121 diagnostic test simulation SM-122 diagnostic test simulation clear SM-124 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 6 SM-161 event track SM-162 exporter SM-164 F Commands SM-165 feature lldp SM-166 feature netflow SM-168 feature ntp SM-169 feature ptp SM-171 feature scheduler SM-173 filter access-group SM-174 filter vlan SM-176 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 7 SM-223 logging module SM-225 logging monitor SM-227 logging server SM-229 logging source-interface SM-231 logging timestamp SM-232 M Commands SM-233 match datalink SM-234 match ip SM-236 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 8 O Commands SM-277 option exporter-stats timeout SM-278 option interface-table timeout SM-279 option sampler-table timeout SM-280 P Commands SM-281 port-monitor activate SM-282 port-monitor enable SM-283 port-monitor name SM-284 port-type SM-285 Cisco Nexus 7000 Series NX-OS System Management Command Reference viii OL-25806-03...
  • Page 9 S Commands SM-325 sampler SM-326 save SM-328 scheduler SM-329 shut SM-332 snmp-server aaa-user cache-timeout SM-333 snmp-server community SM-334 snmp-server contact SM-336 snmp-server context SM-337 snmp-server enable traps SM-339 snmp-server globalEnforcePriv SM-343 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 10 SM-378 system switchover SM-380 system trace SM-381 system watchdog SM-382 system watchdog kgdb SM-383 Show Commands SM-385 show callhome SM-386 show callhome transport SM-388 show cdp SM-390 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 11 SM-433 show event manager system-policy SM-434 show flow exporter SM-436 show flow interface SM-438 show flow monitor SM-440 show flow record SM-446 show flow timeout SM-448 show hardware feature-capability SM-449 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 12 SM-490 show logging onboard SM-497 show logging server SM-499 show logging session status SM-500 show logging status SM-501 show logging timestamp SM-502 show module SM-503 show monitor SM-506 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 13 SM-546 show ptp clock SM-548 show ptp clocks foreign-masters-record SM-550 show ptp corrections SM-552 show ptp parent SM-554 show ptp port SM-556 show ptp time-property SM-558 Cisco Nexus 7000 Series NX-OS System Management Command Reference xiii OL-25806-03...
  • Page 14 SM-604 show startup-config ntp SM-606 show startup-config snmp SM-608 show system cores SM-610 show system error-id SM-611 show system memory-status SM-612 show system pss shrink status SM-613 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 15 SM-645 version 9 SM-646 SM-648 X Commands SM-651 xml server max-session SM-652 xml server terminate session SM-653 xml server timeout SM-654 xml server validate SM-655 System Message Logging Facilities SM-657 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 16 Contents Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 17 Preface This preface describes the audience, organization, and conventions of the Cisco Nexus 7000 Series NX-OS System Management Command Reference and how to obtain related documentation. This chapter includes the following sections: • Audience, page xvii Organization, page xvii •...
  • Page 18: Document Conventions

    Command descriptions use these conventions: Convention Description boldface font Commands and keywords are in boldface. italic font Arguments for which you supply values are in italics. Elements in square brackets are optional. Cisco Nexus 7000 Series NX-OS System Management Command Reference xviii OL-25806-03...
  • Page 19: Related Documentation

    Cisco Nexus 7000 Series NX-OS Configuration Examples, Release 5.x Cisco Nexus 7000 Series NX-OS FabricPath Configuration Guide Configuring Feature Set for FabricPath Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 6.x Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 20 Cisco Nexus 7000 Series NX-OS OTV Configuration Guide Cisco Nexus 7000 Series OTV Quick Start Guide Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide, Release 6.x Cisco Nexus 7000 Series NX-OS SAN Switching Configuration Guide Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 6.x...
  • Page 21: Documentation Feedback

    What’s New in Cisco Product Documentation at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html. Subscribe to What’s New in Cisco Product Documentation, which lists all new and revised Cisco technical documentation, as an RSS feed and deliver content directly to your desktop using a reader application. The RSS feeds are a free service.
  • Page 22 Preface Cisco Nexus 7000 Series NX-OS System Management Command Reference xxii OL-25806-03...
  • Page 23: New And Changed Information

    7000 Series NX-OS System Management Command Reference. The latest version of this document is available at the following Cisco website: http://www.cisco.com/en/US/docs/switches/datacenter/sw/6_0/nx-os/system_management/command/r eference/sm_nx_os_book.html To check for additional information about Cisco NX-OS Release 6.0, see the Cisco NX-OS Release Notes available at the following Cisco website: http://www.cisco.com/en/US/docs/switches/datacenter/sw/6_0/nx-os/release/notes/6x_nx-os_release_n ote.html...
  • Page 24 Cisco NX-OS 6.1(1) 6.1(1) ptp source release. show monitor session Changed the command output for erspan-source 6.1(1) show monitor session sessions. Cisco Nexus 7000 Series NX-OS System Management Command Reference xxiv OL-25806-03...
  • Page 25 SPAN session and the ability to rate-limit configure MTU truncation and the multicast best effort mode for each ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 26 • switchport port-security aging time • switchport port-security aging type • switchport port-security mac-address • switchport port-security mac-address • sticky switchport port-security maximum • switchport port-security violation • Cisco Nexus 7000 Series NX-OS System Management Command Reference xxvi OL-25806-03...
  • Page 27 (Call home) distribute show cfs application show cfs lock show cfs merge status show cfs peers show cfs regions show cfs status show tech-support cfs Cisco Nexus 7000 Series NX-OS System Management Command Reference xxvii OL-25806-03...
  • Page 28 Instance Support network entity mapping, including protocol instances and virtual routing and forwarding (VRF) instances. New NetFlow show Adds commands to view NetFlow hardware 4.0(2) Show Commands commands flows. Cisco Nexus 7000 Series NX-OS System Management Command Reference xxviii OL-25806-03...
  • Page 29 A Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter A. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 30 A Commands abort (Call home) abort (Call home) To delete a Call home Cisco Fabric Services (CFS) configuration session without applying the configuration, use the abort command. abort Syntax Description This command has no arguments or keywords. Defaults None Command Modes...
  • Page 31 Displays the status of the current CFS configuration session, including the session last action and its result. show configuration Displays a summary of the configuration session. session summary Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 32: Action Cli

    1.1 cli callhome send eem subject "port down" body "acme port is down" switch(config-applet)# Related Commands Command Description event manager applet Registers an applet with the Embedded Event Manager (EEM). Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 33: Action Counter

    Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 34 This example shows how to set the counter count1 to the value in $variable when the EEM counter-applet is triggered: switch# configure terminal switch(config)# event manager applet counter-applet switch(config-applet)# action 1.2 counter name count1 value $variable op dec switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 35 This example shows how to specify that the default action for the event is to be performed when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet default-applet switch(config-applet)# action 1.15 event-default switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 36 Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 37 1.2 exceptionlog module 1 syserr 0x41150010 devid 96 errtype 2 errcode 354 phylayer 0 ports 1-24 harderror false desc "r2d2 general error” switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 38: Action Forceshut

    This example shows how to configure a forced shutdown of module 4 when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet forceshut-applet switch(config-applet)# action 1.3 forceshut module 4 reset-reason “module 4 failed” switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 39: Action Overbudgetshut

    Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 40 This example shows how to configure a power overbudget shutdown of module 4 when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet overbudget-applet switch(config-applet)# action 1.4 overbudgetshut module 4 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 41 This example shows how to enable the default action of a policy being overridden when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet default-applet switch(config-applet)# action 1.65 policy-default switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 42: Action Reload

    This example shows how to specify the action of reloading the switch software when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet reload-applet switch(config-applet)# action 1.5 reload switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 43 This example shows how to specify an SNMP trap to generate when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet snmp-applet switch(config-applet)# action 1.7 snmp-trap strdata "EEM detected server failure" switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 44: Action Syslog

    If the string contains embedded blanks, enclose it in double quotation marks. Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 45 This example shows how to configure a syslog message to save when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet syslog-applet switch(config-applet)# action 1.7 syslog priority critical msg "Syslog condition: $log" switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 46 Specifies events related to software. Test Specifies events related to tests. user-def-cmd Configures a valid CLI command for the alert group. cli_command Defaults None Command Modes Call home configuration Supported User Roles network-admin vdc-admin Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 47 Description callhome Enters the Call home configuration mode. callhome distribute Enables CFS distribution of the Call home configuration. show callhome Displays one or more Call home destination profiles. destination-profile name Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 48 A Commands alert-group Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 49 B Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter B. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 50 To blink the LED on the system, use the blink command. To restore the default LED state, use the no form of this command. Beginning with Cisco NX-OS Release 4.1(2), the blink command is not available in Cisco NX-OS Note software.
  • Page 51 Examples This example blinks the LED for module 4: switch# blink module 4 Related Commands Command Description show locator-led status Displays the status of locator LEDs on the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 52 All collected logs are in binary format and must be parsed into ASCII format using DeBlogger. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 53 Sending Enable Request to Bloggerd Bloggerd Log Dump Successfuly enabled Related Commands Command Description bloggerd log-transfer Enables the transfer of application logs. bloggerd parse Parses the log buffers using DeBlogger. log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 54 This example shows how to enable a log dump and transfer of log files on the device: switch(config)# bloggerd log-dump all Sending Enable Request to Bloggerd Bloggerd Log Dump Successfuly enabled switch(config)# bloggerd log-transfer 10.10.10.1 /cisco_blogger/ Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 55 B Commands bloggerd log-transfer Related Commands Command Description bloggerd log-dump Enables threshold-based log dumps. bloggerd parse Parses the log buffers using DeBlogger. log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 56 You can use the bloggerd parse log-buffer command to parse logs from binary to ASCII format. We recommend that you use BloggerD only with TAC supervision. Note This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 57 VDC ID: 1 APP UUID: 0 Buffer UUID: 404 Buffer Instance: 1 Related Commands Command Description bloggerd log-dump Enables threshold-based log dumps. bloggerd log-transfer Enables the transfer of application logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 58 B Commands bloggerd parse log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 59 C Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter C. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 60 Specifies the priority number for this device. destination-profile Creates and configures a Call home destination profile. enable Enables Call home. By default, Call home is disabled. callhome test Sends a test message to all configured destinations. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 61 C Commands callhome callhome send Sends the specified Call home test message to all configured destinations. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 62: Callhome Send

    Related Commands Command Description callhome Enters the Call home configuration mode. callhome test Sends a test message to all configured Call home destinations. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 63: Callhome Test

    Command Description callhome Enters the Call home configuration mode. callhome send Sends a configuration or diagnostic message to all configured Call home destinations. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 64 C Commands cdp advertise cdp advertise To configure the Cisco Discovery Protocol (CDP) version supported by the device, use the cdp advertise command. To remove the CDP configuration, use the no form of this command. cdp advertise {v1 | v2}...
  • Page 65: Cdp Enable

    C Commands cdp enable cdp enable To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp enable command. To disable CDP, use the no form of this command. cdp enable no cdp enable Syntax Description This command has no arguments or keywords.
  • Page 66: Cdp Format Device-id

    To configure a device ID format for Cisco Discovery Protocol (CDP), use the cdp format device-id command. To remove the device ID format, use the no form of this command. cdp format device-id {mac-address | serial-number | system-name}...
  • Page 67: Cdp Holdtime

    C Commands cdp holdtime cdp holdtime To configure the time that Cisco Discovery Protocol (CDP) holds onto neighbor information before refreshing it, use the cdp holdtime command. To remove the CDP hold time, use the no form of this command.
  • Page 68: Cdp Timer

    C Commands cdp timer cdp timer To configure the Cisco Discovery Protocol (CDP) refresh time interval, use the cdp timer command. To remove the CDP refresh time interval configuration, use the no form of this command. cdp timer seconds no cdp timer seconds...
  • Page 69: Cfs Distribute

    To globally enable Cisco Fabric Services (CFS) distribution for the device, use the cfs distribute command. To disable CFS distribution, use the no form of this command. To remove the CFS configuration, use the no form of this command.
  • Page 70: Cfs Eth

    C Commands cfs eth cfs eth To globally configure the device to use Ethernet to distribute changes for all Cisco Fabric Services (CFS)-enabled applications, use the cfs eth command. To remove the CFS configuration, use the no form of this command.
  • Page 71: Cfs Ipv4

    C Commands cfs ipv4 cfs ipv4 To globally configure the device to use IPv4 to distribute changes for all Cisco Fabric Services (CFS)-enabled applications, use the cfs ipv4 command. To remove the CFS configuration, use the no form of this command.
  • Page 72 Enables distribution for the specified application, such as RADIUS. distribute show application_name Displays the status of the specified application, such as RADIUS, including status whether CFS distribution is enabled for the application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 73: Cfs Region

    To create a Cisco Fabric Services (CFS) region that limits the distribution scope of an application, use the cfs region command. To remove the region or the application, use the no form of this command. cfs region region_id...
  • Page 74 Enables distribution for the specified application, such as NTP. distribute show application_name Displays the status of the specified application, such as NTP, including status whether CFS distribution is enabled for the application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 75: Check Logflash

    Command History Release Modification 4.0(3) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to check compactFlash: switch# check logflash Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 76: Checkpoint

    This command was introduced. Usage Guidelines If you use the checkpoint command without a name, Cisco NX-OS creates the file with the name auto-x, where x is a decimal number that increases each time you create an unnamed checkpoint file.
  • Page 77 C Commands checkpoint switch# Related Commands Command Description clear checkpoint Displays the contents of the checkpoint file. database Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 78: Clear Callhome Session

    C Commands clear callhome session clear callhome session To clear a Call home Cisco Fabric Services (CFS) distribution session, use the clear callhome session command. clear callhome session Syntax Description This command has no arguments or keywords. Defaults None Command Modes...
  • Page 79: Clear Cdp

    C Commands clear cdp clear cdp To clear Cisco Discovery Protocol (CDP) statistics on an interface, use the clear cdp command. clear cdp {counters [interface interface] | table [interface interface]} Syntax Description counters Clears CDP counters on all interfaces. interface (Optional) Clears CDP counters on an interface.
  • Page 80: Clear Checkpoint Database

    This example shows how to clear the checkpoint database: switch# clear checkpoint database Processing the Request... Please Wait ..Done switch# Related Commands Command Description show checkpoint Displays the contents of the checkpoint file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 81: Clear Cores

    This example shows how to clear the core on the logflash file system: switch# clear cores archive Related Commands Command Description show system cores Displays the core filename. system cores Configures the core filename. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 82: Clear Flow Exporter

    NFC-DC-PHOENIX switch# Related Commands Command Description clear flow exporter Clears the statistics for exporters. flow exporter Creates a flow exporter. show flow exporter Displays flow exporter status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 83: Clear Flow Monitor

    CPU utilization. Use the clear flow monitor monitor-name statistics command to clear the statistics and cache entries for this flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 84 NFC-DC-PHOENIX statistics switch# Related Commands Command Description clear flow monitor Clears the flow monitor. flow monitor Creates a flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 85: Clear Hardware Flow Ip

    Usage Guidelines This command does not require a license. Examples This example shows how to clear the NetFlow hardware IP flow: switch(config)# clear hardware flow ip module 8 ethernet 2/1 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 86 C Commands clear hardware flow ip Related Commands Command Description show hardware flow Displays information about NetFlow hardware IP / IPV6 flows. {ip | ipv6} Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 87: Clear Logging Ip Access-list Cache

    This example shows how to clear all the entries from the OAL cache and send them to the syslog: switch# clear logging ip access-list cache switch# Related Commands Command Description show logging ip Displays the logging status for IP access lists. access-list Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 88: Clear Logging Logfile

    This example shows how to clear messages from the logging file: switch# clear logging logfile switch# Related Commands Command Description show logging logfile Displays the logs in the local log file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 89: Clear Logging Nvram

    This command does not require a license. Examples This example shows how to clear the NVRAM logs: switch# clear logging nvram switch# Related Commands Command Description show logging nvram Displays the NVRAM logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 90: Clear Logging Onboard

    This example shows how to clear the OBFL environmental history entries: switch# clear logging onboard environmental-history switch# This example shows how to clear the OBFL error statistics: switch# clear logging onboard error-stats switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 91 This example shows how to clear the OBFL stack trace entries: switch# clear logging onboard stack-trace switch# Related Commands Command Description hw-module logging onboard Enables OBFL based on the error type. show logging onboard Displays onboard failure logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 92: Clear Logging Session

    This command does not require a license. Examples This example shows how to clear the current logging session: switch# clear logging session switch# Related Commands Command Description show logging session Displays the logging session status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 93: Clear Ntp Session

    Release Modification 4.2(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to clear the NTP session: switch(config)# clear ntp session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 94: Clear Ntp Statistics

    This command does not require a license. Examples This example shows how to clear statistics for all NTP peers: switch(config)# clear ntp statistics all-peers Related Commands Command Description show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 95: Clear Nvram

    Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to clear NVRAM: switch(config)# clear nvram Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 96: Clear Platform Flow Ip

    This example shows how to specify a forced export of the cleared data to a collector: switch# clear platform flow ip forced-export switch# This example shows how to clear the NetFlow statistics for a module: switch# clear platform flow ip module 2 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 97 Command Description flow exporter Creates a flow exporter. clear flow monitor Clears the flow monitor. flow monitor Creates a flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 98: Clear Processes Log Archive

    This example shows how to delete a log file on a log flash: switch(config)# clear processes log archive switch(config)# Related Commands Command Description show processes log Displays the contents of the process log. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 99: Clear Rmon

    This command does not require a license. Examples This example shows how to delete RMON tables: switch(config)# clear rmon alarms switch(config)# Related Commands Command Description clear snmp counters Deletes SNMP counters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 100: Clear Session State Name

    This example shows how to clear the internal state for a configuration session: switch# clear session state name myACLs Related Commands Command Description show configuration Displays information about the configuration sessions. session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 101: Clear Snmp Counters

    This command does not require a license. Examples This example shows how to delete SNMP counters: switch(config)# clear snmp counters switch(config)# Related Commands Command Description show snmp sessions Displays information about SNMP sessions. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 102: Clear Snmp Hostconfig

    This example shows how to delete the SNMP host configuration: switch(config)# clear snmp hostconfig switch(config)# Related Commands Command Description show snmp sessions Displays SNMP sessions. clear snmp counters Deletes SNMP counters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 103: Clear System Reset-reason

    This command does not require a license. Examples This example shows how to clear the device reset-reason history: switch# clear system reset-reason Related Commands Command Description show system reset-reason Displays the device reset-reason history. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 104: Collect Counter

    Use the collect counter packets long command to configure a 64-bit counter that is incremented for each packet seen in the flow. It is unlikely that a 64-bit counter will ever wrap. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 105 Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 106: Collect Flow

    The option sampler-table command exports option records with mappings of the flow sampler ID to the sampling rate so that the collector can calculate the scaled counters for each flow. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 107 Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 108: Collect Interface

    This example shows how to configure the input interface as a nonkey field and collect the output interface value: switch(config)# flow record FLOW-RECORD-1 switch(config-flow-record)# collect interface output Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 109 Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 110: Collect Routing

    Defaults This command is not enabled by default. Command Modes Flow record configuration Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 111 This example shows how to configure the value in the traffic index field based on the source AS for a flow as a nonkey field and collects the value in the traffic index field value: switch(config)# flow record FLOW-RECORD-1 switch(config-flow-record)# collect routing source traffic-index Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 112 Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 113: Collect Timestamp Sys-uptime

    FLOW-RECORD-1 switch(config-flow-record)# collect timestamp sys-uptime first Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 114 Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 115: Collect Transport Tcp Flags

    Configures the counters as a nonkey field and collects the counter values. collect flow Configures flow identifying fields as nonkey fields and collects their values. collect interface Configures the input or output interface as a nonkey field and collects the values. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 116 Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 117: Commit (call Home

    C Commands commit (Call home) commit (Call home) To distribute a Cisco Fabric Services (CFS) configuration, use the commit command. commit Syntax Description This command has no arguments or keywords Defaults None Command Modes Call home configuration Supported User Roles...
  • Page 118 Deletes the CFS session. show cfs application Displays the applications that are currently CFS-enabled. show application_name Displays information about the CFS configuration session status for an session status application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 119: Commit (session Manager

    Description abort Deletes the session and exists session configuration mode. exit Exits session configuration mode without committing the commands. show configuration Displays information about the Session Manager configuration session. session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 120: Configure Session

    This example shows how to create an ACL configuration session: switch# configure session myACLs switch(config-s)# Related Commands Command Description show configuration Displays information about the Session Manager configuration sessions. session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 121: Contract-id

    Specifies the service agreement customer number for this device. site-id Specifies the site ID number for this device. switch-priority Specifies the priority number for this device. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 122: Counter

    [falling-threshold falling-threshold event event-id]}] | sync-loss [poll-interval poll-interval {absolute rising-threshold rising-threshold event event-id [falling-threshold falling-threshold event event-id] | delta rising-threshold rising-threshold event event-id [falling-threshold falling-threshold event event-id]}] | Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 123 This command does not require a license. Examples This example shows how to configure an SNMP counter: switch(config) port-monitor name PM1 switch(config-port-monitor)# counter invalid-crc poll-interval 30 absolute rising-threshold 10000000 event 100 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 124 This example shows how to remove an SNMP counter configuration: switch(config)# no counter invalid-crc poll-interval 30 absolute rising-threshold 10000000 event 100 switch(config-port-monitor)# Related Commands Command Description monitor counter Configures a monitor counter. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 125: Customer-id

    Specifies the service agreement contract number for this device. site-id Specifies the site ID number for this device. switch-priority Specifies the priority number for this device. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 126 C Commands customer-id Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 127: D Commands

    D Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter D. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 128: Description (eem

    1.2 counter name count1 value $variable op dec Switch(config-applet)# description “counter policy for acme” switch(config-applet)# Related Commands Command Description show event manager Displays information about the configured EEM policy. policy Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 129: Description (netflow Record

    NetFlow-Record-1 switch(config-flow-record)# description Custom-Flow-Record-1 switch(config-flow-record)# This example shows how to remove the description: switch(config-flow-record)# no description Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 130: Description (netflow Monitor

    NetFlow-Monitor-1 switch(config-flow-monitor)# description Custom-Monitor-1 switch(config-flow-monitor)# This example shows how to remove the description: switch(config-flow-monitor)# no description Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 131: Description (netflow Exporter

    Netflow-Exporter-1 switch(config-flow-exporter)# description Custom-Exporter-1 switch(config-flow-exporter) This example shows how to remove the description: switch(config-flow-exporter)# no description switch(config-flow-exporter) Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 132: Description (netflow Sampler

    This example shows how to add a description to a NetFlow sampler: switch(config)# sampler Netflow-Sampler-1 switch(config-flow-sampler)# description Custom-Sampler-1 switch(config-flow-sampler)# This example shows how to remove the description: switch(config-flow-sampler)# no description Related Commands Command Description show sampler Displays information about NetFlow samplers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 133: Description (span

    Related Commands Command Description monitor session Places you into the Monitor configuration mode for configuring a SPAN session. show monitor session Displays the specified SPAN or ERSPAN session configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 134: Destination

    Flow exporter NetFlow-Exporter-1 switch(config-flow-exporter)# destination 192.168.11.2 switch(config-flow-exporter)# This example shows how to remove the destination: switch(config-flow-exporter)# no destination Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 135: Destination Interface (span

    3 switch(config-monitor)# destination interface ethernet 2/5, ethernet 3/7 Related Commands Command Description monitor session Places you into the Monitor configuration mode for configuring a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 136 (SPAN) Command Description show monitor session Displays the specified SPAN or ERSPAN session configuration. description Adds a comment or a description of up to 32 characters to a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 137: Destination-profile

    This command was introduced. Usage Guidelines Cisco NX-OS includes the following predefined destination profiles: CiscoTAC-1—Supports the Cisco-TAC alert group in XML message format. This profile is • preconfigured with the callhome@cisco.com e-mail contact, maximum message size, and message severity level 0. You cannot change any of the default information for this profile.
  • Page 138 D Commands destination-profile Related Commands Command Description show callhome Displays the specified Call home destination profile. destination-profile name show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 139: Destination-profile Alert-group

    To remove an alert group, use the no form of this command. destination-profile profile_name alert-group {All | Configuration | Diagnostic | EEM | Cisco-TAC | Environmental | Inventory | License | Linecard-Hardware | Supervisor-Hardware | Syslog-group-port | System | Test}...
  • Page 140 Noc101 Noc101 destination profile information maximum message size:2500000 message format:XML message-level:0 email addresses configured: alert groups configured: Related Commands Command Description show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 141: Destination-profile Email-addr

    Noc101 email-addr jdoe@callhome.com switch(config-callhome)# show callhome destination-profile profile Noc101 Noc101 destination profile information maximum message size:2500000 message format:XML message-level:0 email addresses configured: jdoe@callhome.com alert groups configured: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 142 D Commands destination-profile email-addr Related Commands Command Description show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 143: Destination-profile Format

    This example shows how to configure a message format for sending messages to a Call home destination: switch(config-callhome)# destination-profile acme_destination format full-txt Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 144: Destination-profile Http

    This example shows how to configure a URL for a Call home destination: switch(config-callhome)# destination-profile acme_destination http http://my_url,com/callhome Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 145: Destination-profile Message-level

    This example shows how to specify that messages with a severity level 5 or higher are sent to a Call home destination: switch(config-callhome)# destination-profile acme_destination message-level 5 Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 146: Destination-profile Message-size

    This example shows how to configure a maximum message size of 100000 for messages sent to a Call home destination: switch(config-callhome)# destination-profile acme_destination message-size 100000 Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 147: Destination-profile Transport-method

    This example shows how to specify HTTP for transporting Call home messages to a destination: switch(config-callhome)# destination-profile acme_destination transport-method http switch(config-callhome)# Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 148: Diagnostic Bootup Level

    Examples This example shows how to configure the diagnostic bootup level: switch(config)# diagnostic bootup level bypass switch# Related Commands Command Description show diagnostic bootup Displays the diagnostic bootup level. level Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 149: Diagnostic Clear Result Module

    This example shows how to clear a diagnostic test result: switch# diagnostic clear result module 6 test 6 Related Commands Command Description show diagnostic result Displays a diagnostic test result for a specified test. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 150: Diagnostic Monitor Interval Module

    This example shows how to configure a diagnostic monitoring test interval on a module: switch(config)# diagnostic monitor interval module 1 test 5 hour 10 min 30 sec 0 switch(config)# This example shows how to remove a diagnostic monitoring test interval from a module: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 151 1 test 5 hour 10 min 30 sec 0 switch(config)# Related Commands Command Description show running-config Displays the running-configuration diagnostics. diagnostic diagnostic monitor Configures a diagnostic monitor test. module Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 152: Diagnostic Monitor Module

    This example shows how to configure a diagnostic monitor test: switch(config)# diagnostic monitor module 1 test all switch(config)# This example shows how to remove a diagnostic monitor test: switch(config)# no diagnostic monitor module 1 test all switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 153 D Commands diagnostic monitor module Related Commands Command Description show startup-config Displays the startup-configuration diagnostics. diagnostic show running-config Displays the running-configuration diagnostics. diagnostic Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 154: Diagnostic Ondemand Action-on-failure

    This example shows how to configure the action if the on-demand test fails: switch# diagnostic ondemand action-on-failure continue failure-count 992 switch# Related Commands Command Description show diagnostic Displays information about on-demand tests. ondemand Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 155: Diagnostic Ondemand Iteration

    This example shows how to configure the number of times that the on-demand test runs: switch# diagnostic ondemand iteration 992 Related Commands Command Description show diagnostic Displays information about on-demand tests. ondemand Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 156: Diagnostic Start

    Examples This example shows how to start the on-demand diagnostic test for a module: switch# diagnostic start module 6 test all Related Commands Command Description diagnostic stop Stops on-demand diagnostics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 157: Diagnostic Stop

    This example shows how to stop one or more diagnostic tests on a module: switch# diagnostic stop module 6 test all switch# Related Commands Command Description diagnostic start Starts one or more diagnostic tests. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 158: Diagnostic Test Simulation

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to simulate a test result: switch# diagnostic test simulation module 2 test 2 fail switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 159 D Commands diagnostic test simulation Related Commands Command Description diagnostic test Clears a diagnostic test simulation. simulation clear Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 160: Diagnostic Test Simulation Clear

    This example shows how to clear the diagnostic test simulation: switch# diagnostic test simulation module 2 test 2 clear switch# Related Commands Command Description diagnostic test Simulates a diagnostic test. simulation Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 161: Distribute

    D Commands distribute distribute To enable Cisco Fabric Service (CFS) to distribute configurations, use the distribute command. To disable distribution, use the no form of this command. distribute [radius | tacacs+] no distribute Syntax Description radius (Optional) Specifies CFS to distribute RADIUS configurations.
  • Page 162 Command Description show cfs status Displays the CFS distribution status. Specifies a CFS distribution mode. cfs region Creates a CFS distribution region that limits the distribution scope of an application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 163: Dscp

    Flow exporter Custom-NetFlow-Exporter-1 switch(config-flow-exporter)# dscp 32 switch(config-flow-exporter)# This example shows how to remove the DSCP parameter: switch(config-flow-exporter)# no dscp switch(config-flow-exporter) Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 164 D Commands dscp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 165: E Commands

    E Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter E. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 166: Erspan-id

    Configures the IP time-to-live (TTL) value of the ERSPAN traffic. Configures the VRF for ERSPAN traffic forwarding. monitor-session Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 167: Ethanalyzer Local Interface

    (Optional) Saves the captured information to the configured location. The location can be any case-sensitive, alphanumeric string up to 64 characters. brief (Optional) Displays the protocol summary of the captured packets. Defaults No packets captured. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 168 Added the option capture-ring-buffer to the syntax description. 4.0(1) This command was introduced. Usage Guidelines Cisco Ethanalyzer is based on the Wireshark open source code. This command does not require a license. Examples This example shows how to capture all packets on the mgmt 0 port:...
  • Page 169: Ethanalyzer Local Read

    Modification 4.0(1) This command was introduced. Usage Guidelines Cisco Ethanalyzer is based on the Wireshark open source code. This command does not require a license. Examples This example shows how to capture all packets on the mgmt 0 port: switch# ethanalyzer local read bootflash:test-mgmt0...
  • Page 170: Event Cli

    To specify the event criteria for an Embedded event manager (EEM) applet that is run by matching a Cisco NX-OS command-line interface (CLI) command, use the event cli command. To remove the CLI command event criteria, use the no form of this command.
  • Page 171 This example shows how to specify a CLI command for the EEM applet to match: switch# configure terminal switch(config)# event manager applet eventcli-applet switch(config-applet)# event cli match "write memory.*" time 13 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 172: Event Counter

    • ne—Not equal to lt—Less than • le—Less than or equal to • If there is a match, an event is triggered and event monitoring is reenabled. Defaults None Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 173 This example shows how to specify an event criteria for an EEM applet that is run when the defined critical_errors counter exceeds the entry value: switch# configure terminal switch(config)# event manager applet eventcntr-applet switch(config-applet)# event counter name critical_errors entry-val 3 entry-op gt switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 174: Event Fanabsent

    This example shows how to specify that an EEM applet runs when a fan absent event occurs: switch# configure terminal switch(config)# event manager applet absent-applet switch(config-applet)# event fanabsent time 42 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 175: Event Fanbad

    This example shows how to specify that an EEM applet runs when a fan bad event occurs: switch# configure terminal switch(config)# event manager applet bad-applet switch(config-applet)# event fanbad time 42 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 176: Event Gold

    Specifies the event criteria based on consecutive test failure information from GOLD. Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 177 This example shows how to specify that an EEM applet runs when a new GOLD failure event occurs for any module: switch# configure terminal switch(config)# event manager applet gold-match switch(config-applet)# event gold module all test atBoot testing-type bootup switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 178: Event Manager Applet

    This command does not require a license. Examples This example shows how to register an applet with EEM and to enter applet configuration mode: switch# configure terminal switch(config)# event manager applet eem-applet switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 179: Event Manager Clear Counter

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to clear an EEM counter: switch# configure terminal switch(config)# event manager clear counter eem-counter switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 180: Event Manager Clear History Events

    This command does not require a license. Examples This example shows how to clear all of the EEM event history: switch# configure terminal switch(config)# event manager clear history events switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 181: Event Manager Environment

    This command does not require a license. Examples This example shows how to set an EEM environment variable: switch# configure terminal switch(config)# event manager environment _cron_entry 0-59/2 0-23/1 * * 0-7 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 182: Event Manager Policy

    When the event manager policy command is invoked, the EEM examines the policy and registers it to be run when the specified event occurs. Examples This example shows how to register a policy: switch# configure terminal switch(config)# event manager policy fanpolicy.vsh switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 183: Event Manager Run

    Usage Guidelines This command does not require a license. Examples This example shows how to manually run a registered EEM policy: switch# configure terminal switch(config)# event manager run fanpolicy.vsh switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 184: Event Module-failure

    The range is from 0 to 4294967295. time interval (Optional) Specifies the time interval (in seconds) within which the events need to happen. The range is from 0 to 4294967295. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 185 This example shows how to specify that an EEM applet runs when a module failure event occurs: switch# configure terminal switch(config)# event manager applet modfail-applet switch(config-applet)# event module-failure type unexpected-registration module 6 count 2 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 186: Event Module Status

    EVM1 switch(config-applet)# event module status any module 10 switch(config-applet)# This example shows how to remove the status event configuration: switch(config-applet)# no event module status any module 10 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 187 Related Commands Command Description event manager applet Registers an applet with the Embedded Event Manager (EEM). event manager policy Registers an Embedded Event Manager (EEM) policy with the EEM. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 188: Event Oir

    Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 5.2.(1) Added the tag tag keywords. 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 189 This example shows how to specify that an EEM applet be run on the basis of an event raised when a module OIR occurs: switch# configure terminal switch(config)# event manager applet oir-applet switch(config-applet)# event oir module anyoir switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 190: Event Policy-default

    This command does not require a license. Examples This example shows how to use the event in the system policy being overridden: switch# configure terminal switch(config)# event policy-default count 6 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 191: Event Snmp

    • lt—Less than • le—Less than or equal to • If there is a match, an event is triggered and event monitoring is disabled until the exit criteria are met. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 192 Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 5.2.(1) Added the tag tag keywords. 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 193 This example shows how to specify the event criteria for an EEM applet that is run by sampling SNMP object identifier values: switch# configure terminal switch(config)# event manager applet snmp-applet switch(config-applet)# event snmp oid 4.2.1.6 get-type next entry-op eq entry-val 42 poll-interval 2 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 194: Event Storm-control

    Examples This example shows how to specify that an EEM applet runs when a storm control event occurs: switch# configure terminal switch(config)# event manager applet storm-applet switch(config-applet)# event storm-control switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 195: Event Syslog

    To configure Cisco NX-OS Embedded Event Manager (EEM) to monitor an event, use the event syslog command. To remove the syslog configuration, use the no form of this command. event syslog [ tag tag] [occurs | pattern msg-text | period | priority [0-7 | emergencies | alerts |...
  • Page 196 10 pattern "authentication failed" Configuration accepted successfully Related Commands Command Description action syslog Configures a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 197: Event Temperature

    This example shows how to specify that an EEM applet runs when a temperature event occurs: switch# configure terminal switch(config)# event manager applet temp-applet switch(config-applet)# event temperature threshold major switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 198: Event Track

    This example shows how to specify that an EEM applet runs when the state of a tracked object changes: switch# configure terminal switch(config)# event manager applet tracking-applet switch(config-applet)# event track 42 state down switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 199 E Commands event track Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 200: Exporter

    Custom-Flow-Monitor-1 switch(config-flow-monitor)# exporter Custom-Flow-Exporter-1 switch(config-flow-monitor)# This example shows how to remove a NetFlow exporter: switch(config-flow-monitor)# no exporter Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 201: F Commands

    F Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter F. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 202: Feature Lldp

    Make sure that you are in the correct virtual device context (VDC). To switch VDCs, use the switchto vdc command. This command does not require a license. Examples This example shows how to enable the LLDP feature globally: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 203 Jan 11 01:50:33 switch %FEATURE-MGR-2-FM_AUTOCKPT_IN_PROGRESS: AutoCheckpoint system-fm-lldp's creation in progress... 2010 Jan 21 01:50:34 switch %FEATURE-MGR-2-FM_AUTOCKPT_SUCCEEDED: AutoCheckpoint created successfully switch(config)# Related Commands Command Description show running-config Displays the global LLDP configuration. lldp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 204: Feature Netflow

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to enable NetFlow on a Cisco NX-OS device: switch(config)# configure terminal switch(config)# feature netflow switch(config)# This example shows how to disable NetFlow on a Cisco NX-OS device:...
  • Page 205: Feature Ntp

    This example shows how to enable NTP on a VDC: switch# configure terminal switch(config)# feature ntp This example shows how to disable NTP on a VDC: switch# configure terminal switch(config)# no feature ntp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 206 F Commands feature ntp Related Commands Command Description ntp master Configures the device to act as an authoritative NTP server. ntp enable Enables the NTP feature on a VDC. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 207: Feature Ptp

    Configures the source IP address for all PTP packets. ptp domain Configures the domain number to use for this clock. ptp priority1 Configures the priority1 value to use when advertising this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 208 Description ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 209: Feature Scheduler

    This example shows how to disable the scheduler: switch# config t switch(config)# no feature scheduler switch(config)# Related Commands Command Description scheduler Creates and schedules maintenance jobs. show scheduler Displays scheduler information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 210 (Optional) Specifies a that a filter based on trace-route packets is used. false (Optional) Specifies a filter based on non trace-route packets. Defaults None Command Modes config-erspan-src mode Supported User Roles network-admin VDC-admin Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 211 3 type erspan-source switch(config-erspan-src)# filter vlan 3-5 switch(config-erspan-src)# filter trace-route true Related Commands Command Description filter (SPAN) Configures the filters for a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 212 (Optional) Specifies a filter based on non trace-route packets. Defaults None Command Modes Config-monitor configuration mode (config-monitor) Supported User Roles network-admin VDC-admin Command History Release Modification 6.2(2) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 213 3-5 switch(config-monitor)# filter trace-route true Related Commands Command Description filter (ERSPAN) Configures the filters for an ERSPAN session. show monitor session Displays information about a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 214: Filter Access-group

    Only the permit to deny actions are allowed for Encapsulated Remote Switched Port Analyzer (ERSPAN) access control list (ACL) filters. For information about ACL-related commands, see the Cisco Nexus 7000 Series NX-OS Security Command Reference. This command does not require a license.
  • Page 215 F Commands filter access-group Related Commands Command Description filter vlan Applies a VLAN filter to a session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 216 This command does not require a license. Examples This example shows how to configure the ARP frame type filter for the ERSPAN session: switch(config)# monitor session 1 type erspan-source switch(config-erspan-src)# filter frame-type arp arp-rarp arp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 217 Configures the IPv6 frame type filter for the SPAN or ERSPAN session. monitor session Places you in the monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 218 Configures the FCoE frame type filter for the SPAN or ERSPAN session. filter frame-type ipv4 Configures the IPv4 frame type filter for the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 219 Configures the IPv6 frame type filter for the SPAN or ERSPAN session. monitor session Places you in the monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 220 This command does not require a license. Examples This example shows how to configure the FCoE frame type filter for a SPAN session: switch(config)# monitor session 1 switch(config-monitor)# filter frame-type fcoe Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 221 Configures the IPv6 frame type filter for the SPAN or ERSPAN session. monitor session Places you in the monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 222 3 This example shows how to configure the IPv4 frame type filter for an ERSPAN session: switch(config)# monitor session 1 type erspan-source switch(config-erspan-src)# filter frame-type ipv4 l4-protocol 3 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 223 Configures the FCoE frame type filter for the SPAN or ERSPAN session. filter frame-type ipv6 Configures the IPv6 frame type filter for the SPAN or ERSPAN session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 224 10.0.0.1 This example shows how to configure the IPv6 frame type filter for an ERSPAN session: switch(config)# monitor session 1 type erspan-source switch(config-erspan-src)# filter frame-type ipv6 src-ip 10.0.0.1 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 225 Configures the FCoE frame type filter for the SPAN or ERSPAN session. filter frame-type ipv4 Configures the IPv4 frame type filter for the SPAN or ERSPAN session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 226: Filter Vlan

    5-10 include-untagged switch(config-monitor)# Related Commands Command Description filter vlan Applies a VLAN access map to one or more VLANs and includes untagged include-untagged frames on a port with Layer 3 subinterfaces. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 227: Filter Vlan Include-untagged

    Layer 3 subinterfaces: switch(config-monitor)# no filter vlan 1-20 include-untagged switch(config-monitor)# Related Commands Command Description filter vlan Applies a VLAN access map to one or more VLANs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 228: Flow Exporter

    {ip-addr | ipv6-addr} [use-vrf label-name]—Specifies the destination address for the • collector. Enter the optional use-vrf label-name to specify a VRF. Use the following format when entering the destination address: ip-addr—A.B.C.D – ipv6-addr—A:B::C:D – Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 229 3/2 switch(config-flow-monitor)# transport udp 59 switch(config-flow-monitor)# version 5 Related Commands Command Description clear flow exporter Clears the flow monitor. show flow exporter Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 230: Flow Monitor

    • record {record-name | netflow ipv4 collection-type | netflow-original}—Specifies a flow record to • use as follows: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 231 This example shows how to create and configure a flow monitor named FLOW-MONITOR-1: switch(config)# flow monitor FLOW-MONITOR-1 switch(config-flow-monitor)# description monitor location las vegas, NV switch(config-flow-monitor)# exporter exporter-name1 switch(config-flow-monitor)# record test-record switch(config-flow-monitor)# netflow ipv4 original-input Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 232 F Commands flow monitor Related Commands Command Description clear flow monitor Clears the flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 233: Flow Record

    63 characters. exit—Exits from the current configuration mode. • match—Specifies a key field. See the match command for additional information. • • no—Negates a command or sets its defaults. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 234 F Commands flow record Cisco NX-OS enables the following match fields by default when you create a flow record: match interface input • match interface output • match flow direction • This command does not require a license. Examples This example shows how to create a flow record and enter flow record configuration mode:...
  • Page 235: Flow Timeout

    • Inactive timeout—15 seconds • Session aging timeout—Disabled • Flush cache timeout – 15 seconds (enabled only on F2) • Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 236 This example shows how to specify the flush cache timeout in seconds for F2 Series module: switch(config)# flow timeout 45 switch(config)# Related Commands Command Description flow record Creates a flow exporter. clear flow monitor Clears the flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 237 F Commands flow timeout Command Description flow monitor Creates a flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 238 F Commands flow timeout Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 239: H Commands

    H Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter H. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 240: Hw-module Logging Onboard

    The hw-module logging onboard command enables events to be recorded in files stored in nonvolatile memory, so that the data can be used to diagnose problems with hardware modules installed in a Cisco router or switch. When the onboard hardware is started up, a first record is made for each area monitored and becomes a base value for subsequent records.
  • Page 241 Connects to a specific line card for the purpose of executing commands on that card. clear logging onboard Clears onboard failure logs. show logging onboard Displays onboard failure logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 242 This example shows how to change the ERSPAN source session from Type II to Type III: switch# configure terminal switch(config)# monitor session 3 type erspan-source switch(config-erspan-src)# header-type 3 switch(config-erspan-src)# Related Commands Command Description show logging onboard Displays onboard failure logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 243 H Commands header-type Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 244 H Commands header-type Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 245: I Commands

    I Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter I. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 246: Ip Access-list

    12.0.0.0 0.255.255.255 any switch(config-acl)# Related Commands Command Description filter access-group Applies an access control group to an Encapsulated Remote Switched Port Analyzer (ERSPAN) source session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 247: Ip Dscp

    Configures the IP time-to-live (TTL) value of the ERSPAN traffic. monitor-session Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 248: Ip Flow Monitor

    The statistics for each flow needs to be scaled to give the expected true usage. For example, if you are Note using a 1 in 10 sampler, you must multiply the packet and byte counters by 10. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 249 This example shows how to enable a flow monitor for monitoring output traffic with a sampler to limit the output packets that are sampled: switch(config)# interface ethernet0/0 switch(config-if)# ip flow monitor FLOW-MONITOR-1 output sampler SAMPLER-1 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 250 FLOW-MONITOR-1 input Related Commands Command Description flow exporter Creates a flow exporter. flow monitor Creates a flow monitor. flow record Creates a flow record. sampler Creates a flow sampler. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 251 This example shows how to configure the ethernet IEEE 802.3z: switch# configure terminal switch(config)# ip tftp source-interface ethernet 1/ 1 switch(config)# This example shows how to configure the loopback interface: switch(config)# ip tftp source-interface loopback 1 switch(config)# Related Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 252 I Commands ip tftp source-interface Command Description show ip tftp interface Displays source TFTP client information. source-interface Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 253: Ip Ttl

    Configures the DSCP value of the packets in the ERSPAN traffic. monitor-session Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 254 I Commands ip ttl Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 255: L Commands

    L Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter L. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 256: Lldp Holdtime

    This example shows how to remove the LLDP hold time configuration: switch(config)# no lldp holdtime 180 switch(config)# Related Commands Command Description lldp reinit Specifies the delay time in seconds for LLDP to initialize on any interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 257 L Commands lldp holdtime Command Description lldp timer Specifies the transmission frequency of LLDP updates in seconds. show lldp timers Displays the LLDP holdtime, delay time, and update frequency configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 258: Lldp Receive

    This example shows how to disable the reception of LLDP packets on an interface: switch(config)# interface ethernet 6/3 switch(config-if)# no lldp receive switch(config-if)# exit switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 259 L Commands lldp receive Related Commands Command Description lldp transmit Enables the transmission of LLDP packets on an interface. show lldp interface Displays the LLDP configuration on an interface. ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 260: Lldp Reinit

    6 switch(config)# Related Commands Command Description lldp holdtime Specifies the amount of time in seconds that a receiving device should hold the information sent by your device before discarding it. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 261 L Commands lldp reinit Command Description lldp timer Specifies the transmission frequency of LLDP updates in seconds. show lldp timers Displays the LLDP holdtime, delay time, and update frequency configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 262: Lldp Timer

    This example shows how to configure the transmission frequency for LLDP updates: switch(config)# lldp timer 45 switch(config)# This example shows how to remove the transmission frequency configuration for LLDP updates: switch(config)# no lldp timer 45 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 263 Specifies the amount of time in seconds that a receiving device should hold the information sent by your device before discarding it. show lldp timers Displays the LLDP holdtime, delay time, and update frequency configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 264: Lldp Tlv-select

    This command was introduced. Usage Guidelines Make sure that you are in the correct virtual device context (VDC). To switch VDCs, use the switchto vdc command. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 265 This example shows how to disable the system capabilities TLV: switch(config)# no lldp tlv-select system-capabilities switch(config)# Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. show lldp dcbx Displays the local DCBX control status. interface ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 266: Lldp Transmit

    This example shows how to disable the transmission of LLDP packets on an interface: switch(config)# interface ethernet 7/1 switch(config-if)# no lldp transmit switch(config-if)# exit switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 267 L Commands lldp transmit Related Commands Command Description lldp receive Enables the reception of LLDP packets on an interface. show lldp interface Displays the LLDP configuration on an interface. ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 268: Locator-led

    LED to identify the component to an administrator in the data center. This command does not require a license. Examples This example shows how to blink the LED for module 4: switch# locator-led module 4 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 269 L Commands locator-led Related Commands Command Description show locator-led status Displays the status of locator LEDs on the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 270: Logging Console

    Examples This example shows how to enable logging messages with a severity level of 4 (warning) or higher to the console session: switch# configure terminal switch(config)# logging console 4 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 271 L Commands logging console Related Commands Command Description show logging console Displays the console logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 272: Logging Event

    This command does not require a license. Examples This example shows how to log interface events: switch# configure terminal switch(config)# logging event link-status default switch(config)# Related Commands Command Description show logging Displays the logging status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 273: Logging Ip Access-list Cache

    This example shows how to to specify the maximum number of log entries that are cached in the software: switch# configure terminal switch(config)# logging ip access-list cache entries 200 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 274 This example shows how to specify the number of packet matches before an entry is sent to the system log: switch# configure terminal switch(config)# logging ip access-list cache threshold 125 switch(config)# Related Commands Command Description show logging ip Displays the status of IP access list logging. access-list Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 275: Logging Level

    Defaults None Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 276 This example shows how to enable logging messages from the AAA facility that have a severity level of 2 or higher: switch# configure terminal switch(config)# logging level aaa 2 switch(config)# Related Commands Command Description show logging level Displays the facility logging level configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 277: Logging Logfile

    Defaults None Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 278 This example shows how to configure a log file called logfile to store system messages and set its severity level to 4: switch# configure terminal switch(config)# logging logfile logfile 4 switch(config)# Related Commands Command Description show logging logfile Displays the log file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 279: Logging Message Interface Type Ethernet Description

    Examples This example shows how to add the description for physical Ethernet interfaces and subinterfaces in the system message log: switch# configure terminal switch(config)# logging message interface type ethernet description Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 280 Related Commands Command Description logging monitor Enables the device to log messages to the monitor based on a specified severity level or higher. show logging monitor Displays the monitor logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 281: Logging Module

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to enable module log messages: switch# configure terminal switch(config)# logging module switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 282 L Commands logging module Related Commands Command Description show logging module Displays the module logging status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 283: Logging Monitor

    Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This configuration applies to Telnet and SSH sessions. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 284 Examples This example shows how to enable monitor log messages: switch# configure terminal switch(config)# logging monitor switch(config)# Related Commands Command Description show logging monitor Displays the status of monitor logging. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 285: Logging Server

    • 7—debugging: Appears during debugging only • use-vrf VRF_name (Optional) Specifies the VPN routing and forwarding (VRF) instance. In Cisco NX-OS Release 4.2 or later releases, the default VRF is default. facility facility (Optional) Specifies the outgoing facility. The facilities are listed in the “System...
  • Page 286 This example shows how to configure a remote syslog server at a specified hostname with severity level 5 or higher: switch# configure terminal switch(config)# logging server syslogA 5 switch(config)# Related Commands Command Description show logging server Displays the configured syslog servers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 287: Logging Source-interface

    This command does not require a license. Examples This example shows how to enable a source interface for the syslog server: switch# configure terminal switch(config)# logging source-interface loopback 5 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 288: Logging Timestamp

    This example shows how to set the logging time stamp units to microseconds: switch# configure terminal switch(config)# logging timestamp microseconds switch(config)# Related Commands Command Description show logging Displays the logging time stamp configuration. timestamp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 289: M Commands

    M Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter M. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 290: Match Datalink

    NetFlow1 switch(config-flow-record)# match datalink mac source-address switch(config-flow-record)# This example shows how to remove the data link match option from a flow record: switch(config-flow-record)# no match datalink mac source-address switch(config-flow-record)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 291 Related Commands Command Description match ip Configures the match IP option for defining a NetFlow record map. match ipv4 Configures the match IPv4 option for defining a NetFlow record map. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 292: Match Ip

    This example shows how to remove the match option: switch(config-flow-record)# no match ip protocol switch(config-flow-record)# no match ip tos switch(config-flow-record)# Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 293: Match Ipv4

    This example shows how to remove the match IPv4 configuration: switch(config-flow-record)# no match ipv4 source address switch(config-flow-record)# no match ipv4 destination address switch(config-flow-record)# Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 294: Match (netflow

    Modification 4.0(1) This command was introduced. Usage Guidelines A Flexible NetFlow flow record must be enabled before you can use the match command. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 295 This example shows how to specify that the match criterion for transport layer fields is based on the source port: switch(config)# flow record FLOW-RECORD-1 switch(config-flow-record)# match ipv4 transport source-port Related Commands Command Description flow record Creates a flow record. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 296: Match Transport

    This example shows how to remove the configuration: switch(config-flow-record)# no match transport source-port switch(config-flow-record) Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 297: Mode

    This example shows how to specify the mode in a NetFlow sampler: switch(config)# sampler Custom-NetFlow-Sampler-1 switch(config-flow-sampler)# mode 1 out-of 1000 switch(config-flow-sampler)# This example shows how to remove the mode configuration: switch(config-flow-sampler)# no mode Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 298 M Commands mode Related Commands Command Description show sampler Displays information about NetFlow samplers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 299 This example shows how to configure the SPAN session as an extended bidirectional session: switch(config)# monitor session 3 tx switch(config-monitor)# mode extended Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 300: Monitor Counter

    This command does not require a license. Examples This example shows how to configure an SNMP counter: switch(config) port-monitor name PM1 switch(config-port-monitor)# monitor counter signal-loss switch(config-port-monitor)# This example shows how to remove a counter configuration: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 301 M Commands monitor counter switch(config)# no monitor counter signal-loss switch(config-port-monitor)# Related Commands Command Description counter Configures an individual counter. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 302: Monitor Erspan Origin Ip-address

    10.1.1.1 global switch(config)# This example shows how to remove the ERSPAN IP address: switch# configure terminal switch(config)# no monitor erspan origin ip-address 10.1.1.1 global switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 303 ERSPAN timer with the master timer in the switch. 588 granularity mode is not supported in Cisco NX-OS Release 6.1 and is rejected if selected. M2 Series modules support 100 microseconds, 100 nanoseconds, and nanoseconds granularity. F2 Series and F2e Series modules support only 100 microseconds and 100 nanoseconds granularity.
  • Page 304: Monitor Session

    The number of sessions has been increased to 48. 4.0(1) This command was introduced. Usage Guidelines While configuring an ERSPAN source session, if rx, tx, or both keywords are not entered, the source is configured for both directions. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 305 The new session configuration is added to the existing session configuration. By default, the session is created in the shut state, and the session is a local SPAN session. For more information about the ERSPAN configuration, see the Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 6.x.
  • Page 306 Adds a comment or a description of up to 32 characters to a SPAN session. destination Adds a SPAN destination where source packets are copied. source Configures the source and the traffic direction in which to copy packets for a SPAN and ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 307: Mtu

    MTU truncation and ERSPAN sampling can be enabled at the same time and have no precedence over Note each other because they are applied to different aspects of the source packet (size versus packet count). This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 308 Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. show monitor session Displays the status of the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 309: Multicast Best-effort

    Examples This example shows how to configure the multicast best effort mode for the specifies ERSPAN or SPAN session: switch# configure terminal switch(config)# monitor session 3 switch(config-monitor)# multicast best-effort switch(config-monitor)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 310 Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. show monitor session Displays the status of the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 311: N Commands

    N Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter N. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 312: Ntp Abort

    This example shows how to abort the NTP configuration: switch# ntp abort No changes to abort switch# Related Commands Command Description ntp commit Commits the NTP configuration. ntp distribute Enables Cisco Fabric Services (CFS) distribution for NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 313: Ntp Access-group

    Added the serve, serve-only, and query-only keywords. 5.0(1) This command was introduced. Usage Guidelines Make sure that you are in the correct virtual device context (VDC). To change the VDC, use the switchto vdc command. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 314 Cisco NX-OS. ACL processing stops and does not continue to the next access group option if the incoming packet does not match the peer access group or if NTP matches a deny ACL rule in a configured peer.
  • Page 315: Ntp Authenticate

    This command does not require a license. Examples This example shows how to enable NTP authentication: switch(config)# ntp authenticate switch(config)# This example shows how to disable NTP authentication: switch(config)# no ntp authenticate switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 316 Configures one or more keys that a time source must provide in its NTP packets in order for the device to synchronize to it. show ntp Displays the status of NTP authentication. authentication-status Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 317: Ntp Authentication-key

    Specifies the MD5 algorithm for authentication. md5-string MD5 string. Cisco NX-OS Release 5.2(3) and later 5.x releases support up to 15 alphanumeric characters for the MD5 string. Earlier 5.x releases and Cisco NX-OS Release 6.0(1) support up to 8 alphanumeric characters.
  • Page 318 Related Commands Command Description show ntp Configures one or more keys that a time source must provide in its NTP authentication-key packets in order for the device to synchronize to it. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 319: Ntp Broadcast

    This command does not require a license. Examples This example shows how to enable an NTP IPv4 broadcast server on the interface: switch# configure terminal switch(config)# interface ethernet 6/1 switch(config-if)# ntp broadcast destination 192.0.2.10 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 320 N Commands ntp broadcast Related Commands Command Description ntp enable Enables NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 321: Ntp Broadcastdelay

    Time accuracy is marginally reduced in NTP broadcast associations because information flows only one way. This command does not require a license. Examples This example shows how to configure the estimated broadcast round-trip delay: switch# configure terminal switch(config-if)# ntp broadcastdelay 100 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 322 N Commands ntp broadcastdelay Related Commands Command Description ntp enable Enables NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 323: Ntp Commit

    This example shows how to commit the NTP configuration: switch# ntp commit switch# Related Commands Command Description ntp abort Aborts the NTP configuration. ntp distribute Enables Cisco Fabric Services (CFS) distribution for NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 324: Ntp Disable

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to disable NTP: switch# ntp disable Related Commands Command Description ntp enable Enables NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 325: Ntp Distribute

    N Commands ntp distribute ntp distribute To enable Cisco Fabric Services (CFS) distribution for the Network Time Protocol (NTP), use the ntp distribute command. To disable this feature, use the no form of this command. ntp distribute no ntp distribute Syntax Description This command has no arguments or keywords.
  • Page 326: Ntp Enable

    This command does not require a license. Examples This example shows how to disable NTP: switch# no ntp enable Related Commands Command Description ntp server Configures a remote NTP server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 327: Ntp Logging

    This example shows how to enable NTP logging: switch# config t switch(config)# ntp logging switch(config)# This example shows how to disable NTP logging: switch# config t switch(config)# no ntp logging switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 328 N Commands ntp logging Related Commands Command Description show ntp Displays the NTP logging status. logging-status show ntp statistics Displays the NTP statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 329: Ntp Master

    5 This example shows how to remove a device as an authoritative NTP server: switch# configure terminal switch(config)# no ntp master 5 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 330 Related Commands Command Description feature ntp Enables NTP on a virtual device context (VDC). show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 331 This command does not require a license. Examples This example shows how to configure an NTP IPv6 multicast server on an interface: switch(config)# interface ethernet 6/1 switch(config-if)# ntp multicast FF02:1::FF0E:8C6C Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 332 Enables NTP on a virtual device context (VDC). ntp multicast client Configures an NTP multicast client on an interface. show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 333 This command does not require a license. Examples This example shows how to configure an NTP IPv6 multicast server on an interface: switch(config)# interface ethernet 6/1 switch(config-if)# ntp multicast client FF02:1::FF0E:8C6C Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 334 Configures an NTP multicast server on an interface. feature ntp Enables NTP on a virtual device context (VDC). show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 335 Make sure that you are in the correct virtual device context (VDC). To change the VDC, use the switchto vdc command. This command is available beginning with Cisco NX-OS Release 6.2(2). In previous releases, associations are enabled automatically and cannot be disabled.
  • Page 336: Ntp Peer

    If you configure a key to be used while communicating with the NTP server, make sure that the key exists as a trusted key on the device. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 337 190.0.2.1 switch(config)# Related Commands Command Description ntp server Configures an NTP server. show ntp peers Displays all the NTP peers. show ntp peer-status Displays the status for all the server/peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 338: Ntp Server

    If you configure a key to be used while communicating with the NTP server, make sure that the key exists as a trusted key on the device. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 339 Description ntp peer onfigures a device as an NTP peer. show ntp peer-status Displays the status of all NTP servers and peers. show ntp peers Displays all the NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 340: Ntp Source

    192.0.2.3 This example shows how to remove the NTP source: switch(config)# no ntp source 192.0.2.3 Related Commands Command Description show ntp source Displays information about the NTP source. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 341: Ntp Source-interface

    This example shows how to remove an NTP source configuration: switch(config)# no ntp source-interface loopback 1 switch(config)# Command Description show ntp Displays information about the NTP source interface. source-interface Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 342: Ntp Sync-retry

    Usage Guidelines This command does not require a license. Examples This example shows how to resynchronize NTP: switch# ntp sync-retry Related Commands Command Description ntp server Configures a remote NTP server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 343: Ntp Trusted-key

    This example shows how to configure an NTP trusted key: switch# config t switch(config)# ntp trusted-key 42 switch(config)# This example shows how to remove the NTP trusted key: switch# config t switch(config)# no ntp trusted-key 42 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 344 N Commands ntp trusted-key Related Commands Command Description show ntp trusted-keys Displays the status of NTP authentication. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 345: O Commands

    O Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter O. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 346: Option Exporter-stats Timeout

    This example shows how to remove the NetFlow exporter resend timer configuration: switch(config-flow-exporter-version-9)# no option exporter-stats timeout switch(config-flow-exporter-version-9)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 347: Option Interface-table Timeout

    This example shows how to remove the NetFlow exporter interface-table timer configuration: switch(config-flow-exporter-version-9)# no option interface-table timeout Related Commands Command Description show flow exporter Displays information about the NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 348: Option Sampler-table Timeout

    1200 switch(config-flow-exporter-version-9)# This example shows how to remove the sampler-table timer configuration: switch(config)# no option sampler-table timeout switch(config)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 349: P Commands

    P Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter P. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 350: Port-monitor Activate

    This example shows how to deactivate a port-monitor policy: switch(config-port-monitor)# no port-monitor activate policy_1 switch(config)# Related Commands Command Description counter Configures an individual counter. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 351: Port-monitor Enable

    This example shows how to disable the SNMP port-monitor feature: switch(config)# no port-monitor enable switch(config)# Related Commands Command Description port-monitor activate Activates the specified port-monitor policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 352: Port-monitor Name

    PM1 switch(config-port-monitor)# This example shows how to remove an SNMP port-monitor policy: switch(config)# no port-monitor name PM1 switch(config) Related Commands Command Description port-monitor activate Activates the specified port-monitor policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 353: Port-type

    PM1 switch(config-port-monitor)# port-type all switch(config-port-monitor)# This example shows how to remove a port-type configuration: switch(config-port-monitor)# no port-type all switch(config-port-monitor)# Related Commands Command Description port-monitor activate Activates the specified port-monitor policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 354 This example shows how to enable EEE LPI threshold aggressive sleep mode: switch(config-if)# power efficient-ethernet sleep threshold aggressive ERROR: Ethernet2/1: Port is not capable of Energy Efficient Ethernet Related Commands Command Description show module Displays information about a module. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 355: Poweroff Module

    This command does not require a license. Examples This example shows how to power off module 2: switch# poweroff module 2 Related Commands Command Description show module Displays information about a module. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 356: Power Redundancy-mode

    The power supply that can supply the most power operates in standby mode. The other one or two power supplies are active. The available power is the amount of power provided by the active power supply units. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 357 This example shows how to disable the power supply redundancy mode: switch# config t switch(config)# no power redundancy-mode ps-redundant Related Commands Command Description show environment Displays information about the power capacity and power distribution of power the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 358: Ptp Announce

    This command does not require a license. Examples This example shows how to configure the interval between PTP announce messages on an interface: switch# configure terminal switch(config)# interface ethernet 5/1 switch(config-if)# ptp announce interval 1 switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 359 Configures the interval between PTP synchronization messages on an interface. ptp vlan vlan Configures the PTP VLAN value on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 360: Ptp Delay-request Minimum Interval

    3 switch(config-if)# This example shows how to remove the minimum interval configuration for PTP delay-request messages: switch(config)# interface ethernet 5/1 switch(config-if)# no ptp delay-request minimum interval 3 switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 361 PTP intervals before a timeout occurs on an interface. ptp sync interval Configures the interval between PTP synchronization messages on an interface. ptp vlan vlan Configures the PTP VLAN value on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 362: Ptp Domain

    Configures the source IP address for all PTP packets. ptp priority1 Configures the priority1 value to use when advertising this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 363 P Commands ptp domain Command Description show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 364: Ptp Priority1

    Configures the domain number to use for this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 365: Ptp Priority2

    Configures the source IP address for all PTP packets. ptp domain Configures the domain number to use for this clock. ptp priority1 Configures the priority1 value to use when advertising this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 366 P Commands ptp priority2 Command Description show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 367: Ptp Source

    10.1.1.1 switch(config)# Related Commands Command Description feature ptp Enables or disables PTP on the device. ptp domain Configures the domain number to use for this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 368 Configures the priority1 value to use when advertising this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 369: Ptp Sync Interval

    1 switch(config-if)# This example shows how to remove the interval configuration for PTP messages synchronization: switch(config)# interface ethernet 5/1 switch(config-if)# no ptp sync interval 1 switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 370 Configures the minimum interval allowed between PTP delay-request minimum interval messages when the port is in the master state. ptp vlan vlan Configures the PTP VLAN value on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 371: Ptp Vlan

    5/5 switch(config-if)# ptp vlan 9 switch(config-if)# This example shows how to remove the PTP VLAN value from an interface: switch(config)# interface ethernet 5/5 switch(config-if)# no vlan 9 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 372 Configures the minimum interval allowed between PTP delay-request minimum interval messages when the port is in the master state. ptp sync interval Configures the interval between PTP synchronization messages on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 373: R Commands

    R Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter R. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 374: Rate-limit

    This command does not require a license Examples This example shows how to configure the rate limit for SPAN packets in the specified SPAN session: switch# configure terminal switch(config)# monitor session 3 switch(config-monitor)# rate-limit 30 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 375 Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. show monitor session Displays the status of the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 376: Record

    This example shows how to remove a record from a NetFlow monitor: switch(config-flow-record)# no record netflow ipv4 original-input switch(config-flow-record)# Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 377: Record Netflow

    Related Commands Command Description record Specifies a flow record to be used by a NetFlow monitor. record netflow-original Selects an input IPv4 record. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 378: Record Netflow Ipv4

    This example shows how to remove the NetFlow IPv4 record selection: switch(config-flow-monitor)# no record netflow ipv4 original-input Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 379: Record Netflow Ipv6

    This example shows how to remove the NetFlow IPv6 record selection: switch(config-flow-monitor)# no record netflow ipv6 original-input switch(config-flow-monitor)# Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 380: Record Netflow-original

    This example shows how to remove the record selection: switch(config-flow-monitor)# no record netflow-original switch(config-flow-monitor)# Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 381: Remote-span

    100 switch(config-vlan)# remote-span This example shows how to remove an RSPAN VLAN configuration: switch(config-vlan)# no remote-span switch(config-vlan)# Related Commands Command Description monitor session Enters the monitor configuration mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference