Download  Print this page

Cisco Nexus 7000 Series Reference Manual

Nx-os system management command reference
Hide thumbs
   
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

loading

  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 OL-25806-03...
  • Page 382: Rmon Alarm

    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 383 15 1 falling-threshold 0 owner cisco Related Commands Command Description rmon event Configures an RMON event. rmon hcalarm Configures the 64-bit RMON alarm. show rmon Displays RMON configuration and logged information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 384: Rmon Event

    You may chose to load the default RMON events template configuration or you can delete these entries Note and create new RMON events. Until you create RMON alarm configurations, however, no alarms will be triggered by these configurations. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 385 This example shows how to configure RMON event 2 to log the onboard RMON log and send an SNMP trap to public community trap destinations: switch# config terminal switch(config)# rmon event 2 log trap public description CriticalErrors owner cisco switch# Related Commands...
  • Page 386: Rmon Hcalarm

    (Optional) Specifies an owner for the alarm. The maximum size is 80 alarm-owner alphanumeric characters. 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. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 387 3906340864 owner cisco Related Commands Command Description rmon alarm Configures a 32-bit RMON alarm. rmon hcalarm Configures a 64-bit RMON alarm. show rmon Displays RMON configuration and logging information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 388: Role Distribute

    R Commands role distribute role distribute To enable Cisco Fabric Services (CFS) to distribute role configurations, use the role distribute command. role distribute Syntax Description This command has no arguments or keywords. Defaults None Command Modes Global configuration mode Supported User Roles...
  • Page 389: Rollback Running-Config Checkpoint

    VDC ID as the local VDC. This command does not require a license. Examples This example shows how to implement a rollback for the configured checkpoint file: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 390 Generating Rollback Patch Executing Rollback Patch Generating Running-config for verification Generating Patch for verification switch(config)# Related Commands Command Description show diff Displays the differences between the source and the destination file. rollback-patch Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 391: S Commands

    S Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter S, excluding the show commands. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 392: Sampler

    The range is from 1 to 64. – out-of—Specifies the samples per packet ratio. – packets—Number of packets in each sampling. The range is from 1 to 8192. – Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 393 This example shows how to remove a sampler definition: switch(config)# no sampler testsampler switch(config-flow)# Related Commands Command Description flow exporter Creates a flow exporter. flow monitor Creates a flow monitor. flow record Creates a flow record. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 394 This example shows how to set the sampling range for the SPAN packets: switch(config)# monitor session 3 type erspan-source switch(config-erspan-src)# sampling 100 switch(config-monitor)# Related Commands Command Description monitor session Enters the monitor configuration mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 395: Save

    This example shows how to save a configuration session to a file in bootflash: switch# configure session myACLs switch(config-s)# save bootflash:sessions/myACLs Related Commands Command Description delete Deletes a file from a location. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 396: Scheduler

    Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines To use this command, the scheduler must already be enabled. To enable the scheduler, use the feature scheduler command. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 397 7 newpwd2 This example shows how to specify a name and authentication password for a remote user: switch# config t switch(config)# scheduler aaa-authentication username admin1 password newpwd3 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 398 S Commands scheduler Related Commands Command Description feature scheduler Enables the scheduler. show scheduler Displays scheduler information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 399: Shut

    This example shows how to enable a SPAN session: switch(config-monitor)# no shut switch(config-monitor)# Related Commands Command Description monitor session Enters the monitor configuration mode. show monitor session Displays the virtual SPAN or ERSPAN configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 400: Snmp-Server Aaa-User Cache-Timeout

    This example shows how to configure the AAA user synchronization timeout value: switch# configure terminal switch(config)# snmp-server aaa-user cache-timeout 6000 Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 401: Snmp-Server Community

    Use the snmp-server community command to configure read-only or read-write access to the SNMP agent on the device. You can optionally configure the community for an access group or user role. For more information on user roles, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x.
  • Page 402 S Commands snmp-server community Related Commands Command Description show snmp community Displays information about SNMP communities. show snmp group Displays information about configured user roles. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 403: Snmp-Server Contact

    This command does not require a license. Examples This example shows how to configure the SNMP contact: switch# configure terminal switch(config)# snmp-server contact Jane Smith@anyplace.com Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 404: Snmp-Server Context

    SNMP context and use the snmp-server context command to map this context to a logical network entity. For more information on context mapping, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x. This command does not require a license.
  • Page 405 Related Commands Command Description show snmp context Displays information about SNMP contexts. snmp-server mib Maps an SNMPv2c community to an SNMP context. community-map Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 406: Snmp-Server Enable Traps

    [FeatureOpStatusChange] | hsrp [state-change] | license [notify-license-expiry] [notify-license-expiry-warning] [notify-licensefile-missing] [notify-no-license-for-feature] | link [IETF-extended-linkDown] [IETF-extended-linkUp] [cisco-extended-linkDown] [cisco-extended-linkUp] [linkDown] [linkUp] | ospf instance-tag [lsa | rate-limit rate] | port-security [access-secure-mac-violation] [trunk-secure-mac-violation] | rf [redundancy_framework] | rmon [fallingAlarm | hcFallingAlarm | hcRisingAlarm |...
  • Page 407 (Optional) Enables Internet engineering task force (IETF) extended link IETF-extended-linkD state down notifications. IETF- (Optional) Enables IETF extended link state up notifications. extended-linkUp cisco-extended-linkDo (Optional) Enables Cisco extended link state down notifications. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 408 (Optional) Enables default zone behavior change notifications. -change merge-failure (Optional) Enables merge failure notifications. merge-success (Optional) Enables merge success notifications. request-reject1 (Optional) Enables request reject notifications. unsupp-mem (Optional) Enables unsupported member notifications. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 409 This example shows how to enable BGP notifications: switch# configure terminal switch(config) snmp-server enable traps bgp Related Commands Command Description show snmp trap Displays the enable or disable state of all SNMP notifications. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 410: Snmp-Server Globalenforcepriv

    This command does not require a license. Examples This example shows how to globally enforce privacy for all SNMP contacts: switch# configure terminal switch(config)# snmp-server globalEnforcePriv Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 411: Snmp-Server Host

    1 to 128. loopback number Specifies the virtual interface number. The range is from 0 to 1023. mgmt number Specifies the management interface number. The value is 0. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 412 This example shows how to remove an SNMP server host: switch(config)# no snmp-server host 192.0.2.1 traps snmp1 udp-port 1 switch(config)# Related Commands Command Description snmp-server Configures the SNMP community string. community snmp-server contact Configures the SNMP contact information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 413: Snmp-Server Host Filter-Vrf

    Displays SNMP information. snmp-server host Configures an SNMP host receiver. snmp-server host Configures Cisco NX-OS to send notifications on the specified VRF to use-vrf communicate with an SNMP host receiver. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 414: Snmp-Server Host Use-Vrf

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to configure Cisco NX-OS to communicate with the host receiver on the blue VRF. switch# config terminal switch(config)# snmp-server host 10.1.1.1 use-vrf blue...
  • Page 415: Snmp-Server Location

    This command does not require a license. Examples This example shows how to set the SNMP location: switch# config terminal switch(config)# snmp-server location SanJose Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 416: Snmp-Server Mib Community-Map

    Use the snmp-server mib community-map command to map between SNMPv2c communities and SNMP contexts. Use the snmp-server context command to map this context to a logical network entity. For more information on context mapping, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x.
  • Page 417 Related Commands Command Description show snmp community Displays information about SNMP communities. show snmp context Displays information about SNMP contexts. snmp-server context Maps an SNMP context to a logical network entity. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 418: Snmp-Server Protocol Enable

    Use the no snmp protocol enable command to disable SNMP and close any TCP or UDP ports associated with the protocol. This command does not require a license. Examples This example shows how to disable SNMP: switch# configure terminal switch(config)# no snmp-server protocol enable Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 419: Snmp-Server Source-Interface

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to configure an SNMP source interface: switch(config)# snmp-server source-interface traps ethernet 1/1 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 420 This example shows how to remove the SNMP source interface: switch(config)# no snmp-server source-interface traps ethernet 1/1 switch(config)# Related Commands Command Description snmp-server Configures the SNMP community string. community snmp-server host Configures a host receiver for SNMP notifications. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 421: Snmp-Server Tcp-Session

    This example shows how to enable one-time authentication for SNMP over a TCP session. switch# config t switch(config)# snmp-server tcp-session auth Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 422: Snmp-Server User

    SNMP user configuration across devices because the user password contains information on the engine ID of the device. If you copy a configuration file Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 423 00:12:00:00:09:03:00:05:48:00:74:30 Related Commands Command Description role name Configures role profiles used as SNMP group names. show snmp Displays SNMP information. snmp-server host Configures SNMP server host information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 424: Snmp-Server User Enforcepriv

    Related Commands Command Description role name Configures role profiles used as SNMP group names. show snmp Displays SNMP information. snmp-server user Configures SNMP user information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 425: Snmp-Trap

    This example shows how to generate an SNMP trap when an EEM applet is triggered: switch(config)# event manager applet snmp-applet switch(config-applet)# action 1 snmp-trap strdata "EEM detected server failure” switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 426 S Commands snmp-trap Related Commands Command Description 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 427: Source

    This example shows how to remove the Netflow exporter source interface configuration: switch(config-flow-exporter)# no source Ethernet3/11 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 428 This example shows how to configure sources and the traffic direction in which to copy packets: switch(config)# monitor session 1 switch(config-monitor)# source vlan 3, 6-10 tx switch(config-monitor)# This example shows how to remove a source configuration: switch(config-monitor)# no source vlan 3, 6-10 tx switch(config-monitor)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 429 S Commands source Related Commands Command Description show monitor session Displays the virtual SPAN or ERSPAN configuration. copy running-config Copies the running configuration to the startup configuration. startup-config Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 430 1 switch(config-monitor)# source exception all This example shows how to configure the source as an exception ERSPAN session: switch(config)# monitor session 3 type erspan-source switch(config-erspan-src)# source exception all Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 431 S Commands source exception Related Commands Command Description monitor session Enters the monitor configuration mode. show monitor session Displays the virtual SPAN or ERSPAN configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 432: Switchport Monitor

    This example shows how to disable the SPAN destination on Ethernet interface 7/2: switch# config t Enter configuration commands, one per line. End with CNTL/Z. switch(config)# interface eth 7/2 switch(config-if)# no switchport monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 433 S Commands switchport monitor switch(config-if)# Related Commands Command Description monitor session Enters the monitor configuration mode for configuring a SPAN session. show monitor session Displays the SPAN or ERSPAN session configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 434: System Cores

    This example shows how to configure a core file: switch# configure terminal switch(config)# system cores slot0:core_file This example shows how to disable system core logging: switch# configure terminal switch(config)# no system cores Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 435 S Commands system cores Related Commands Command Description clear system cores Clears the core file. show system cores Displays the core filename. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 436: System Hap-Reset

    This example shows how to enable the Supervisor Reset HA policy: switch(config)# system hap-reset switch(config)# Related Commands Command Description show system standby Displays the status of the system standby manual boot option. manual-boot Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 437: System Heartbeat

    This example shows how to enable the heartbeat checks (default) and revert to the factory default: switch(config)# system heartbeat switch(config)# Related Commands Command Description system no hap-reset Disables the heartbeat checks (default) and reverts to the factory default. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 438: System No Hap-Reset

    This command does not require a license. Examples This example shows how to disable the Supervisor Reset HA policy: switch(config)# system no hap-reset switch(config)# Related Commands Command Description system hap-reset Enables the Supervisor Reset HA policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 439: System No Heartbeat

    This example shows how to disable the heartbeat checks (default) and revert to the factory default: switch(config)# system no heartbeat switch(config)# Related Commands Command Description system heartbeat Enables the heartbeat checks (default) and reverts to the factory default. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 440: System No Standby Manual-Boot

    This example shows how to disable the system standby manual boot option: switch(config)# system no standby manual-boot system standby manual-boot option disabled switch(config)# Related Commands Command Description show system standby Displays the status of the system standby manual boot option. manual-boo Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 441: System No Watchdog

    This example shows how to disable the watchdog feature: switch(config)# system no watchdog switch(config)# Related Commands Command Description system no watchdog Prevents the system from entering the Linux KGDB debugger on a kgdb watchdog failure. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 442: System No Watchdog Kgdb

    This example shows how to prevent the system from entering the Linux KGDB debugger on a watchdog failure: switch(config)# system no watchdog kgdb switch(config)# Related Commands Command Description system no watchdog Disables the watchdog feature. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 443: System Pss Shrink

    This example shows how to shrink PSS files on the system: switch(config)# system pss shrink pss shrink completed switch(config) Related Commands Command Description show system pss Displays the last PSS shrink status. shrink status Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 444: System Standby Manual-Boot

    This example shows how to display the standby manual-boot status: switch(config)# system standby manual-boot system standby manual-boot option enabled switch(config)# Related Commands Command Description system startup-config Initializes the startup configuration. init Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 445: System Startup-Config Init

    WARNING: This command is going to re-initialize the contents of the startup-conf iguration. Do you want to continue? (y/n) Related Commands Command Description system startup-config Releases the system startup-configuration lock. unlock Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 446: System Startup-Config Unlock

    This command does not require a license. Examples This example shows how to release a system startup-configuration lock: switch(config)# system startup-config unlock switch(config)# Related Commands Command Description system startup-config Initializes the startup configuration. init Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 447: System Test-Preupgrade Running-Ver

    System will be upgraded according to following table: Module Swid Impact Running-Version New-Version Upg-Required ------ ---------- ---------- -------------------- -------------------- ------------ 4.2.1 hitless 4.2<0.202> Update 4.2.1 hitless 4.2<0.202> Update 4.2.1 hitless 4.2<0.202> Update Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 448 Module Impact ------ ---------- hitless hitless hitless Message from services: switch(config)# Related Commands Command Description system startup-config Releases a system startup-configuration lock. unlock system startup-config Initializes the startup configuration. init Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 449: System Switchover

    This command does not require a license. Examples This example shows how to switch over to the standby supervisor: switch# system switchover switch# Related Commands Command Description show system redundancy Displays the system redundancy status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 450: System Trace

    This example shows how to remove the system trace level configuration: switch(config)# system no trace switch(config)# Related Commands Command Description show cores Displays the system core files. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 451: System Watchdog

    Related Commands Command Description system no watchdog Disables the watchdog feature. system no watchdog Prevents the system from entering the Linux KGDB debugger on a kgdb watchdog failure. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 452: System Watchdog Kgdb

    This example shows how to configure the system to enter the Linux KGDB debugger on a watchdog failure: switch(config)# system watchdog kgdb switch(config)# Related Commands Command Description system watchdog Enables the watchdog feature. system no watchdog Disables the watchdog feature. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 453: Show Commands

    Show Commands This chapter describes the Cisco NX-OS system management show commands. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 454: Show Callhome

    Name of the profile. The name can be the default profile name or the profiles that you created. last action status Displays the status of the last Cisco Fabric Services (CFS) commit/abort operation. last merge status Displays the status of the last CFS merge operation for Call Home.
  • Page 455 Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 456: Show Callhome Transport

    Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 457 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 458: Show Cdp

    Show Commands show cdp show cdp To display the interfaces that have the Cisco Discovery Protocol (CDP) enabled, use the show cdp command. show cdp {all | entry {all | name name} | global | interface interface-type | traffic interface...
  • Page 459 Refresh time is 60 seconds Hold time is 30 seconds Ethernet7/5 is down CDP enabled on interface Refresh time is 60 seconds --More-- Related Commands Command Description enable cdp Enables CDP on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 460: Show Cdp Neighbors

    Show Commands show cdp neighbors show cdp neighbors To display the status of Cisco Discovery Protocol (CDP) neighbors, use the show cdp neighbors command. show cdp neighbors [interface interface] Syntax Description interface (Optional) Displays CDP neighbors on an interface. interface...
  • Page 461: Show Cfs Application

    Show Commands show cfs application show cfs application To display information about applications that are currently enabled to use Cisco Fabric Services (CFS) distribution, use the show cfs application command. show cfs application [name application_name] Syntax Description name (Optional) Displays the name of a specific application.
  • Page 462 Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 463: Show Cfs Lock

    Show Commands show cfs lock show cfs lock To display information about locks that are currently in place for an application that uses Cisco Fabric Services (CFS) for distribution, use the show cfs lock command. show cfs lock [name application_name]...
  • Page 464 Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 465: Show Cfs Merge Status

    Show Commands show cfs merge status show cfs merge status To display the merge status for an application that uses Cisco Fabric Services (CFS) for distribution, use the show cfs merge status command. show cfs merge status [name application_name] Syntax Description name (Optional) Displays the name of a specific application.
  • Page 466 Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 467: Show Cfs Peers

    Displays information about applications that are currently enabled to use CFS distribution. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 468 Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 469: Show Cfs Regions

    Show Commands show cfs regions show cfs regions To display all Cisco Fabric Services (CFS) applications with peers and region information, use the show cfs regions command. show cfs regions {name application_name | region region_id} show cfs regions brief {name application_name | region region_id}...
  • Page 470 Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 471: Show Cfs Status

    Show Commands show cfs status show cfs status To display the current state of Cisco Fabric Services (CFS), use the show cfs status command. show cfs status Syntax Description This command has no arguments or keywords. Defaults None Command Modes...
  • Page 472 Displays all the CFS applications with peers and region information. show logging level cfs Displays the CFS logging configuration. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 473: Show Checkpoint

    Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 474 5 $1$Oip/C5Ci$oOdx7oJSlBCFpNRmQK4na. role vdc-ope rator username adminbackup role network-operator username admin password 5 $1$8GYeC4uW$4WfnImcvtAKI6Uet.ePD.1 role network-admin Related Commands Command Description clear checkpoint Clears out all the checkpoint files. database Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 475: Show Configuration Session

    This command does not require a license. Examples This example shows how to display information about a configuration session. Each line represents a CLI command that Cisco NX-OS applies to the device when you commit the session. switch# show configuration session myACLs config session name myACLs...
  • Page 476 00:56:46 UTC Apr 29 2008 Number of active configuration sessions = 4 switch(config-s)# Related Commands Command Description show tech-support Shows detailed information about the configuration sessions for session-mgr troubleshooting purposes. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 477: Show Configuration Session Global-Info

    Current number of commands (all ssns) switch(config)# Related Commands Command Description show configuration session Displays information about the configuration sessions. show tech-support Displays detailed information about the configuration sessions for session-mgr troubleshooting purposes. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 478: Show Cores

    VDC No Module-num Instance-num Process-name Core-create-tim ------ ---------- ------------ ------------ --------------- xmlsa 32442 May 8 15:24 xmlsa 25163 May 9 06:04 xmlsa 21581 May 9 13:25 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 479 Show Commands show cores Related Commands Command Description show system core Displays information about transferring cores. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 480: Show Diagnostic Bootup Level

    This example shows how to display information about the bootup diagnostic level: switch# show diagnostic bootup level Current bootup diagnostic level: complete switch# Related Commands Command Description diagnostic bootup level Configures the diagnostic bootup level. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 481: Show Diagnostic Content Module

    - Exclusively run this test / NA - Not an ondemand test / NA A/I/* - Monitoring is active / Monitoring is inactive / NA Testing Interval Name Attributes (hh:mm:ss) ____ __________________________________ ____________ _________________ Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 482 Displays information about a simulated diagnostic. simulation module slot show diagnostic status Displays test status for all tests on a module. module slot show module Displays module information including online diagnostic test status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 483: Show Diagnostic Description Module

    6 test 1 ManagementPortLoopback : A bootup test that tests loopback on the management port of the module Related Commands Command Description show diagnostic Displays diagnostic test names and test IDs. content Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 484: Show Diagnostic Events

    Reason->Success This example shows how to display diagnostic events by information type: switch# show diagnostic events info 1) Event:E_DEBUG, length:114, at 934712 usecs after Wed Jan 7 11:40:06 2009 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 485 This example shows how to display diagnostic events by event type: switch# show diagnostic events error switch# Related Commands Command Description show diagnostic Displays diagnostic test names and test IDs. content Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 486: Show Diagnostic Ondemand Setting

    Test iterations = 1 Action on test failure = continue until test failure limit reaches 1 Related Commands Command Description diagnostic ondemand Configures the diagnostic on-demand setting. setting Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 487: Show Diagnostic Result

    ______________________________________________________________________ 6) NVRAM-------------------------> . Error code ------------------> DIAG TEST SUCCESS Total run count -------------> 1574 Last test execution time ----> Thu Jun 26 09:28:40 2008 First test failure time -----> Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 488 Last test failure time ------> Last test pass time ---------> Thu Jun 26 09:28:41 2008 Total failure count ---------> 0 Consecutive failure count ---> 0 Last failure reason ---------> No failures yet switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 489: Show Diagnostic Simulation

    This example shows how to display information about simulated diagnostics: switch# show diagnostic simulation module 6 Card(6): Supervisor module-1X ________________________________________________ -NA- switch# Related Commands Command Description diagnostic test Sets a simulated test result for a diagnostic test. simulation Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 490: Show Diagnostic Status

    6 <BU>-Bootup Diagnostics, <HM>-Health Monitoring Diagnostics <OD>-OnDemand Diagnostics, <SCH>-Scheduled Diagnostics ============================================== Card:(6) Supervisor module-1X ============================================== Current running test Run by -NA- -NA- Currently Enqueued Test Run by -NA- -NA- switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 491: Show Diff Rollback-Patch

    Related Commands Command Description show checkpoint Displays the contents of the checkpoint file. rollback running Implements a rollback for the configured checkpoint file. checkpoint Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 492: Show Environment

    This command does not require a license. Examples This example shows how to display information about the hardware environment: switch# show environment Clock: ---------------------------------------------------------- Clock Model Status ---------------------------------------------------------- Clock Module NotSupported/None Clock Module NotSupported/None Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 493 Allocated Allocated (Watts) (Amp) (Watts) (Amp) --- ------------------- ------- ---------- --------- ---------- ---------- N7K-M148GT-11 247.00 4.94 247.00 4.94 Powered-Up N7K-SUP1 210.00 4.20 210.00 4.20 Powered-Up N7K-C7010-FAB-1 123.50 2.47 123.50 2.47 Powered-Up Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 494 Power reserved for Fabric Module(s) 300.00 W Power currently used by Modules 247.00 W ------------- Total Power Available 2849.00 W ------------- Related Commands Command Description power redundancy-mode Configures the power supply redundancy mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 495: Show Environment Power

    By reading information from the power supply, the system displays the power consumption information. The actual power consumed by the system might be more than what is displayed. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 496 42.14 A switch(config)# Related Commands Command Description show environment Displays information about the hardware environment status. show hardware Displays information about the platform hardware resources currently capacity utilized by the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 497: Show Event Manager Environment

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display all of the EEM environment variables: switch# show event manager environment all switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 498: Show Event Manager Event-Types

    Usage Guidelines This command does not require a license. Examples This example shows how to display the details of the EEM event types: switch# show event manager event-types detail switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 499: Show Event Manager History Events

    This command does not require a license. Examples This example shows how to display the EEM history events that have been triggered that were of severity switch# show event manager history events severity 7 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 500: Show Event Manager Policy

    4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the EEM policies: switch# show event manager policy switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 501: Show Event Manager Policy-State

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the state of an EEM policy: switch# show event manager policy-state policy42 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 502: Show Event Manager Script

    This command does not require a license. Examples This example shows how to display all the system scripts defined in the EEM: switch# show event manager script system all switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 503: Show Event Manager System-Policy

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 504 Disable the port Overridable : Yes Name : __external_compact_flash Description : Do CallHome, log error and disable further HM testing after 20 consecutive failures of GOLD "ExternalCompactFlash" test Overridable : Yes switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 505: Show Flow Exporter

    Number of Packets Dropped (other) 0 Number of Packets Dropped (LC to RP Error) 0 Number of Packets Dropped (Output Drops) 0 Time statistics were last cleared: Never Flow exporter timeout: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 506 Configures the source IP address interface for flow exporters. template Configures the template resend timeout for flow exporters. transport Configures the transport protocol for flow exporters. Configures the time-to-live (TTL) value for flow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 507: Show Flow Interface

    1/0 Interface Ethernet1/0 FNF: monitor: NFC-DC-PHOENIX direction: Output traffic(ip): switch# show flow interface ethernet 0/0 Interface Ethernet0/0 FNF: monitor: FLOW-MONITOR-1 direction: Input traffic(ip): sampler SAMPLER-2# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 508: Show Flow Monitor

    Sampler— The flow monitor is in sampler mode (the • name of the sampler is included in the display). Related Commands Command Description show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 509 NFC-DC-PHOENIX statistics Cache type: Normal Cache size: 4096 Current entries: High Watermark: Flows added: Flows aged: - Active timeout 1800 secs) - Inactive timeout ( 15 secs) - Event aged Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 510 Flow Record: netflow-original Flow Exporter: EXP-DC-TOPEKA EXP-DC-PHOENIX Cache: Type: normal Status: allocated Size: 4096 entries / 311316 bytes Inactive Timeout: 15 secs Active Timeout: 1800 secs Update Timeout: 1800 secs Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 511 - Inactive timeout ( 15 secs) 1528 - Event aged - Watermark aged - Emergency aged IP TOS: 0x00 IP PROTOCOL: IPV4 SOURCE ADDRESS: 10.10.10.2 IPV4 DESTINATION ADDRESS: 172.16.10.2 TRNS SOURCE PORT: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 512 The source port for the transport protocol. TRNS DESTINATION PORT The destination port for the transport protocol. INTERFACE INPUT The interface that the input is received on. FLOW SAMPLER ID The flow sampler ID number. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 513 Specifies a flow exporter for flow monitors. flow monitor Creates a flow monitor. protocol-distribution Configures the collection of protocol distribution statistics for flow monitors. record Configures a flow record for the flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 514 Show Commands show flow sw-monitor Command Description show flow sw-monitor Displays flow monitor status and statistics. size-distribution Configures the collection of size distribution statistics for flow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 515: Show Flow Record

    Traditional IPv4 output NetFlow. protocol-port Protocol ports record. This command does not require a license. Examples This example shows how to display the status and statistics of the original input NetFlow record: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 516 Configures the collection of size distribution statistics for flow monitors. protocol-distribution Configures the collection of protocol distribution statistics for flow monitors. record Configures a flow record a for flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 517: Show Flow Timeout

    Inactive timeout: 15 seconds Flush Cache timeout 15 seconds Fast timeout: Disabled Session aging timeout: Disabled Aggressive aging timeout: Disabled switch# Related Commands Command Description flow timeout Creates a flow timeout. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 518: Show Hardware Feature-Capability

    12: Device Min num too small for feature PVLAN . . switch# Related Commands Command Description show hardware Displays information about the hardware capabilities and current hardware capacity utilization by the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 519: Show Hardware Capacity

    This command was introduced. Usage Guidelines You can make network design plans based on the information about hardware capabilities and the current hardware utilization. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 520 ------------------------------------------------------------ bootflash 1762048 1383980 logflash 7997912 6840772 slot0 2026608 1985436 switch(config)# Related Commands Command Description show hardware Displays information about fabric utilizations. fabric-utilization show module Displays information about a module. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 521: Show Hardware Capacity Interface

    Interface drops: Module Total drops Highest drop ports Tx: 0 Rx: 0 Tx: 0 Rx: 0 Interface buffer sizes: Module Bytes: Tx buffer Rx buffer 6190631 7743330 6190631 7743330 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 522 Show Commands show hardware capacity interface Related Commands Command Description show hardware flow Displays information about NetFlow hardware flow utilization. utilization show hardware Displays information about fabric utilization. fabric-utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 523 Module Total drops Highest drop ports Tx: 0 Rx: 0 Tx: 0 Rx: 0 Interface buffer sizes: Module Bytes: Tx buffer Rx buffer 6190631 7743330 6190631 7743330 switch# Related Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 524 Show Commands show hardware capacity interface Command Description show hardware flow Displays information about NetFlow hardware flow utilization. utilization show hardware Displays information about fabric utilization. fabric-utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 525: Show Hardware Capacity Fabric-Utilization

    0.00 23 Gbps 0.00 0.00 23 Gbps 0.00 0.00 92 Gbps 0.00 0.00 46 Gbps 0.00 0.00 --More-- Related Commands Command Description show hardware Displays information about fabric utilization. fabric-utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 526 Slot |Mod Inst Plane| Util Time | Util Time ------------------------------------------------------------------------ 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 08-11@19:18:41 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 527 Show Commands show hardware fabric-utilization detail timestamp 08-11@19:18:41 08-11@19:18:41 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 --More-- Related Commands Command Description show hardware Displays information about fabric utilization. fabric-utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 528: Show Hardware Flow Aging

    This example shows how to display the NetFlow aging values for module 2: switch(config)# show hardware flow aging module 2 VDC(1) Aging Information (time unit is second): AgingType Enabled Timeout Period Threshold ----------+----------+----------+----------+---------- Active 1800 Inactive Fast Aggressive No Session switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 529 Show Commands show hardware flow aging Related Commands Command Description flow timeout Creates a flow timeout. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 530: Show Hardware Flow Entry

    0x0 type ip module 2 NT Entry Info (dev_id = 0, nt_entry_addr = 0x00000000): protocol = 0 (0=IPv4/IPMAC, 1=IPv6, 2=L2, 3=MPLS) profile_id recir_id is_routed from_rp lkup_dir = 0 (0=Ingress, 1=Egress) ilif(ovld_a) = 0x0 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 531 = 0x0 (URG=0, ACK=0, PSH=0, RST=0, SYN=0, FIN=0) mf_ls_ts mf_bkt nf_pkt_cnt = 0000000000 nf_byte_cnt = 0000000000000 nf_byte_cnt_excd = 0000000000000 ls_used_ts sw_prog/sticky_status = 0 Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 532 This command does not require a license. Examples This example shows how to display the NetFlow aging values for module 8: switch(config)# show hardware flow ip module 8 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 533 007.002.000.002 007.001.000.002 000:00000:00000 0000422213 ..O 8/26 007.001.000.002 007.002.000.002 000:00000:00000 0000422228 ..switch(config)# Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 534 Examples This example shows how to display detailed output information about the NetFlow Layer 2 flows: switch(config)# show hardware flow l2 detail D IF SMAC DMAC PktCnt TCP Flags DSCP Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 535 Show Commands show hardware flow l2 -+---------+--------------+--------------+----+----------+-----------+----- I V 100 0002.0002.0002 0018.bad7.e995 0800 0000279860 A F P R S U switch# Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 536: Show Hardware Flow Sampler

    This command does not require a license. Examples This example shows how to display the NetFlow sampler table utilization for module 2: switch# show hardware flow sampler count module 2 Sampler Table Utilization: about 0.00% (0/64) Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 537 Show Commands show hardware flow sampler Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 538: Show Hardware Flow Utilization

    OFE CF FIFO full failure IFE NT table full failure OFE NT table full failure NO freelist pointer failure Hash Table(NH) page full failure = 0 IPMAC lookup failure L2 ACL deny Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 539 Show Commands show hardware flow utilization L3 ACL deny IFE CF flow control OFE CF flow control Fast Aging failure switch# Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 540 Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 6.1(2) 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 541 CoS rewrite: ToS rewrite: SPAN: UDLD: MDIX: TDR capable: Link Debounce: Link Debounce Time: FEX Fabric: dot1Q-tunnel mode: Pvlan Trunk capable: Port Group Members: EEE (efficient-eth): PFC capable: switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 542: Show Interface Ethernet

    Last clearing of "show interface" counters never 0 interface resets 30 seconds input rate 0 bits/sec, 0 packets/sec 30 seconds output rate 0 bits/sec, 0 packets/sec Load-Interval #2: 5 minute (300 seconds) Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 543 0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes --More-- Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 544 Tx Packets from 1024 to 1518 bytes: Non Fcoe in packets: 13419 Non Fcoe in octets: 2392727 Non Fcoe out packets: 39883 Non Fcoe out octets: 3731578 Tx LPI usecs 74304694529 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 545 39865 Rx LPI indications 3628 switch(config)# Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 546: Show Inventory

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 547 VID: V00, NAME: "Slot 38", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Fan Module" PID: VID: V00, NAME: "Slot 39", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Fan Module" PID: VID: V00, switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 548: Show Lldp Dcbx Interface Ethernet

    Peer's DCBXP Control information: Operation version: 00 Max version: 00 Seq no: 1 Ack no: 1 Type/ Max/Oper Subtype Version En/Will/Err Config 003/000 000/000 Y/N/N 0008 002/000 000/000 Y/N/N 1111100032 32000000 00000002 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 549 Show Commands show lldp dcbx interface ethernet Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 550: Show Lldp Interface Ethernet

    Displays the global LLDP configuration. lldp lldp transmit Enables the transmission of LLDP packets on an interface. lldp receive Enables the reception of LLDP packets on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 551: Show Lldp Neighbors

    (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other Local Intf Chassis ID Port ID Hold-time Capability Eth8/24 0018.bad8.5e45 Eth8/23 Eth8/23 0018.bad8.5e45 Eth8/24 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 552 TLVs. show lldp traffic Displays the number of LLDP packets sent and received on the interface. interface ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 553: Show Lldp Timers

    Specifies the delay time in seconds for LLDP to initialize on any interface. lldp timer Specifies the transmission frequency of LLDP updates in seconds. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 554: Show Lldp Tlv-Select

    Related Commands Command Description show lldp dcbx Displays the local DCBX control status. interface ethernet lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 555: Show Lldp Traffic

    Related Commands Command Description show lldp traffic Displays the number of LLDP packets sent and received on the interface. interface ethernet show running-config Displays the global LLDP configuration. lldp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 556: Show Lldp Traffic Interface Ethernet

    LLDP interface traffic statistics: Total frames transmitted: 0 Total entries aged: 0 Total frames received: 0 Total frames received in error: 0 Total frames discarded: 0 Total unrecognized TLVs: 0 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 557 Displays the LLDP counters, including the number of LLDP packets sent and received by the device, the number of discarded packets, and the number of unrecognized TLVs. show running-config Displays the global LLDP configuration. lldp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 558: Show Locator-Led Status

    PowerSupply 2 : Locator LED off Fan 1 : Locator LED off Fan 2 : Locator LED off switch(config)# Related Commands Command Description locator-led Blinks an LED on the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 559: Show Logging Console

    This example shows how to display the console logging configuration: switch# show logging console Logging console: enabled (Severity: critical) switch# Related Commands Command Description logging console Configures logging to the console. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 560: Show Logging Info

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 561 Logging logflash: enabled (Severity: information) Logging logfile: enabled Name - messages: Severity - information Size - 10485760 Facility Default Severity Current Session Severity -------- ---------------- ------------------------ acllog aclmgr auth authpriv --More-- Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 562: Show Logging Ip Access-List Cache

    This example shows how to display information about the logging IP access list cache: switch# show logging ip access-list cache switch# Related Commands Command Description logging ip access-list Configures logging for access lists. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 563: Show Logging Last

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the last 42 lines of the logfile: switch# show logging last 42 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 564: Show Logging Level

    4.1(2) Added the cfs keyword. Usage Guidelines This command does not require a license. Examples This example shows how to display the current Cisco Fabric Services (CFS) logging configuration: switch# show logging level cfs Facility Default Severity Current Session Severity...
  • Page 565: Show Logging Logfile

    This example shows how to display the messages in the log file that were timestamped within the span shown: switch# show logging logfile start-time 2008 mar 11 12:10:00 switch# Related Commands Command Description logging logfile Configures logging to a log file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 566: Show Logging Loopback

    4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the logging loopback configuration: switch# show logging loopback switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 567: Show Logging Module

    This command does not require a license. Examples This example shows how to display the module logging configuration: switch# show logging module switch# Related Commands Command Description logging module Configures module logging. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 568: Show Logging Monitor

    This command does not require a license. Examples This example shows how to display the monitor logging configuration: switch# show logging monitor switch# Related Commands Command Description logging monitor Configures logging on the monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 569: Show Logging Nvram

    Usage Guidelines This command does not require a license. Examples This example shows how to display the last 20 messages in the NVRAM log: switch# show logging nvram last 20 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 570: Show Logging Onboard

    Displays the OBFL status enable/disable. Defaults None Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. 4.0(2) Added the counter-stats keyword. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 571 – head [-n num]—Stream Editor. The optional -n num keyword and argument allow you to specify the • number of lines to print. The range is from 0 to 2147483647. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 572 Cisco router or switch. Data is logged to files that are stored in nonvolatile memory. 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 573 This example shows how to display the OBFL exception log information: switch# show logging onboard module 2 exception-log Sun Feb 24 00:12:35 2008 : Exception Log Record Device Id : 60 Device Name : DEV_SKYLINE_NI Device Error Code : f(H) Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 574 ==================== STACK TRACE ==================== Logging time: Sat Feb 29 19:47:38 2008 watchdog timeout: process swapper (0), jiffies 0x169bb Stack: c0006e98 c001721c d195f5b4 c0005424 c0005500 c0003e90 c0005a2c c0005a40 c0001a88 c01bf610 c0000394 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 575 PB2_TX FlwCtrl from conn. ASIC > pe|0x1 |02/06/08 10:54:44|00| riod Intr ------------------------------------------------------------------------------ ERROR STATISTICS INFORMATION FOR DEVICE ID 81 DEVICE Lamira ------------------------------------------------------------------------------ Time Stamp |In|Port Error Stat Counter Name Count |MM/DD/YY HH:MM:SS|st|Rang |Id|e Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 576 Range of ports affected. Related Commands clear logging onboard Clears the OBFL entries in the persistent log. hw-module logging Enables or disabled OBFL entries based on the error type. onboard Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 577: Show Logging Onboard

    Displays the OBFL logs from the start time, in the format mm/dd/yy-HH:MM:SS. status Displays the OBFL enable/disable status. Defaults None Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 578 This command does not require a license. Examples This example shows how to displays the OBFL from March 10, 2008 at 3:45 p.m.: switch# show logging onboard starttime 03/10/08-15:45:00 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 579: Show Logging Server

    This command does not require a license. Examples This example shows how to display the syslog server configuration: switch# show logging server switch# Related Commands Command Description logging server Configures a remote syslog server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 580: Show Logging Session Status

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the logging session status: switch# show logging session status switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 581: Show Logging Status

    Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the logging status: switch# show logging status switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 582: Show Logging Timestamp

    This command does not require a license. Examples This example shows how to display the logging time stamp configuration: switch# show logging timestamp switch# Related Commands Command Description logging timestamp Configures the logging time stamp granularity. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 583: Show Module

    Supported User Roles network-admin vdc-admin network-operator vdc-operator Command History Release Modification 4.0(1) This command was introduced. 4.1(2) Output modified to show diagnostic events. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 584 Pass Xbar Ports Module-Type Model Status ----- -------------------------------- ------------------ ------------ Fabric Module 1 N7K-C7018-FAB-1 Xbar Sw -------------- ------ 0.101 Xbar MAC-Address(es) Serial-Num -------------------------------------- ---------- JAF1225AGHJ * this terminal session switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 585 Related Commands Command Description show hardware Displays information about the hardware. show inventory Displays hardware inventory information. show diagnostic events Displays diagnostic events by error and information event type. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 586: Show Monitor

    Session admin shut switch(config)# Related Commands Command Description show running-config Displays the running configuration to the startup configuration. monitor show startup-config Displays information about the startup SPAN configuration. monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 587: Show Monitor Session

    2 session 2 --------------- type : erspan-source state : up erspan-id : 100 vrf-name : default acl-name : acl-name not specified ip-ttl : 255 ip-dscp destination-ip : 10.1.1.2 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 588 VLANs both filter VLANs : filter not specified Feature Enabled Value Modules Supported Modules Not-Supported ----------------------------------------------------------------------------- Rate-limiter MTU-Trunc Sampling MCBE L3-TX ERSPAN-ACL ERSPAN-V3 Legend: MCBE = multicast best effort Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 589 Show Commands show monitor session L3-TX = L3 Multicast Egress SPAN Related Commands Command Description monitor session Places you into monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 590: Show Ntp Access-Groups

    This example shows how to display the NTP access group configuration: switch(config)# show ntp access-groups -------------------------------------- Access List Type -------------------------------------- Admin_Group_123 Peer switch(config)# Related Commands Command Description ntp access-group peer Configures an NTP access group. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 591: Show Ntp Authentication-Keys

    Displays the status of all NTP authentication. tion-status ntp authentication-key Configures one or more keys that a time source must provide in its NTP packets in order for the device to synchronize to it. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 592: Show Ntp Authentication-Status

    This example shows how to display the NTP authentication status: switch(config)# show ntp authentication-status Authentication enabled. switch(config)# Related Commands Command Description ntp authenticate Enables NTP authentication. show ntp authentica- Displays the configured NTP authentication keys. tion-keys Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 593: Show Ntp Internal

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 594 User : not disabled SUP : not disabled Fabric : not disabled switch(config)# Related Commands Command Description show running-config Displays the NTP information. show ntp statistics Displays the NTP statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 595: Show Ntp Logging-Status

    Related Commands Command Description ntp logging Enables NTP logging. show ntp authentica- Displays the status of NTP authentication. tion-status show ntp session status Displays the NTP CFS distribution session information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 596: Show Ntp Peers

    Server (configured) switch(config)# Related Commands Command Description ntp server Configures an NTP server. ntp peer Configures an NTP peer. show ntp peer-status Displays the status of all the server and peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 597: Show Ntp Peer-Status

    This command does not require a license. Examples This example shows how to display the peer status for NTP: switch(config)# show ntp peer-status 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 598: Show Ntp Pending-Diff

    This example shows how to display the differences between the pending NTP configuration and the active NTP configuration: switch# show ntp pending-diff switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 599: Show Ntp Pending Peers

    This example shows how to display the pending NTP configuration changes on all peers: switch# show ntp pending peers switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 600: Show Ntp Session Status

    : Success Last Action Failure Reason : none switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 601: Show Ntp Status

    Distribution : Disabled Last operational state: No session switch(config)# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 602: Show Ntp Rts-Update

    This example shows how to view RTS-update information: switch(config)# show ntp rts-update RTS update is enabled switch(config)# Related Commands Command Description show ntp source-inter- Displays information about the NTP source. face Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 603: Show Ntp Source

    This command does not require a license. Examples This example shows how to display the NTP source information: switch(config)# show ntp source Related Commands Command Description ntp source Configures the NTP source. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 604: Show Ntp Source-Interface

    Related Commands Command Description show startup-config Displays information about the startup NTP configuration of the switch. 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 605: Show Ntp Statistics

    This command does not require a license. Examples This example shows how to displays statistics for NTP: switch(config)# show ntp statistics local Related Commands Command Description clear ntp statistics Clears NTP statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 606: Show Ntp Status

    This command was introduced. Usage Guidelines This command shows whether Cisco Fabric Services (CFS) is enabled or disabled for the NTP application and whether a fabric lock is in place because a configuration is in progress. This command does not require a license.
  • Page 607 CFS. cfs distribute Globally enables CFS distribution for all applications on the device, including CFS over IP. ntp enable Enables NTP on a device. NTP is enabled by default. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 608: Show Ntp Trusted-Keys

    This example shows how to display all the configured NTP trusted keys: switch(config)# show ntp trusted-keys Trusted Keys: switch(config)# Related Commands Command Description ntp trusted-keys Displays the configured NTP authentication keys. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 609: Show Platform Hardware Capacity Interface Resources

    Total drops: Highest drop port: Tx Rx Interface buffer sizes: Module Bytes: Tx buffer Rx buffer 6452775 7743330 Related Commands Command Description show hardware fabric- Display information about fabric utilization. utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 610 Threshold Interval Rising Threshold event Falling Threshold event In ------- --------- -------- ---------------- ----- ------------------ - ---- ------ Link Loss Delta Sync Loss Delta Protocol Error Delta Signal Loss Delta Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 611: Show Port-Monitor

    RX Performance Delta 2147483648 524288000 TX Performance Delta 2147483648 524288000 -------------------------------------------------------------------------------- switch(config-port-monitor)# Related Commands Command Description show port-monitor Displays the port-monitor status. status show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 612 Interval Rising Threshold event Falling Threshold vent In Use ------- --------- -------- ---------------- ----- ------------------ - ---- ------ Link Loss Delta Sync Loss Delta Protocol Error Delta Signal Loss Delta Invalid Words Delta Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 613 RX Performance Delta 2147483648 524288000 TX Performance Delta 2147483648 524288000 -------------------------------------------------------------------------------- ----------- switch(config)# Related Commands Command Description show port-monitor Displays the port-monitor status. status show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 614: Show Port-Monitor Status

    : Enabled Active Policies : None Last 10 logs : switch(config-port-monitor)# Related Commands Command Description show port-monitor Displays active port-monitor policies. active show port-monitor Displays information about the port-monitor configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 615: Show Processes

    This example shows how to display the process information for a device: switch# show processes State Start_cnt Type Process ----- ----- -------- ----------- ---- ---- ------------- b7f9e468 init migration/0 ksoftirqd/0 desched/0 migration/1 ksoftirqd/1 desched/1 events/0 events/1 khelper kthread Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 616 This example shows how to display the process information for another VDC: switch# show processes vdc 2 State Start_cnt Type Process ----- ----- -------- ----------- ---- ---- ------------- b7f9e468 init migration/0 ksoftirqd/0 desched/0 migration/1 ksoftirqd/1 desched/1 events/0 events/1 khelper kthread Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 617: Show Processes Cpu

    636268 migration/0 1586 72636726 ksoftirqd/0 1345165 desched/0 1956 559740 migration/1 2218 457761883 ksoftirqd/1 2325 1469647 desched/1 1158 794795 events/0 1258 721210 events/1 2779 khelper kthread kacpid kblockd/0 kblockd/1 khubd Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 618: Show Processes Cpu History

    ## ### 30 # ## ### 20 ## ## ### 10 ### ## # ## ### # ### # # 0..5..1..1..2..2..3..3..4..4..5..5..CPU% per second (last 60 seconds) # = average CPU% Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 619 * = maximum CPU% # = average CPU% Related Commands Command Description show processes cpu Displays the CPU utilization information for processes on the device. show system resources Displays the system resources. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 620: Show Process Cpu Sort

    This example shows how to display information about CPU processes sorted by CPU utilization: switch(config)# show process cpu sort Runtime(ms) Invoked uSecs 1Sec Process ----- ----------- -------- ----- ------ ----------- 3622 2335 6843 50.0% pfstat Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 621 Displays the CPU utilization information for processes on the device. show processes cpu history Displays information about the CPU utilization by the system processes in the last 60 seconds, 60 minutes, and 72 hours in a graphical format. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 622: Show Processes Log

    3870 Sat Dec 22 12:02:46 2007 1 clis 10005 Sat Nov 24 03:46:13 2007 1 clis 10268 Fri Dec 14 09:13:53 2007 1 clis 1040 Fri Nov 16 13:34:30 2007 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 623 0xBFFFD200: B5542014 41170034 08241A54 B7D2614C . T.4..AT.$.La.. 0xBFFFD210: FF000226 BFFFD2D0 BFFFD278 B7D138CE &..x..8.. 0xBFFFD220: 08246A04 08230074 BFFFD2D0 B7D5A24D .j$.t.#..M... 0xBFFFD230: B7D6369A 00002000 00000004 00000000 .6..... 0xBFFFD240: 0000C005 00002000 BFFFD278 B7D3CF90 ..x..Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 624 10268 Fri Dec 14 09:13:53 2007 1 clis 1040 Fri Nov 16 13:34:30 2007 1 clis 10486 Fri Nov 16 14:58:59 2007 1 clis 10646 Fri Nov 16 14:59:45 2007 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 625: Show Processes Memory

    This example shows how to display information about memory allocation for processes: switch# show processes memory MemAlloc StackBase/Ptr Process ----- -------- ----------------- ---------------- 147456 bffffda0/bffff890 init migration/0 ksoftirqd/0 desched/0 migration/1 ksoftirqd/1 desched/1 events/0 events/1 khelper kthread kacpid Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 626 Shared memory totals - Size: 189 MB, Used: 16 MB, Available: 173 MB Free Physical Memory: 0 MB kernel, 0 MB user Related Commands Command Description show processes Displays process information. show startup-config Displays the startup configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 627: Show Ptp Brief

    Displays the state of foreign masters known to the PTP process. foreign-masters-record show ptp corrections Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 628 Show Commands show ptp brief Command Description show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 629 Class : 248 Accuracy : 254 Offset (log variance) : 65535 Offset From Master : 0 Mean Path Delay : 0 Steps removed : 1 Local clock time:Sun Jan 15 20:57:29 2011 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 630 Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 631 P1=Priority1, P2=Priority2, C=Class, A=Accuracy, OSLV=Offset-Scaled-Log-Variance, SR=Steps-Removed GM=Is grandmaster --------- ----------------------- ---- ---- ----- -------- Interface Clock-ID OSLV --------- ----------------------- ---- ---- ----- -------- Eth7/10 0:18:ba:ff:ff:d8: e:16 255 65535 Eth7/1 0:18:ba:ff:ff:d8: e:16 255 65535 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 632 Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 633: Show Ptp Corrections

    Displays the properties of the local clock. show ptp clocks Displays the state of foreign masters known to the PTP process. foreign-masters-record show ptp parent Displays the properties of the PTP parent. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 634 Show Commands show ptp corrections Command Description show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 635: Show Ptp Parent

    Observed Parent Offset (log variance): N/A Observed Parent Clock Phase Change Rate: N/A Grandmaster Clock: Grandmaster Clock Identity: 0:18:ba:ff:ff:d8: e:16 Grandmaster Clock Quality: Class: 248 Accuracy: 254 Offset (log variance): 65535 Priority1: 255 Priority2: 255 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 636: Show Ptp Port

    Displays the last few PTP corrections. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 637 Delay request interval(log mean): 2 Announce receipt time out: 3 Peer mean path delay: 0 Announce interval(log mean): 1 Sync interval(log mean): 2 Delay Mechanism: End to End Peer delay request interval(log mean): 0 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 638 Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 639 Displays the PTP status. show ptp clock Displays the properties of the local clock. show ptp clocks Displays the state of foreign masters known to the PTP process. foreign-masters-record Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 640 Description show ptp corrections Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 641: Show Redundancy Status

    Other supervisor (sup-5) ------------------------ Redundancy state: Not present Supervisor state: Internal state: System start time: Fri Aug 15 15:55:19 2008 System uptime: 3 days, 23 hours, 57 minutes, 22 seconds Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 642 Show Commands show redundancy status Kernel uptime: 4 days, 0 hours, 1 minutes, 39 seconds Active supervisor uptime: 3 days, 23 hours, 57 minutes, 22 secondss Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 643 Resource Used Unused Avail -------- ---- ------ ----- monitor-session Related Commands Command Description show resource Displays the resources that are available for an extended SPAN and monitor-session-exten ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 644 Resource Used Unused Avail -------- ---- ------ ----- monitor-session-extended Related Commands Command Description show resource Displays the resources that are available for a traditional SPAN session. monitor-session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 645: Show Rmon

    Event 4 is active, owned by administrator@london_op_center Description is WARNING(4) Event firing causes log and trap to community public, last fired 03:32:43 This example shows how to display the configured high-capacity RMON alarms: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 646 Number of 64 bit hcalarms configured : 0 switch# Related Commands Command Description rmon alarm Configures the 32-bit RMON alarm. rmon event Configures an RMON event. rmon hcalarm Configures the 64-bit RMON alarm. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 647: Show Running-Config Cdp

    Show Commands show running-config cdp show running-config cdp To display the Cisco Discovery Protocol (CDP) running configuration, use the show running-config cdp command. show running-config cdp [all] Syntax Description (Optional) Displays the running configuration with defaults. Defaults None Command Modes...
  • Page 648 Ethernet7/5 cdp enable interface Ethernet7/6 cdp enable interface Ethernet7/7 cdp enable interface Ethernet7/8 cdp enable --More-- switch(config)# Related Commands Command Description enable cdp Enables CDP on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 649: Show Running-Config Diagnostic

    !Command: show running-config diagnostic all !Time: Fri Jan 15 22:22:01 2010 version 5.0(2) diagnostic bootup level complete switch(config)# Related Commands Command Description show startup-config Displays the startup-configuration diagnostics. diagnostic Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 650: Show Running-Config Eem

    This example shows the Embedded Event Manager (EEM) running configuration: switch# show running-config eem switch(config)# show running-config eem !Command: show running-config eem !Time: Fri Jan 15 22:23:28 2010 version 5.0(2) switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 651: Show Running-Config Lldp

    !Command: show running-config lldp !Time: Mon Jan 11 02:19:29 2010 version 5.0(2) feature lldp logging level lldp 5 switch(config)# Related Commands Command Description feature lldp Enables the LLDP feature globally. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 652: Show Running-Config Monitor

    !Time: Fri Jan 15 22:24:43 2010 version 5.0(2) logging level monitor 6 switch(config)# Related Commands Command Description show monitor Displays information about the SPAN configuration. show startup-config Displays information about the startup SPAN configuration. monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 653: Show Running-Config Netflow

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 654 Custom-Flow-Exporter-1 transport udp 9995 dscp 0 version 9 template data timeout 1800 option exporter-stats timeout 1200 switch(config)# Related Commands Command Description show startup-config Displays the startup NetFlow configurations. netflow Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 655: Show Running-Config Ntp

    192.0.2.10 prefer use-vrf RED key 786 ntp peer 2001:db8::4101 ntp authentication-key 3 md5 fewhg 7 ntp authentication-key 34567 md5 qabzk7f 7 ntp logging ntp access-group peer abcd*123 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 656 Show Commands show running-config ntp Related Commands Command Description show ntp Displays information about the NTP source interface. source-interface show startup-config Displays information about the startup NTP configuration of the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 657: Show Running-Config Snmp

    0x1dc65f45a9d8e41dbccd76380946d6c3 priv 0x1dc65f45a9d8e41dbccd76380946d6c3 localizedkey switch(config)# Command Description Related Commands! show startup-config Displays the startup SNMP configuration. snmp show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 658: Show Sampler

    Sampler Netflow-Sampler-1: mode 1 out-of 1000 switch(config)# Related Commands Command Description sampler Configures a sampler to collect data for a user selected packet ratio to preserve hardware resources. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 659: Show Scheduler

    To enable the scheduler, use the feature scheduler command. This command does not require a license. Examples This example shows how to display the scheduler configuration: switch# show scheduler config config terminal feature scheduler scheduler logfile size 16 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 660 Last Execution Time: Tue Aug 10 09:48:00 2008 ----------------------------------------------- Job Name Status ----------------------------------------------- addMem Success (0) Related Commands Command Description scheduler Configures maintenance jobs. feature scheduler Enables the scheduler feature for scheduling maintenance jobs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 661: Show Snmp

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 662 ______________________________________________________________ NOTIFICATION TARGET USERS (configured for sending V3 Inform) ______________________________________________________________ User Auth Priv ____ ____ ____ (EngineID 11:22:33:44:55) (EngineID 33:0:33:22:33) SNMP Tcp Authentication Flag : Enabled. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 663 Show Commands show snmp Related Commands Command Description snmp-server Configures SNMP community strings. community Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 664: Show Snmp Community

    Use the show snmp community command to display a list of SNMP communities configured on a device. In Cisco NX-OS Release 4.0(2) and later releases, the show snmp-community command displays any SNMP contexts that are mapped to SNMPv2c communities. This command does not require a license.
  • Page 665 Show Commands show snmp community Related Commands Command Description snmp-server Configures SNMP community strings. community snmp-server mib Maps SNMP community strings to SNMP contexts. community-map Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 666: Show Snmp Context

    This example shows how to display the SNMP context mapping: switch# show snmp context ------------------------------------------------------------------- Context [Protocol instance, VRF, Topology] ------------------------------------------------------------------- contextB instance1, vrf1, topo1 -------------------------------------------------------------------r Related Commands Command Description snmp-server context Configures SNMP context mapping. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 667: Show Snmp Engineid

    This example shows how to display the SNMP engine ID: switch(config)# show snmp engineID Local SNMP engineID: [Hex] 80000009030005300A0B0C [Dec] 128:000:000:009:003:000:005:048:010:011:012 Related Commands Command Description snmp-server user Configures SNMP target notification users. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 668: Show Snmp Group

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 669 Predefined vdc operator role has access to all read commands within a VDC instance ------------------------------------------------------------------- Rule Perm Type Scope Entity ------------------------------------------------------------------- permit read Related Commands Command Description role name Configures security roles used as SNMP groups. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 670: Show Snmp Host

    ------------------------------------------------------------------- Host Port Version Level Type SecName ------------------------------------------------------------------- 192.0.2.1 noauth trap Comm2 ------------------------------------------------------------------- 192.0.2.2 auth trap comm3 Use VRF: Blue ------------------------------------------------------------------- 192.0.2.10 auth trap testCommunity Filter VRF: Red ------------------------------------------------------------------- Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 671 Show Commands show snmp host Related Commands Command Description snmp-server host Configures SNMP hosts. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 672: Show Snmp Sessions

    This command does not require a license. Examples This example shows how to display the SNMP sessions: switch(config)# show snmp sessions Related Commands Command Description snmp-server user Configures SNMP users. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 673: Show Snmp Source-Interface

    ------------------------------------------------------------------- Notification source-interface ------------------------------------------------------------------- trap lookback1 inform Ethernet1/1 ------------------------------------------------------------------- switch(config)# Related Commands Command Description snmp-server source- Configures an SNMP source interface through which notifications are sent. interface Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 674: Show Snmp Trap

    Trap type Enabled --------- ------- aaa server state-change callhome entity fru license snmp authentication vrrp link bridge topologychange bridge newroot stpx inconsistency stpx loop-inconsistency stpx root-inconsistency Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 675 Show Commands show snmp trap Related Commands Command Description snmp-server trap Enables SNMP notifications. enable Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 676: Show Snmp User

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator 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 677 ______________________________________________________________ NOTIFICATION TARGET USERS (configured for sending V3 Inform) ______________________________________________________________ User Auth Priv ____ ____ ____ (EngineID 11:22:33:44:55) Related Commands Command Description snmp-server user Configures SNMP users. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 678: Show Sprom

    Usage Guidelines The SPROM on the physical device components contain detailed information about the hardware, including the serial number, part number, and revision numbered. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 679 : 0-0-0-0 CLEI Code Chassis specific block: Block Signature : 0x6001 Block Version Block Length : 39 Block Checksum : 0x3bf Feature Bits : 0x0 HW Changes Bits : 0x0 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 680 00 00 00 00 00 00 00 00 Second Serial number specific block: Block Signature : 0x6007 Block Version Block Length : 28 Block Checksum : 0x302 Serial Number : TBM11256507 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 681: Show Startup-Config Cdp

    Show Commands show startup-config cdp show startup-config cdp To display the Cisco Discovery Protocol (CDP) startup configuration, use the show startup-config cdp command. show startup-config cdp [all] Syntax Description (Optional) Displays the startup configuration with defaults. Defaults None Command Modes...
  • Page 682 Show Commands show startup-config cdp Related Commands Command Description show running-config Displays the running CDP configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 683: Show Startup-Config Diagnostic

    !Time: Tue Jan 26 22:38:22 2010 !Startup config saved at: Thu Jan 21 08:39:42 2010 version 5.0(2) diagnostic bootup level complete switch(config)# Related Commands Command Description show running-config Displays the running-configuration diagnostics. diagnostic Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 684: Show Startup-Config Cfs

    Show Commands show startup-config cfs show startup-config cfs To display information about the Cisco Fabric Services (CFS) startup configuration, use the show startup-config cfs command. show startup-config cfs [all] Syntax Description (Optional) Displays all of the CFS startup configuration. Defaults...
  • Page 685: Show Startup-Config Eem

    This example shows how to display the Embedded Event Manager (EEM) startup configuration: switch# show startup-config eem !Command: show startup-config eem !Time: Tue Feb 2 22:41:25 2010 !Startup config saved at: Thu Jan 21 08:39:42 2010 version 5.0(2) switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 686: Show Startup-Config Monitor

    6 switch(config)# Related Commands Command Description show monitor Displays information about an Ethernet Switched Port Analyzer (SPAN). show running-config Displays the running configuration to the startup configuration. monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 687: Show Startup-Config Netflow

    !Command: show startup-config netflow !Time: Tue Feb 2 22:43:13 2010 !Startup config saved at: Thu Jan 21 08:39:42 2010 version 5.0(2) feature netflow flow exporter new_flow_1 version 5 flow exporter new_flow_2 version 9 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 688 Custom-Flow-Exporter-1 version 9 option exporter-stats timeout 1200 switch# Related Commands Command Description show running-config Displays information about the NetFlow configuration that is currently netflow running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 689: Show Startup-Config Ntp

    !Startup config saved at: Thu Jan 21 08:39:42 2010 version 5.0(2) ntp server 192.0.2.10 use-vrf Red ntp peer 2001:db8::4101 ntp authenticate ntp authentication-key 42 md5 dJmhwKzd 7 ntp trusted-key 42 ntp logging ntp access-group peer NT_GLOBAL switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 690 Related Commands Command Description show ntp Displays information about the NTP source interface. source-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 691: Show Startup-Config Snmp

    Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.1(2) 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 692 Related Commands Command Description show running-config Displays the running SNMP configuration. snmp show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 693: Show System Cores

    This example shows how to display destination information for the system core files: switch# show system cores Cores are transferred to slot0: Related Commands Command Description system cores Configures the system core filename. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 694: Show System Error-Id

    0x00000002 (SYSERR_PSS_ERROR): "error while accessing PSS". 0x00000003 (SYSERR_CMI_NO_RESPOSE_PAYLOAD): "no cmi response payload". 0x00000004 (SYSERR_CMI_NULL_RECEIVE_BUF): "null cmi receive buffer". 0x00000005 (SYSERR_MGMT_ERROR): "unknown error". 0x00000006 (SYSERR_MGMT_NO_ENTRY): "entry not present". 0x00000007 (SYSERR_MGMT_NO_OBJECT): "object not present". Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 695: Show System Memory-Status

    This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the memory status information: switch# show system memory-status MemStatus: OK Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 696: Show System Pss Shrink Status

    Last pss shrink started on: Tue May 12 08:08:30 2009 switch(config)# Related Commands Command Description show system pss Displays the last PSS shrink status details. shrink status details Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 697: Show System Pss Shrink Status Details

    Service "ospfv3" in vdc 1: pss shrink request not sent Service "rip" in vdc 1: pss shrink request not sent Service "eigrp" in vdc 1: pss shrink request not sent Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 698 Service "cmpproxy" in vdc 1: pss shrink completed successfully Service "confcheck" in vdc 1: pss shrink completed successfully --More-- Related Commands Command Description show system pss Displays the last PSS shrink status. shrink status Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 699: Show System Reset-Reason

    Reason: Reset Requested by CLI command reload Service: Version: 4.0(2) ----- reset reason for Supervisor-module 5 (from Supervisor in slot 6) --- 1) No time Reason: Unknown Service: Version: 2) No time Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 700 Show Commands show system reset-reason Reason: Unknown Service: Version: Related Commands Command Description clear system reset-reason Clears the reset reason history for the device. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 701: Show System Redundancy

    Not present switch# This example shows how to display the virtual device context (VDC) redundancy status: switch# show system redundancy ha status VDC No This supervisor Other supervisor ------ --------------- --------------- Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 702 Active with no standby vdc 2 Active with no standby vdc 3 Active with no standby vdc 4 switch# Related Commands Command Description system switchover Switches over to the standby supervisor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 703: Show System Resources

    Memory usage: 4135616K total, 1642556K used, 2493060K free 1188K buffers, 731988K cache switch(config)# Related Commands Command Description show processes cpu Displays the CPU utilization information for processes on the device. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 704: Show System Standby Manual-Boot

    This example shows how to display the status of the system standby manual boot option: switch(config)# show system standby manual-boot system standby manual-boot option is enabled switch(config)# Related Commands Command Description system hap-reset Enables the Supervisor Reset HA policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 705: Show System Uptime

    System uptime: 16 days, 23 hours, 9 minutes, 22 seconds Kernel uptime: 16 days, 23 hours, 13 minutes, 29 seconds Active supervisor uptime: 16 days, 23 hours, 9 minutes, 22 seconds Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 706 This command was introduced. Usage Guidelines Binary tech support is a log-collecting framework that collects logs internally from all Cisco NX-OS processes that are running on the device. The show tech-support all binary command collects logs from across the entire device, including VDCs, and line cards. The logs are saved under one tarball that can be easily transferred for later analysis.
  • Page 707 Response from module: 5 is: 0x0(SUCCESS/Success) Response from module: 6 is: 0x0(SUCCESS/Success) ------------------------------------------------------------- Please find the output here: bootflash:binary_show_tech_all_06_12_2013_14_26_05HRS.tar ------------------------------------------------------------- Related Commands Command Description bloggerd parse Parses logs from binary to ASCII format. log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 708: Show Tech-Support Ascii-Cfg

    `show checkpoint` ------------------------------------------------------------------------------- Name: stable version 4.0(2) power redundancy-mode combined force license grace-period feature vrrp feature tacacs+ feature ospf feature pim feature pim6 feature msdp feature eigrp feature rip feature isis Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 709 Show Commands show tech-support ascii-cfg feature pbr 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 710: Show Tech-Support Cfs

    Show Commands show tech-support cfs show tech-support cfs To display information about the Cisco Fabric Services (CFS) configuration required by technical support, use the show tech-support cfs command. show tech-support cfs {commands | [name application_name {commands}]} Syntax Description commands Displays all related CFS commands for use when working with technical support on a CFS issue.
  • Page 711 Displays all the CFS applications with peers and region information. show cfs static Displays all CFS static peers with their status. show cfs status Displays the status of CFS distribution on the device as well as IP distribution information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 712: Show Tech-Support Session-Mgr

    This example shows how to save the output of the show tech-support session-mgr command to a file: switch# show tech-support session-mgr > bootflash:output 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 713: Show Tech-Support Snmp

    This example shows how to save the output of the show tech-support snmp command to a file: switch# show tech-support snmp > bootflash:output Related Commands Command Description snmp-server Configures SNMP community strings. community Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 714: Show Xml Server Status

    Examples This example shows how to display information about the status of the XML server: switch(config)# show xml server status operational status is enabled maximum session configured is 8 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 715: T Commands

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

    “shutdown” switch(config-applet)# tag one or two happens 1 in 10000 switch(config-applet)# action 1.0 cli show interface e 3/1 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 717 T Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 718: Template Data Timeout

    This example shows how to remove the template data timeout parameter configuration: switch(config-flow-exporter)# version 9 switch(config-flow-exporter-version-9)# no template data timeout 120 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 719: Terminal Event-Manager Bypass

    This example shows how to prevent the CLI commands that match an EEM policy from running: switch# terminal no event-manager bypass switch# Related Commands Command Description 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 720: Test Watchdog

    Warning: This command will reboot the system if watchdog is functioning properly Do you wish to proceed anyway? (y/n) Related Commands Command Description system watchdog Enables the watchdog feature. system no watchdog Disables the watchdog feature. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 721: Transport Email Mail-Server

    This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 722 Configures a VRF to send Call home messages using HTTP. transport email Distributes the SMTP server configuration to devices that run Release 4.2 smtp-server or earlier releases. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 723: Transport Http Proxy Enable

    Configures the HTTP proxy server domain name server (DNS) name, IPv4 server address, or IPv6 address. show callhome Displays the transport-related configuration for Smart Call Home. transport Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 724: Transport Http Proxy Server

    Description transport http proxy Enables Smart Call Home to send all HTTP messages through the HTTP enable proxy server. show callhome Displays the transport-related configuration for Smart Call Home. transport Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 725: Transport Http Use-Vrf

    Blue switch(config-callhome)# Related Commands Command Description transport email Configures multiple SMTP servers as the domain name server (DNS) mail-server names, IPv4 addresses, or IPv6 addresses for Call home. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 726: Transport Udp

    200 switch(config-flow-exporter)# This example shows how to remove the UDP configuration: switch(config-flow-exporter)# no transport udp 200 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 727: Commands

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

    This example shows how to verify a configuration session: switch# configure session myACLs switch(config-s)# verify switch(config-s)# Related Commands Command Description commit Commits the commands in the configuration session. abort Deletes the session and exists session configuration mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 729: Version 5

    9: switch(config-flow-exporter-version-5)# no version 5 switch(config-flow-exporter)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. version 9 Configures the NetFlow exporter to version 9. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 730 This command does not require a license. Examples This example shows how to specify the name of the flow exporter that is created or modified. switch(config)# flow exporter flow-export-test switch(config-flow-exporter)# version 9 switch(config-flow-exporter-version-9)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 731 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 732: Vrf

    This example shows how to configure a VRF instance for the ERSPAN destination: switch# configure terminal switch(config)# monitor session 2 type erspan-destination switch(config-erspan-dst)# vrf default switch(config-erspan-dst)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 733 Applies an access control group to an ERSPAN source session. 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 734 V Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 735: Commands

    X Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter X. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 736: Xml Server Max-Session

    This example shows how to reset the number of allowed XML server sessions to the default: switch(config)# no xml server max-session 4 Related Commands Command Description show xml server status Displays information about the status of the XML server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 737: Xml Server Terminate Session

    This example shows how to terminate an XML server session: switch(config)# xml server terminate session 3 Related Commands Command Description show xml server status Displays information about the status of the XML server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 738: Xml Server Timeout

    This example shows how to configure the XML server timeout for active sessions: switch(config)# xml server timeout 800 This example shows how to reset the timeout to the default: switch(config)# no xml server timeout 800 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 739: Xml Server Validate

    This example shows how to validate XML documents for all active sessions: switch(config)# xml server validate all This example shows how to disable validation of XML documents for all sessions: switch(config)# no xml server validate all Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 740 It uses XML-based encoding for configuration data and protocol messages. The Cisco NX-OS implementation of the NETCONF protocol supports the following protocol operations: <get>, <edit-config>, <close-session>, <kill-session>, and <exec-command>.
  • Page 741 XMLIN requires no license. Any feature not included in a license package is bundled with the Cisco Note NX-OS system images and is provided at no extra charge to you. For a complete explanation of the Cisco NX-OS licensing scheme, see the Cisco NX-OS Licensing Guide.
  • Page 742 This example shows how to convert the output of the show interface brief command to XML: switch# show interface brief | xmlin <?xml version="1.0"?> <nf:rpc xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://www.cisco.com/nxos:6.2.2.:if_manager" message-id="1"> <nf:get> <nf:filter type="subtree"> <show> <interface> <brief/> </interface> </show> </nf:filter> </nf:get> </nf:rpc> ]]>]]> Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 743: System Message Logging Facilities

    CDP manager Cisco Fabric Services (CFS) clis CLIS manager cmpproxy CMP proxy manager copp CoPP manager core Core daemon cron Cron and at scheduling service CTS manager daemon System daemons Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 744 IS-IS manager kernel OS kernel keystore Keystore manager l2fm L2 FM manager l3vm L3 VM manager lacp LACP manager license Licensing manager lisp LISP manager local0 Local use daemon Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 745 Q engine manager radius RADIUS manager res_mgr Resource manager RIP manager routing ipv6 multicast IP, IPv4 multicast routing manager routing multicast IPv6 multicast routing manager RPM manager SAL manager scheduler Scheduler Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
  • Page 746 User process uucp UNIX-to-UNIX copy system vdc_mgr VDC manager vlan_mgr VLAN manager VMM manager vrrp_cfg VRRP engine and configuration manager vshd VSHD manager xbar_client XBAR client manager xml server XML agent Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...