Table Of Contents
Show Commands
show checkpoint
show configuration session
show diagnostic bootup level
show diagnostic content
show diagnostic description module
show diagnostic ondemand setting
show diagnostic result
show diagnostic simulation
show diagnostic status
show diff rollback-patch
show environment
show event manager environment
show event manager event-types
show event manager history events
show event manager policy
show event manager policy-state
show event manager script
show event manager system-policy
show flow exporter
show flow interface
show flow monitor
show flow record
show flow timeout
show hardware fabric-utilization
show hardware flow aging
show hardware flow entry
show hardware flow ip
show hardware flow sampler
show hardware flow utilization
show inventory
show logging console
show logging info
show logging ip access-list cache
show logging last
show logging level
show logging logfile
show logging loopback
show logging module
show logging monitor
show logging nvram
show logging onboard
show logging onboard
show logging server
show logging session status
show logging status
show logging timestamp
show logging level ntp
show module
show ntp peer-status
show ntp peers
how ntp source
show ntp statistics
show ntp timestamp-status
show processes
show processes cpu
show processes log
show processes memory
show redundancy status
show rmon
show running-config eem
show scheduler
show snmp
show snmp community
show snmp context
show startup-config eem
show snmp engineID
show snmp group
show snmp host
show snmp trap
show snmp user
show snmp sessions
show sprom
show system cores
show system error-id
show system memory-status
show system reset-reason
show system uptime
show tech-support ascii-cfg
show tech-support session-mgr
show tech-support snmp
show xml server status
Show Commands
This chapter describes the Cisco NX-OS system management show commands.
show checkpoint
To display the contents of the checkpoint file, use the show checkpoint command.
show checkpoint [name]
Syntax Description
name
|
(Optional) Name of the checkpoint file. The name can be any alphanumeric string up to 63 characters.
|
Defaults
None
Command Modes
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.
Examples
This example shows how to display the contents of the checkpoint file:
switch# show checkpoint stable
--------------------------------------------------------
power redundancy-mode combined force
feature port-security
feature glbp
logging level port-security 5
snmp-server community <removed> group vdc-operator
snmp-server community <removed> group network-admin
snmp-server community <removed> group vdc-admin
role feature-group name X
role feature-group name x
username adminbackup password 5 $1$Oip/C5Ci$oOdx7oJSlBCFpNRmQK4na. role vdc-ope
username adminbackup role network-operator
username admin password 5 $1$8GYeC4uW$4WfnImcvtAKI6Uet.ePD.1 role network-admin
Related Commands
Command
|
Description
|
clear checkpoint database
|
Clears out all the checkpoint files.
|
show configuration session
To show information about the configuration sessions, use the show configuration session command.
show configuration session [name] [status] [summary]
Syntax Description
name
|
(Optional) Name of the configuration session, The name can be any case-sensitive alphanumeric string up to 63 characters.
|
status
|
(Optional) Shows the status of the configuration sessions.
|
summary
|
(Optional) Shows summary of the active configuration sessions.
|
Defaults
Display information for all sessions
Command Modes
Any
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.
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
0001 ip access-list test1
This example shows how to display the status of a configuration session:
switch(config-s)# show configuration session status
Last Action Status : Success
Last Action Reason : -NA-
Last Action Timestamp : 00:00:00 UTC Jan 01 1970
This example shows how to display a summary of the configuration sessions:
switch(config-s)# show configuration session summary
Name Session Owner Creation Time
--------------------------------------------------------------------
myACLS admin 21:34:39 UTC Apr 27 2008
status admin 00:53:23 UTC Apr 29 2008
a admin 01:47:30 UTC Apr 28 2008
myACLs admin 00:56:46 UTC Apr 29 2008
Number of active configuration sessions = 4
Related Commands
Command
|
Description
|
show tech-support session-mgr
|
Shows detailed information about the configuration sessions for troubleshooting purposes.
|
show diagnostic bootup level
To display information about bootup diagnostics, use the show diagnostic bootup level command.
show diagnostic bootup level
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any 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.
Examples
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.
|
show diagnostic content
To display information about the diagnostic test content for a module, use the show diagnostic content command.
show diagnostic content {number | all}
Syntax Description
number
|
Diagnostic content module number. The range is from 1 to 10.
|
all
|
Displays the test content for all tests on all modules.
|
Defaults
None
Command Modes
Any mode
Supported User Roles
network-admin
vdc-admin
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
Use the show diagnostic content command to display information about the tests configured on the module and the repeat interval time.
Examples
This example shows how to display information about the diagnostic test content for a module:
switch# show diagnostic content module 6
Module 6: Supervisor module-1X (Active)
Diagnostics test suite attributes:
B/C/* - Bypass bootup level test / Complete bootup level test / NA
S/* - Only applicable to standby unit / NA
D/N/* - Disruptive test / Non-disruptive test / NA
H/* - Always enabled monitoring test / NA
F/* - Fixed monitoring interval test / NA
X/* - Not a health monitoring test / NA
E/* - Sup to line card test / NA
L/* - Exclusively run this test / NA
T/* - Not an ondemand test / NA
A/I/* - Monitoring is active / Monitoring is inactive / NA
ID Name Attributes (hh:mm:ss)
____ __________________________________ ____________ _________________
1) ManagementPortLoopback--------> C**D**X**T* -NA-
2) EOBCPortLoopback--------------> C**D**X**T* -NA-
3) ASICRegisterCheck-------------> ***N******A 00:00:20
4) USB---------------------------> C**N**X**T* -NA-
5) CryptoDevice------------------> C**N**X**T* -NA-
6) NVRAM-------------------------> ***N******A 00:00:30
7) RealTimeClock-----------------> ***N******A 00:05:00
8) PrimaryBootROM----------------> ***N******A 00:30:00
9) SecondaryBootROM--------------> ***N******A 00:30:00
10) CompactFlash------------------> ***N******A 00:30:00
11) ExternalCompactFlash----------> ***N******A 00:30:00
12) PwrMgmtBus--------------------> ***N******A 00:00:30
13) SpineControlBus---------------> ***N******A 00:00:30
14) SystemMgmtBus-----------------> ***N******A 00:00:30
show diagnostic description module
To display information about a diagnostic test for a module, use the show diagnostic description nodule command.
show diagnostic description module slot test {test-ID | test-name | all}
Syntax Description
slot
|
Diagnostic description slot number. The slot range is from 1 to 10.
|
test-ID
|
(Optional) TestID. The range is from 1 to 14.
|
test-name
|
(Optional) Test name. The test name can be any case-sensitive alphanumeric string up to 32 characters.
|
all
|
(Optional) Displays the test description for all tests on all modules.
|
test
|
(Optional) Displays the diagnostic test selection.
|
Defaults
None
Command Modes
Any 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.
Examples
This example shows how to display a diagnostic description for a module:
switch# show diagnostic description module 6 test 1
A bootup test that tests loopback on the management port of
Related Commands
Command
|
Description
|
show diagnostic content
|
Displays diagnostic test names and test IDs.
|
show diagnostic ondemand setting
To display information about the ondemand diagnostic test for a module, use the show diagnostic ondemand setting command.
show diagnostic ondemand setting
Syntax Description
setting
|
Configures the diagnostic ondemand setting.
|
Defaults
None
Command Modes
Any mode
Supported User Roles
network-admin
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 display diagnostic ondemand information:
switch# show diagnostic ondemand setting
Action on test failure = continue until test failure limit reaches 1
Related Commands
Command
|
Description
|
diagnostic ondemand setting
|
Configures the diagnostic ondemand setting.
|
show diagnostic result
To display diagnostic test result for a module, use the show diagnostic result command.
show diagnostic result module {slot [test [test-id | test-name]] | all} [detail]
Syntax Description
slot
|
Diagnostic result slot number. The module slot range is from 1 to 10.
|
test
|
(Optional) Displays the diagnostic test selection.
|
test-ID
|
(Optional) TestID. The range is from 1 to 14.
|
test-name
|
(Optional) Test name. The test name can be any case-sensitive alphanumeric string up to 32 characters.
|
all
|
(Optional) Displays the test result for all tests on all modules.
|
detail
|
(Optional) Displays the detailed result.
|
Defaults
None
Command Modes
Any mode
Supported User Roles
network-admin
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 display a diagnostic test result:
switch# show diagnostic result module 6 test 6 detail
Current bootup diagnostic level: complete
Module 6: Supervisor module-1X (Active)
Diagnostic level at card bootup: complete
Test results: (. = Pass, F = Fail, I = Incomplete,
U = Untested, A = Abort, E = Error disabled)
______________________________________________________________________
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 -----> n/a
Last test failure time ------> n/a
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
show diagnostic simulation
To display information about a simulated diagnostic for a module, use the show diagnostic simulation command.
show diagnostic simulation module slot
Syntax Description
slot
|
Diagnostic simulation slot number. The module slot range is from 1 to 10.
|
Defaults
None
Command Modes
Any mode
Supported User Roles
network-admin
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 display information about simulated diagnostics:
switch# show diagnostic simulation module 6
Card(6): Supervisor module-1X
________________________________________________
Related Commands
Command
|
Description
|
diagnostic test simulation
|
Sets a simulated test result for a diagnostic test.
|
show diagnostic status
To display the test status for all tests, use the show diagnostic status command.
show diagnostic status module slot
Syntax Description
slot
|
Diagnostic status slot number. The module slot range is from 1 to 10.
|
Defaults
None
Command Modes
Any mode
Supported User Roles
network-admin
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 display information about the test status for all tests on a module:
switch# show diagnostic status module 6
<BU>-Bootup Diagnostics, <HM>-Health Monitoring Diagnostics
<OD>-OnDemand Diagnostics, <SCH>-Scheduled Diagnostics
==============================================
Card:(6) Supervisor module-1X
==============================================
Current running test Run by
Currently Enqueued Test Run by
show diff rollback-patch
To display the differences between the source and destination, use the show diff rollback-patch command.
show diff rollback-patch {checkpoint name | running-config | startup-config} {checkpoint
name | running-config | startup-config}
Syntax Description
checkpoint
|
Use the checkpoint name as the source configuration.
|
name
|
Name of the checkpoint file. The name can be any alphanumeric string up to 63 characters.
|
running-config
|
Use the running configuration as the destination.
|
startup-config
|
Use the startup configuration as the destination.
|
Defaults
None
Command Modes
Any
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.
Examples
This example shows how to display the differences between the stable checkpoint file and the running configuration.
switch# show diff rollback-patch checkpoint stable running-config
Related Commands
Command
|
Description
|
show checkpoint
|
Displays the contents of the checkpoint file.
|
rollback running checkpoint
|
Implements a rollback for the configured checkpoint file.
|
show environment
To display information about the hardware environment status, use the show environment command.
show environment [clock | fan | power | temperature]
Syntax Description
clock
|
(Optional) Displays information about the clock environment.
|
fan
|
(Optional) Displays information about the fan environment.
|
power
|
(Optional) Displays information about the power environment.
|
temperature
|
(Optional) Displays information about the temperature environment.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
vdc-admin
network-operator
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
You can use this command to display information about the status of the hardware on your device.
This command does not require a license.
Examples
This example shows how to display information about the hardware environment:
----------------------------------------------------------
----------------------------------------------------------
A Clock Module -- NotSupported/None
B Clock Module -- NotSupported/None
------------------------------------------------------
------------------------------------------------------
--------------------------------------------------------------------
Module Sensor MajorThresh MinorThres CurTemp Status
(Celsius) (Celsius) (Celsius)
--------------------------------------------------------------------
2 Crossbar(s5) 105 95 40 Ok
2 CTSdev1 (s6) 115 105 47 Ok
2 CTSdev2 (s7) 115 105 51 Ok
2 CTSdev3 (s8) 115 105 47 Ok
2 CTSdev4 (s9) 115 105 48 Ok
2 CTSdev5 (s10) 115 105 47 Ok
2 CTSdev7 (s12) 115 105 50 Ok
2 CTSdev8 (s13) 115 105 50 Ok
2 CTSdev9 (s14) 115 105 48 Ok
2 CTSdev10(s15) 115 105 48 Ok
2 CTSdev11(s16) 115 105 46 Ok
2 CTSdev12(s17) 115 105 45 Ok
2 QEng1Sn1(s18) 115 105 43 Ok
2 QEng1Sn2(s19) 115 105 42 Ok
2 QEng1Sn3(s20) 115 105 39 Ok
2 QEng1Sn4(s21) 115 105 40 Ok
2 L2Lookup(s22) 115 105 43 Ok
2 L3Lookup(s23) 120 110 54 Ok
-----------------------------------------------------
PS Model Power Power Status
-----------------------------------------------------
1 N7K-AC-6.0KW 0.00 0.00 Ok
2 N7K-AC-6.0KW 6000.00 120.00 Ok
3 ------------ 0.00 0.00 Absent
Mod Model Power Power Power Power Status
Requested Requested Allocated Allocated
(Watts) (Amp) (Watts) (Amp)
--- ------------------- ------- ---------- --------- ---------- ----------
2 N7K-M148GT-11 247.00 4.94 247.00 4.94 Powered-Up
6 N7K-SUP1 210.00 4.20 210.00 4.20 Powered-Up
Xb1 N7K-C7010-FAB-1 123.50 2.47 123.50 2.47 Powered-Up
Power Supply redundancy mode: Non-Redundant(combined)
Power Supply redundancy operational mode: Non-Redundant(combined)
Total Power Capacity 6000.00 W
Power reserved for Supervisor(s) 420.00 W
Power reserved for Fan Module(s) 2184.00 W
Power reserved for Fabric Module(s) 300.00 W
Power currently used by Modules 247.00 W
Total Power Available 2849.00 W
This example shows how to display information about the power environment:
switch# show environment power
-----------------------------------------------------
PS Model Power Power Status
-----------------------------------------------------
2 FIORANO 6000.00 120.00 Ok
3 ------------ 0.00 0.00 Absent
Mod Model Power Power Power Power Status
Requested Requested Allocated Allocated
(Watts) (Amp) (Watts) (Amp)
--- ------------------- ------- ---------- --------- ---------- ----------
2 NURBURGRING 247.00 4.94 247.00 4.94 Powered-Up
6 CATALUNYA 210.00 4.20 210.00 4.20 Powered-Up
Xb1 Estoril 123.50 2.47 123.50 2.47 Powered-Up
Power Supply redundancy mode: Non-Redundant(combined)
Power Supply redundancy operational mode: Non-Redundant(combined)
Total Power Capacity 6000.00 W
Power reserved for Supervisor(s) 420.00 W
Power reserved for Fan Module(s) 2184.00 W
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.
|
show event manager environment
Use the show event manager environment command to display the name and value of Embedded Event Manager (EEM) environment variables.
show event manager environment {varname | all}
Syntax Description
{varname | all}
|
Displays information about the specified environment variable or all environment variables.
|
Defaults
None
Command Modes
Any
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows all of the EEM environment variables:
switch# show event manager environment all
show event manager event-types
Use the show event manager event-types command to view the Embedded Event Manager (EEM) event types.
show event manager event-types [detail | event-type-name] [module module]
Syntax Description
detail
|
(Optional) View details of all event types.
|
event-type-name
|
(Optional) View the specified event-type-name.
|
module module
|
(Optional) View the events defined for a specific module. Select from module 1 to 10.
|
Defaults
None
Command Modes
Any
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows the details of the EEM event types:
switch# show event manager event-types detail
show event manager history events
Use the show event manager history events command to display the Embedded Event Manager (EEM) events that have been triggered.
show event manager history events [detail] [maximum number] [severity severity]
Syntax Description
detail
|
(Optional) View details of all event types.
|
maximum number
|
(Optional) Specify the maximum number of history events to display.
|
severity severity
|
(Optional) View only those events that were of the specified severity.
|
Defaults
None
Command Modes
Any
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows the EEM history events that have been triggered that were of severity 7:
switch# show event manager history events severity 7
show event manager policy
Use the show event manager policy command to view the registered Embedded Event Manager (EEM) policies.
show event manager policy [detail] [policy-name | inactive]
Syntax Description
detail
|
(Optional) View details of all policies.
|
policy-name
|
(Optional) Specify a policy-name policy to display.
|
inactive
|
(Optional) View only those policies that are inactive.
|
Defaults
None
Command Modes
Any
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows the EEM policies:
switch# show event manager policy
show event manager policy-state
Use the show event manager policy-state command to view the state of the named Embedded Event Manager (EEM) policy.
show event manager policy-state name [module module]
Syntax Description
name
|
Specify the name of a policy to display its state.
|
module module
|
(Optional) View the policy state defined for a specific module. Select from module 1 to 10.
|
Defaults
None
Command Modes
Any
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows the state of an EEM policy:
switch# show event manager policy-state policy42
show event manager script
Use the show event manager script command to view the script policy of the Embedded Event Manager (EEM).
show event manager script system {all | script-name}
Syntax Description
name
|
Specify the name of a policy to display its state.
|
module module
|
(Optional) View the policy state defined for a specific module. Select from module 1 to 10.
|
Defaults
None
Command Modes
Any
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows all the system scripts defined in the EEM:
switch# show event manager script system all
show event manager system-policy
Use the show event manager system-policy command to view the system policies of the Embedded Event Manager (EEM).
show event manager system-policy [all]
Syntax Description
all
|
(Optional) Show all policies (including advanced and non-overridable ones).
|
Defaults
None
Command Modes
Any
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows the EEM system policies:
switch# show event manager system-policy
Related Commands
show flow exporter
To display Flexible NetFlow flow exporter status and statistics, use the show flow exporter command in Any mode.
show flow exporter [name exporter-name]
Syntax Description
name exporter-name
|
(Optional) Specifies the name of a flow exporter. The name can be any case-sensitive alphanumeric string up to 64 characters.
|
Command Default
Information for all flow exporters configured on the router is displayed.
Command Modes
Any
Supported User Roles
network-admin
vdc-admin
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
You must have already enabled traffic monitoring with Flexible NetFlow using an exporter before you can use the show flow exporter command.
This command does not require a license.
Examples
The following example displays the status and statistics for all of the flow exporters configured on the router:
switch# show flow exporter
Flow Exporter NFC-DC-PHOENIX:
Number of Flow Records Exported 0
Number of Export Packets Sent 0
Number of Export Bytes Sent 0
Number of Destination Unreachable Events 0
Number of No Buffer Events 0
Number of Packets Dropped (No Route to Host) 0
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
Number of Flow Records Exported 0
Number of Export Packets Sent 0
Number of Export Bytes Sent 0
Number of Destination Unreachable Events 0
Number of No Buffer Events 0
Number of Packets Dropped (No Route to Host) 0
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 test-exporter:
Description: test server in San Jose CA
Number of Flow Records Exported 0
Number of Export Packets Sent 0
Number of Export Bytes Sent 0
Number of Destination Unreachable Events 0
Number of No Buffer Events 0
Number of Packets Dropped (No Route to Host) 0
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
The output fields are self explanatory.
Related Commands
Command
|
Description
|
clear flow exporter
|
Clears the statistics for exporters.
|
destination
|
Configures an export destination for flow exporters.
|
dscp
|
Configures optional DSCP parameters for flow exporters.
|
export-protocol
|
Configures the export protocol version for flow exporters.
|
flow exporter
|
Creates a flow exporter.
|
option
|
Configure options for flow exporters.
|
show flow exporter
|
Displays flow exporter status and statistics.
|
source
|
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.
|
ttl
|
Configures the time-to-live (TTL) value for flow exporters.
|
show flow interface
To display the Flexible NetFlow configuration and status for an interface, use the show flow interface command in Any mode.
show flow interface [interface-type number]
Syntax Description