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
show ntp source
show ntp statistics
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 resources
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
interface-type number
|
(Optional) The type of interface that you want to view Flexible NetFlow accounting configuration information on.
|
Command Default
Information for the Flexible NetFlow accounting configuration on the interface 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 before you can use the show flow interface command.
This command does not require a license.
Examples
The following example displays the Flexible NetFlow accounting configuration on interface Ethernet 0/0 and 0/1:
switch# show flow interface ethernet 1/0
FNF: monitor: NFC-DC-PHOENIX
switch# show flow interface ethernet 0/0
FNF: monitor: FLOW-MONITOR-1
traffic(ip): sampler SAMPLER-2#
Table 1 describes the significant fields shown in the display.
Table 1 show flow interface Field Descriptions
Field
|
Description
|
Interface
|
The interface that information is applicable to.
|
monitor
|
The name of the flow monitor that is configured on the interface.
|
direction:
|
The direction of traffic the flow monitor is monitoring.
The possible values are:
• Input—traffic being received by the interface
• Output—traffic being transmitted by the interface
|
traffic (ip)
|
Indicates if the flow monitor is in normal mode or sampler mode.
The possible values are:
• On—the flow monitor is in normal mode
• Sampler—flow monitor is in sampler mode (the name of the sampler will be included in the display)
|
Related Commands
Command
|
Description
|
show flow monitor
|
Displays flow monitor status and statistics.
|
show flow monitor
To display the status and statistics for a Flexible NetFlow flow monitor, use the show flow monitor command in Any mode.]
show flow monitor [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 a flow monitor:
switch# show flow monitor NFC-DC-PHOENIX statistics
- Active timeout ( 1800 secs) 0
- Inactive timeout ( 15 secs) 112
Table 2 describes the significant fields shown in the display.
Table 2 show flow monitor monitor-name Field Descriptions
Field
|
Description
|
Cache Type
|
The flow monitor cache type.
The possible values are:
• Normal—Flows are expired normally
• Permanent—Flows are never expired
• Immediate—Flows are expired immediately
|
Cache Size
|
The number of entries in the cache.
|
Current entries
|
The number of entries in the cache that are in use.
|
High Watermark
|
The highest number of cache entries seen.
|
Flows added
|
Flows added to the cache since the cache was created.
|
Flows aged
|
Flows expired from the cache since the cache was created.
|
Active Timeout
|
The current value for the active timeout.
|
Inactive Timeout
|
The current value for the inactive timeout.
|
Event aged
|
The number of flows that have been aged by an event such as using the force-export option for the clear flow monitor command or the counter value wrapped because the maximum number for the counter was reached.
|
Watermark aged
|
The number of flows that have been aged because they exceeded the maximum high watermark value.
|
Emergency aged
|
The number of flows from that were aged from the cache to allow new flows to be added.
|
The following example displays the status for a flow monitor:
switch# show flow monitor NFC-DC-PHOENIX
Flow Monitor NFC-DC-PHOENIX:
Description: Used for basic traffic analysis
Flow Record: netflow-original
Flow Exporter: EXP-DC-TOPEKA
Size: 4096 entries / 311316 bytes
Inactive Timeout: 15 secs
Active Timeout: 1800 secs
Update Timeout: 1800 secs
Table 3 describes the significant fields shown in the display.
Table 3 show flow monitor monitor-name Field Descriptions
Field
|
Description
|
Flow Monitor
|
The name of the flow monitor that you configured.
|
Description
|
The description that you configured for the monitor, or the default description-User defined.
|
Flow Record
|
The flow record assigned to the flow monitor.
|
Flow Exporter
|
The exporter(s) that are assigned to the flow monitor.
|
Cache
|
Information on the cache for the flow monitor.
|
Type
|
The flow monitor cache type.
The possible values are:
• Normal—Flows are expired normally
• Permanent—Flows are never expired
• Immediate—Flows are expired immediately
|
Status
|
The status of the flow monitor cache.
The possible values are:
• Allocated—The cache is allocated
• Being deleted—The cache is being deleted
• Not allocated—The cache is not allocated
|
Size
|
The current cache size.
|
Inactive Timeout
|
The current value for the inactive timeout.
|
Active Timeout
|
The current value for the active timeout.
|
Update Timeout
|
The current value for the update timeout.
|
The following example displays the status and statistics for the flow monitor named NFC-DC-PHOENIX:
switch# show flow monitor NFC-DC-PHOENIX cache
- Active timeout ( 1800 secs) 24
- Inactive timeout ( 15 secs) 1528
IPV4 SOURCE ADDRESS: 10.10.10.2
IPV4 DESTINATION ADDRESS: 172.16.10.2
TRNS DESTINATION PORT: 20
ipv4 next hop address: 172.16.7.2
ipv4 destination mask: /24
timestamp first: 10564356
Table 4 describes the significant fields shown in the display.
Table 4 show flow monitor monitor-name Field Descriptions
Field
|
Description
|
Cache type
|
The flow monitor cache type.
The possible values are:
• Normal—Flows are expired normally
• Permanent—Flows are never expired
• Immediate—Flows are expired immediately
|
Cache Size
|
The number of entries in the cache.
|
Current entries
|
The number of entries in the cache that are in use.
|
High Watermark
|
The highest number of cache entries seen.
|
Flows added
|
Flows added to the cache since the cache was created.
|
Flows aged
|
Flows expired from the cache since the cache was created.
|
Active timeout
|
The current value for the inactive timeout.
|
Inactive timeout
|
The current value for the active timeout.
|
Event aged
|
The number of flows that have been aged by an event such as using the force-export option for the clear flow monitor command.
|
Watermark aged
|
The number of flows that have been aged because they exceeded the maximum high watermark value.
|
Emergency aged
|
The number of flows from that were aged from the cache to allow new flows to be added.
|
IP TOS
|
The IP type of service (ToS) value.
|
IP PROTOCOL
|
The protocol number.
|
IPV4 SOURCE ADDRESS
|
The IPv4 source address.
|
IPV4 DESTINATION ADDRESS
|
The IPv4 destination address.
|
TRNS SOURCE PORT
|
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.
|
ip source as
|
The BGP source AS number.
|
ip destination as
|
The BGP destination AS number.
|
ipv4 next hop address
|
The IPv4 address of the next hop that the packet is forwarded to.
|
ipv4 source mask
|
The IPv4 source address mask.
|
ipv4 destination mask
|
The IPv4 destination address mask.
|
tcp flags
|
The value of the TCP flags.
|
interface output
|
The interface that the input is transmitted on.
|
counter bytes
|
The number of bytes that have been counted.
|
counter packets
|
The number of packets that have been counted.
|
timestamp first
|
The timestamp of the first packet in the flow.
|
timestamp last
|
The timestamp of the last packet in the flow.
|
The following example displays the status and statistics the flow monitor named NFC-DC-PHOENIX in a table format:
switch# show flow monitor NFC-DC-PHOENIX cache format table
- Active timeout ( 1800 secs) 0
- Inactive timeout ( 15 secs) 86
IP TOS IP PROT IPV4 SRC ADDR IPV4 DST ADDR TRNS SRC PORT TRNS DST PORT
====== ======= =============== =============== ============= ==============
0x00 1 10.251.10.1 172.16.10.2 0 02
0x00 1 10.251.10.1 172.16.10.2 0 20484
0xC0 17 172.16.6.1 224.0(1).0.9 520 5202
0x00 6 10.10.11.1 172.16.10.5 25 252
Related Commands
Command
|
Description
|
cache
|
Configures flow cache parameters for flow monitors.
|
clear flow monitor
|
Clears the flow monitor.
|
exporter
|
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 a for flow monitor.
|
show flow monitor
|
Displays flow monitor status and statistics.
|
size-distribution
|
Configures the collection of size distribution statistics for flow monitors.
|
show flow record
To display the status and statistics for a Flexible NetFlow flow record, use the show flow record command.
show flow record [name record-name | netflow ipv4 record | netflow-original]
Syntax Description
name record-name
|
(Optional) Specifies name of a flow record that you previously configured.
|
netflow ipv4 record
|
(Optional) Configures the flow monitor to use one of the predefined records. See Table 5 for a listing of the available records and their definitions.
|
netflow-original
|
(Optional) Specifies the Flexible NetFlow implementation of original NetFlow with origin autonomous systems.
|
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.
Table 5 describes the keywords and descriptions for the record argument.
Table 5 Keywords and Descriptions for the record Argument
original-input
|
Traditional IPv4 input NetFlow.
|
original-output
|
Traditional IPv4 output NetFlow.
|
protocol-port
|
Protocol Ports record.
|
Examples
The following example displays the status and statistics the original input NetFlow record:
switch# show flow record netflow ipv4 original-input
Flow record ipv4 original-input:
Description: Traditional IPv4 input NetFlow
match ipv4 source address
match ipv4 destination address
match transport source-port
match transport destination-port
collect routing source as
collect routing destination as
collect routing next-hop address ipv4
collect transport tcp flags
collect timestamp sys-uptime first
collect timestamp sys-uptime last
Table 6 describes the significant fields shown in the display.
Table 6 show flow record netflow-original Field Descriptions
Field
|
Description
|
Description
|
The description that you configured for the record, or the default description-User defined.
|
No. of users
|
The number of references to this record in the configuration.
|
Total field space
|
The number of bytes required to store these fields for one flow.
|
Fields
|
The fields that are included in this record. For more information on the fields refer to the match and collect commands.
|
Related Commands
Command
|
Description
|
cache
|
Configures flow cache parameters for flow monitors.
|
clear flow monitor
|
Clears the flow monitor.
|
exporter
|
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 a for flow monitor.
|
show flow monitor
|
Displays flow monitor status and statistics.
|
size-distribution
|
Configures the collection of size distribution statistics for flow monitors
|
cache
|
Configures flow cache parameters for flow monitors.
|
clear flow monitor
|
Clears the flow monitor.
|
debug flow monitor
|
Enables debugging output for flow monitors.
|
exporter
|
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 a for flow monitor.
|
show flow timeout
To display the Flexible NetFlow flow cache timeout values, use the show flow timeout command in Any mode.
show flow timeout
Syntax Description
This command has no arguments or keywords.
Command Default
Information for the Flexible NetFlow accounting configuration on the interface 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 before you can use the show flow timeout command.
This command does not require a license.
Examples
The following example displays the Flexible NetFlow flow cache timeout values:
switch# show flow timeout
Active timeout: 1800 seconds
Inactive timeout: 15 seconds
Session aging timeout: Disabled
Aggressive aging timeout: Disabled
The fields in the output are self explanatory.
Related Commands
Command
|
Description
|
flow timeout
|
Creates a flow timeout.
|
show hardware fabric-utilization
To display information fabric utilization, use the show hardware fabric-utilization command.
show hardware fabric-utilization [detail] [module slot-number]
Syntax Description
detail
|
(Optional) Displays detailed information about the fabric utilization.
|
module slot-number
|
(Optional) Displays information specific to a module.
|
Command Default
None
Command Modes
Any
Supported User Roles
network-admin
vdc-admin
Command History
Release
|
Modification
|
4.0(3)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example displays the fabric utilization:
switch(config)# show hardware fabric-utilization
-----------------------------
Slot Direction Utilization
-----------------------------
The fields in the output are self explanatory.
show hardware flow aging
To display information about NetFlow hardware flow aging, use the show hardware flow aging command.
show hardware flow aging [vdc vdc-name] [detail] [module slot-number]
Syntax Description
vdc vdc-name
|
(Optional) Specifies the VDC name. The VDC name can be any case-sensitive alphanumeric string up to 64 characters.
|
detail
|
(Optional) Displays detailed information about the flows.
|
module slot-number
|
(Optional) Displays information specific to a module.
|
Command Default
None
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 before you can use the show hardware flow aging command.
This command does not require a license.
Examples
This example displays 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
----------+----------+----------+----------+----------
The fields in the output are self explanatory.
Related Commands
Command
|
Description
|
flow timeout
|
Creates a flow timeout.
|
show hardware flow entry
To display information about NetFlow table entry, use the show hardware flow entry command.
show hardware flow entry address location type {ip | ipv6} [detail] [module slot-number]
Syntax Description
location
|
The address location of the NetFlow table Entry, in hexidecimal. The location range is from 0x0 to 0x3fffff.
|
ip
|
Displays detailed information about the IP flows.
|
ipv6
|
Displays detailed information about the IPv6 flows.
|
detail
|
(Optional) Displays detailed information about the flows.
|
module slot-number
|
(Optional) Displays information specific to a module.
|
Command Default
None
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 before you can use the show hardware flow entry command.
This command does not require a license.
Examples
This example displays the NetFlow table entry for module 2:
switch(config)# show hardware flow entry address 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)
lkup_dir = 0 (0=Ingress, 1=Egress)
l4_info(ovld_d) = 0x00000000
ipv4_sa(ovld_f) = 0.0.0.0
ipv4_da(ovld_g) = 0.0.0.0
sh_plc_idx/sampler_id = 0x0
NS Entry Info (dev_id = 0, ns_entry_addr = 0x00000000):
tcp_flag = 0x0 (URG=0, ACK=0, PSH=0, RST=0, SYN=0, FIN=0)
nf_byte_cnt = 0000000000000
nf_byte_cnt_excd = 0000000000000
sw_prog/sticky_status = 0
Related Commands
Command
|
Description
|
flow
|
Creates a flow .
|
show hardware flow ip
To display information about NetFlow hardware IP flows, use the show hardware flow ip command.
show hardware flow ip [interface type number | monitor monitor-name | profile profile-id | vdc
vdc-name | vlan vlan-name] [detail] [module module]
Syntax Description
interface interface-type number
|
(Optional) Specifies the type of interface that you want to view Flexible NetFlow accounting configuration information on.
|
monitor monitor-name
|
(Optional) Specifies the name of the flow monitor. The monitor name can be any case-sensitive alphanumeric string up to 64 characters.
|
profile profile-id
|
(Optional) Specifies the name of the flow profile. The profile ID range is from 0 to 31.
|
vdc vdc-name
|
(Optional) Specifies the VDC name. The VDC name can be any case-sensitive alphanumeric string up to 64 characters.
|
detail
|
(Optional) Displays detailed information about the flows.
|
module slot-number
|
(Optional) Displays information specific to a module.
|
Command Default
None
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 before you can use the show hardware flow ip command.
This command does not require a license.
Examples
This example displays the NetFlow aging values for module 8:
switch(config)# show hardware flow ip module 8
D - Direction; L4 Info - Protocol:Source Port:Destination Port
IF - Interface: ()ethernet, (S)vi, (V)lan, (P)ortchannel, (T)unnel
TCP Flags: Ack, Flush, Push, Reset, Syn, Urgent
D IF SrcAddr DstAddr L4 Info PktCnt TCP Flags
-+-----+---------------+---------------+---------------+----------+-----------
I 8/26 007.002.000.002 007.001.000.002 000:00000:00000 0000421885 . . . . . .
I 8/25 007.001.000.002 007.002.000.002 000:00000:00000 0000421900 . . . . . .
O 8/25 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 . . . . . .
Related Commands
Command
|
Description
|
flow
|
Creates a flow.
|
show hardware flow sampler
To display information about sampled NetFlow hardware flows, use the show hardware flow sampler command.
show hardware flow sampler [all | count | index number | name sampler-name | vdc vdc_id]
[detail] [module module]
Syntax Description
all
|
(Optional) Specifies all Netflow sampler usage.
|
count
|
(Optional) Specifies the sampler table utilization.
|
index number
|
(Optional) Specifies the sampler table index, in hexidecimal. The range is from 0x0 to 0x3ff.
|
name sampler-name
|
(Optional) Specifies the sampler name. The name can be any case-sensitive alphanumeric string up to 64 characters.
|
vdc vdc-name
|
(Optional) Specifies the VDC name. The VDC name can be any case-sensitive alphanumeric string up to 64 characters.
|
detail
|
(Optional) Displays detailed information about the flows.
|
module slot-number
|
(Optional) Displays information specific to a module.
|
Command Default
None
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 before you can use the show hardware flow sampler command.
This command does not require a license.
Examples
This example displays the NetFlow sampler table utilization for module 2:
switch# show hardware flow sampler count module 2
Sampler Table Utilization: about 0.00% (0/64)
Related Commands
Command
|
Description
|
flow
|
Creates a flow.
|
show hardware flow utilization
To display information about NetFlow hardware flow utilization, use the show hardware flow utilization command.
show hardware flow utilization [module module]
Syntax Description
module slot-number
|
(Optional) Displays information specific to a module.
|
Command Default
None
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 before you can use the show hardware flow utilization command.
This command does not require a license.
Examples
This example displays the NetFlow sampler table utilization for module 2:
switch# show hardware flow utilization module 2
Flow Utilization: 0.00% (0/515090)
Total number of flows = 0
IPv4 flow creation failure = 0
IPv6 flow creation failure = 0
MPLS flow creation failure = 0
L2 flow creation failure = 0
IFE flow creation failure = 0
OFE flow creation failure = 0
IFE CF FIFO full failure = 0
OFE CF FIFO full failure = 0
IFE NT table full failure = 0
OFE NT table full failure = 0
NO freelist pointer failure = 0
Hash Table(NH) page full failure = 0
Related Commands
Command
|
Description
|
flow
|
Creates a flow.
|
show inventory
To display inventory information for the device hardware, use the show inventory command.
show inventory [chassis | clock | fans | module | power_supply]
Syntax Description
chassis
|
(Optional) Displays chassis information.
|
clock
|
(Optional) Displays clock module information.
|
fans
|
(Optional) Displays fan information
|
module
|
(Optional) Displays module information.
|
power_supply
|
(Optional) Displays power supply information.
|
Defaults
Displays all hardware inventory information.
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
This command does not require a license.
Examples
This example shows how to display configuration incompatibilities:
NAME: "Chassis", DESCR: "Nexus7000 C7010 (10 Slot) Chassis "
PID: N7K-C7010 , VID: , SN: TBM11256507
NAME: "Slot 2", DESCR: "10/100/1000 Mbps Ethernet Module"
PID: N7K-M148GT-11 , VID: , SN: JAB104400P0
NAME: "Slot 6", DESCR: "Supervisor module-1X"
PID: N7K-SUP1 , VID: TBD , SN: JAB10380101
NAME: "Slot 11", DESCR: "Fabric card module"
PID: N7K-C7010-FAB-1 , VID: , SN: JAB104300HM
NAME: "Slot 33", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Power Supply"
PID: FIORANO , VID: , SN: DTH1117T005
NAME: "Slot 34", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Power Supply"
PID: N7K-AC-6.0KW , VID: , SN: DTH1117T009
NAME: "Slot 36", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Fan Module"
NAME: "Slot 37", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Fan Module"
NAME: "Slot 38", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Fan Module"
NAME: "Slot 39", DESCR: "Nexus7000 C7010 (10 Slot) Chassis Fan Module"
show logging console
Use the show logging console command to display the console logging configuration.
show logging console
Syntax Description
This command has no arguments or keywords.
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 how to display the console logging configuration:
switch# show logging console
Related Commands
Command
|
Description
|
logging console
|
Configures logging to the console.
|
show logging info
Use the show logging info command to display the logging configuration.
show logging info
Syntax Description
This command has no arguments or keywords.
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 how to display the logging configuration:
switch# show logging info
show logging ip access-list cache
Use the show logging ip access-list cache command to display information about the logging IP access list cache.
show logging ip access-list cache
Syntax Description
This command has no arguments or keywords.
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 how to display information about the logging IP access list cache:
switch# show logging ip access-list cache
Related Commands
Command
|
Description
|
logging ip access-list
|
Configures logging for access lists.
|
show logging last
Use the show logging last command to display the last number lines of the logfile.
show logging last number
Syntax Description
number
|
Enter number of lines to display from 1 to 9999.
|
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 how to display the last 42 lines of the logfile:
switch# show logging last 42
show logging level
Use the show logging level command to display the facility logging severity level configuration.
show logging level [facility]
Syntax Description
Defaults
None
Command Modes
Global configuration
Supported User Roles
Super user
VDC administrator
VDC user
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
4.0(2)
|
Added interface-vlan, netstack, private-vlan, and ipv6 keywords.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the port-channel logging severity level configuration:
switch# show logging level port-channel
Related Commands
Command
|
Description
|
logging level
|
Configures the facility logging level.
|
show logging logfile
Use the show logging logfile command to display the messages in the log file that were timestamped within the span entered. If you do not enter an end time, the current time is used.
show logging logfile [start-time yyyy mmm dd hh:mm:ss] [end-time yyyy mmm dd hh:mm:ss]
Syntax Description
start-time
|
(Optional) Enter a start time in the format yyyy mmm dd hh:mm:ss. Use three characters for the month (mmm) field, digits for the year (yyyy) and day (dd) fields, and digits separated by colons for the time (hh:mm:ss) field.
|
end-time
|
(Optional) Enter an end time in the format yyyy mmm dd hh:mm:ss. Use three characters for the month (mmm) field, digits for the year (yyyy) and day (dd) fields, and digits separated by colons for the time (hh:mm:ss) field.
|
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 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
Related Commands
Command
|
Description
|
logging logfile
|
Configures logging to a log file.
|
show logging loopback
Use the show logging loopback command to display the logging loopback configuration.
show logging loopback
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Global configuration
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 how to display the logging loopback configuration:
switch# show logging loopback
show logging module
Use the show logging module command to display the module logging configuration.
show logging module
Syntax Description
This command has no arguments or keywords.
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 how to display the module logging configuration:
switch# show logging module
Related Commands
Command
|
Description
|
logging module
|
Configures module logging.
|
show logging monitor
Use the show logging monitor command to display the monitor logging configuration.
show logging monitor
Syntax Description
This command has no arguments or keywords.
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 how to display the monitor logging configuration:
switch# show logging monitor
Related Commands
Command
|
Description
|
logging monitor
|
Configures logging on the monitor.
|
show logging nvram
Use the show logging nvram command to display the messages in the NVRAM log.
show logging nvram [last number-lines]
Syntax Description
last number-lines
|
(Optional) Enter a number of lines to display. The last number-lines is displayed. Specify from 1 to 100 lines.
|
Defaults
None
Command Modes
Global configuration
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 how to display the last 20 messages in the NVRAM log:
switch# show logging nvram last 20
show logging onboard
To display the onboard logging information based on the error type, use the show logging onboard command.
show logging onboard {boot-uptime | device-version | counter-stats | endtime |
environmental-history | error-stats | exception-log | interrupt-stats | kernel-trace | module
num | obfl-history | obfl-logs | stack-trace | starttime | status}
Syntax Description
boot-uptime
|
Displays the OBFL boot and uptime information.
|
counter-stats
|
(Optional) Displays the OBFL counter statistics.
|
device-version
|
Displays the OBFL device version information.
|
endtime mm/dd/yy-HH:MM:SS
|
Displays the OBFL logs until the specified end time.
|
environmental-history
|
Displays the OBFL environmental history.
|
error-stats
|
Displays the OBFL error statistics.
|
exception-log
|
Displays the OBFL exception log.
|
interrupt-stats
|
Displays the OBFL interrupt statistics.
|
kernel-trace
|
Displays the OBFL kernel trace information.
|
module num
|
Displays the OBFL information for a specific module.
|
obfl-history
|
Displays the OBFL history information.
|
obfl-logs
|
Displays the OBFL Tech support log information.
|
stack-trace
|
Displays the OBFL kernel stack trace information.
|
starttime mm/dd/yy-HH:MM:SS
|
Displays the OBFL logs from the specified start time.
|
status
|
Displays the OBFL status enable/disable.
|
Command Default
None
Command Modes
Any
Supported User Roles
network-admin
vdc-admin
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
4.0(2)
|
Added counter-stats keyword.
|
Usage Guidelines
The date and time arguments for the starttime and endtime keywords are entered as the date month/day/year (mm/dd/yy), followed by a hyphen, and the time in 24-hour format in hours:minutes:seconds (HH:MM:SS). For example:
•
starttime 03/17/08-15:01:57
•
endtime 03/18/08-15:04:57
The valid values for file are as follows:
•
bootflash:
•
ftp:
•
scp:
•
sftp:
•
slot0:
•
tftp:
•
volatile:
The valid values for type are as follows:
•
begin [-i] [-x] [word]—Begin with the line that matches the text.
–
-i—Ignores the case difference when comparing the strings.
–
-x—Prints only the lines where the match is a whole line.
–
word—Specifies for the expression.
•
count [> file | | type]—Counts number of lines.
•
egrep | grep print-match—Egrep or Grep. Egrep searches for lines of text that match more sophisticated regular expression syntax than grep. Grep searches for lines of text that match one or many regular expressions, and outputs only the matching lines.
–
-A num—Prints the specifies number of lines of context after every matching line. Range: 1 to 999.
–
-B num—Prints the specifies number of lines of context before every matching line. Range: 1 to 999.
–
-c—Prints a total count of matching lines only.
–
-i—Ignores the case difference when comparing the strings.
–
-n—Prints each match preceded by its line number.
–
-v—Prints only the lines that contain no matches for the word argument.
–
-w—Prints only lines where the match is a complete word
–
-x—Prints only the lines where the match is a whole line.
–
word—Specifies for the expression.
•
exclude [-i] [-x] [word]—Excludes the lines that match.
–
-i—Ignores the case difference when comparing the strings.
–
-x—Prints only the lines where the match is a whole line.
–
word—Specifies for the expression.
•
head [-n num]—Stream Editor. The optional -n num keyword and argument allows you to specify the number of lines to print. Range: 0 to 2147483647.
•
include [-i] [-x] [word]—Include the lines that match
–
-i—Ignores the case difference when comparing the strings.
–
-x—Prints only the lines where the match is a whole line.
–
word—Specifies for the expression.
•
last [num]—Displays the last lines to print. The optional num specifies the number of lines to print. Range: 0 to 9999.
•
less [-E | -d]—Quits at the end of the file.
–
-E—(Optional) Quits at the end of the file.
–
-d—(Optional) Specifies a dumb terminal.
•
no-more—Turn-off pagination for command output
•
sed command—Stream Editor
•
wc—Counts words, lines, and characters.
–
-c—(Optional) Specifies the output character count
–
-l—(Optional) Specifies the output line count.
–
-w—(Optional) Specifies the output word count.
–
>—Redirect it to a file
–
|—Pipe command output to filter
Use this command to view OBFL data from system hardware. The OBFL feature is enabled by default and records operating temperatures, hardware uptime, interrupts, and other important events and messages that can assist with diagnosing problems with hardware cards (or modules) installed in a Cisco router or switch. Data is logged to files 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.
The OBFL feature provides a circular updating scheme for collecting continuous records and archiving older (historical) records, ensuring accurate data about the system. Data is recorded in one of two formats: continuous information that displays a snapshot of measurements and samples in a continuous file, and summary information that provides details about the data being collected. The message "No historical data to display" is seen when historical data is not available.
This command does not require a license.
Examples
This example shows how to display the OBFL boot and uptime information:
switch# show logging onboard module 2 boot-uptime
Sat Feb 29 18:11:38 2008: Boot Record
----------------------------------------------------------------
Boot Time..........: Sat Feb 29 18:11:38 2008
Serial Number......: JAB0912026U
Bios Version.......: v0.0.8(08/18/07)
Alt Bios Version...: v0.0.8(08/18/07)
Firmware Version...: 3.0(1) [build 3.0(0.291)]
Table 7 describes the significant fields shown in the display.
Table 7 show logging onboard boot-uptime Command Output
Field
|
Description
|
Boot Time
|
Time boot occurred.
|
Slot Number
|
Slot number
|
Serial Number
|
Serial number of the module.
|
Bios Version
|
Primary binary input and output system (BIOS) version.
|
Alt Bios Version
|
Alternate BIOS version.
|
Firmware Version
|
Firmware version.
|
This example shows how to display the OBFL logging device information:
switch# show logging onboard module 2 device-version
------------------------------------------------------------------------
Timestamp Device Name Instance Hardware Software
------------------------------------------------------------------------
Sat Feb 29 18:11:38 2008 Stratosphere 0 1 1
Sat Feb 29 18:11:38 2008 Stratosphere 1 1 1
Sat Feb 29 18:11:38 2008 Skyline-asic 0 1 1
Sat Feb 29 18:11:38 2008 Tuscany-asic 0 1 0
Sat Feb 29 18:11:38 2008 X-Bus IO 0 6 0
Sat Feb 29 18:11:38 2008 Power Mngmnt Epl 0 6 0
Sat Feb 29 18:42:01 2008 Stratosphere 0 1 1
Sat Feb 29 18:42:01 2008 Stratosphere 1 1 1
Sat Feb 29 18:42:01 2008 Skyline-asic 0 1 1
Sat Feb 29 18:42:01 2008 Tuscany-asic 0 1 0
Sat Feb 29 18:42:01 2008 X-Bus IO 0 6 0
Sat Feb 29 18:42:01 2008 Power Mngmnt Epl 0 6 0
Table 8 describes the significant fields shown in the display.
Table 8 show logging onboard device-version Command Output
Field
|
Description
|
Timestamp
|
Day, date, and time.
|
Device Name
|
Device name.
|
Instance Num
|
Number of instances.
|
Hardware Version
|
Hardware device version.
|
Software Version
|
Software device version.
|
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 Name : DEV_SKYLINE_NI
Device Error Name : SKY_NI_ERR_BM_B1_3_BIST_FAILED
Sys Error : Skyline ni module experienced an error
Errtype : NON-CATASTROPHIC
PhyPortLayer : Fibre Channel
Error Description : Skyline BM B1_3 BIST for interface 2 timed out during init
Time : Sun Feb 24 00:11:25 2008
Table 9 describes the significant fields shown in the display.
Table 9 show logging onboard exception-log Command Output
Field
|
Description
|
Sun Feb 24 00:12:35 2008:
|
Date and time the exception was recorded.
|
Device Id :
|
Device identification number.
|
Device Name :
|
Device name.
|
Device Error Code :
|
Device specific error code.
|
Device Error Name :
|
Name of the device error.
|
Sys Error :
|
System error message.
|
Errtype :
|
Error type.
|
PhyPortLayer :
|
Physical layer type.
|
Port(s) Affected :
|
Number of the ports affected.
|
Error Description :
|
Description of the error.
|
DSAP :
|
Destination session announcement protocol (DSAP) identification.
|
UUID :
|
Universal unique identifier (UUID).
|
This example shows how to display the OBFL history information:
switch# show logging onboard module 2 obfl-history
Sat Feb 29 30 18:09:57 2008 : OBFL all logs cleared
Sat Feb 29 18:47:53 2008 : OBFL miscellaneous-error logs cleared
Sat Feb 29 20:07:45 2008 : OBFL miscellaneous-error logs cleared
The show logging onboard obfl-history command displays the following information:
•
Timestamp when OBFL is manually disabled.
•
Timestamp when OBFL is manually enabled.
•
Timestamp when OBFL data is manually cleared.
This example shows how to display the OBFL kernel stack trace information:
switch# show logging onboard module 2 stack-trace
==================== 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
ppc_irq_dispatch_handler + 0x190
transfer_to_handler + 0x15c
NIP: C0005A20 XER: 00000000 LR: C0005A2C SP: C01AA120 REGS: c01aa070 TRAP: 0500
MSR: 00009000 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00
DEAR: C0029B40, ESR: C01F0000
MCSRR0: 00000000, MCSRR1: 00000000, MCAR: 00000000
MCSR: 00000000 MCAR: 00000000 MCPSUMR: 00000000
TASK = c01a8190[0] 'swapper' Last syscall: 120
last math 00000000 last altivec 00000000 last spe 00000000
GPR00: 00000000 C01AA120 C01A8190 00000000 00000032 C8F1DE28 D1010A9F 00000000
GPR08: 0000180F C01FA39C D1010AA3 C01B8D18 24044244 1003A44C 0FFF6700 10049000
GPR16: 0FFAE1B0 0FFFAC90 00000000 00000000 00000000 00000000 00000000 00000001
GPR24: 00000000 00000000 00001160 007FFEAB 007FFE00 C01F0000 C01F0000 00000000
·The show logging onboard stack-trace command displays the following information:
•
Time in seconds.
•
Time in micro seconds.
•
Error description string.
•
Current process name and identification.
•
Kernel jiffies.
•
Stack trace.
This example shows how to display the OBFL error statistics:
switch# show logging onboard module 2 error-stats
----------------------------
----------------------------
------------------------------------------------------------------------------
ERROR STATISTICS INFORMATION FOR DEVICE ID 80 DEVICE Eureka
------------------------------------------------------------------------------
Error Stat Counter Name | Count |MM/DD/YY HH:MM:SS|st|Rang
------------------------------------------------------------------------------
PB2_TX FlwCtrl from conn. ASIC > pe|0x1 |02/04/08 17:07:28|00|
PB2_TX FlwCtrl from conn. ASIC > pe|0x1 |02/06/08 10:54:44|00|
------------------------------------------------------------------------------
ERROR STATISTICS INFORMATION FOR DEVICE ID 81 DEVICE Lamira
------------------------------------------------------------------------------
Error Stat Counter Name | Count |MM/DD/YY HH:MM:SS|st|Rang
------------------------------------------------------------------------------
NF2 Interrupt - NH HIT error |0x1 |02/06/08 10:54:44|00|
Table 9 describes the significant fields shown in the display.
Table 10 show logging onboard error-stats Command Output
Field
|
Description
|
Error Stat Counter Name
|
Name of the error statistics counter.
|
Count
|
Total interrupt count.
|
Time Stamp MM/DD/YY HH:MM:SS
|
Time and date of the error.
|
Inst Id
|
Instance number.
|
Port Range:
|
Range of ports affected.
|
Related Commands
clear logging onboard
|
Clears the OBFL entries in the persistent log.
|
hw-module logging onboard
|
Enables or disabled OBFL entries based on the error type.
|
show logging onboard
Use the show logging onboard command to display the onboard failure logs (OBFL).
show logging onboard {boot-uptime | device-version | endtime time [options] |
environmental-history | error-stats [port number] | exception-log | interrupt-stats | module
module [options] | obfl-history | obfl-logs | stack-trace | starttime time [options] | status}
Syntax Description
boot-uptime
|
Show the OBFL boot and uptime information.
|
device-version
|
Show the OBFL device version information.
|
endtime time [options]
|
Show the OBFL logs until the end time, in the format mm/dd/yy-HH:MM:SS.
|
environmental-history
|
Show the OBFL environmental history.
|
error-stats [port number]
|
Show the OBFL error statistics. Optionally, provide a port number to view the error statistics for the specified port.
|
exception-log
|
Show the OBFL exception log.
|
interrupt-stats
|
Show the OBFL interrupt statistics.
|
module module [options]
|
Show the OBFL information for the specified module. Enter a module number in the range of 1-10.
To get more specific information from the selected module, you can optionally provide any of the other arguments for the show logging onboard command.
|
obfl-history
|
Show the OBFL history information.
|
obfl-logs
|
Show the OBFL Technical Support log.
|
stack-trace
|
Show the OBFL stack trace.
|
starttime time [options]
|
Show the OBFL logs from the start time, in the format mm/dd/yy-HH:MM:SS.
|
status
|
Show the OBFL enable/disable status.
|
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 how to show the OBFL from March 10, 2008 at 3:45 PM:
switch# show logging onboard starttime 03/10/08-15:45:00
show logging server
Use the show logging server command to display the syslog server configuration.
show logging server
Syntax Description
This command has no arguments or keywords.
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 how to display the syslog server configuration:
switch# show logging server
Related Commands
Command
|
Description
|
logging server
|
Configures a remote syslog server.
|
show logging session status
Use the show logging session status command to display the logging session status.
show logging session status
Syntax Description
This command has no arguments or keywords.
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 how to display the logging session status:
switch# show logging session status
show logging status
Use the show logging status command to display the logging status.
show logging status
Syntax Description
This command has no arguments or keywords.
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 how to display the logging status:
switch# show logging status
show logging timestamp
Use the show logging timestamp command to display the logging timestamp configuration.
show logging timestamp
Syntax Description
This command has no arguments or keywords.
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 how to display the logging timestamp configuration:
switch# show logging timestamp
Related Commands
Command
|
Description
|
logging timestamp
|
Configures the logging timestamp granularity.
|
show logging level ntp
To display the Network Time Protocol syslog logging level, use the show logging level ntp command.
show logging level ntp
Syntax Description
This command has no arguments or keywords.
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.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how display the NTP logging level:
switch(config)# show logging-level ntp
Related Commands
Command
|
Description
|
logging level ntp
|
Configures the NTP logging level
|
show module
To display module information, use the show module command.
show module [slot {bandwidth-fairness | recovery-steps} | uptime | xbar [xbar-slot]]
Syntax Description
slot
|
(Optional) Number of the slot for an I/O module or a supervisor module.
|
bandwidth-fairness
|
Displays the status of the bandwidth fairness for the module.
|
recovery-steps
|
Displays the steps to recover the module from a down state.
|
uptime
|
(Optional) Displays the amount of time since the modules were reloaded.
|
xbar
|
(Optional) Displays information about a fabric module.
|
xbar-slot
|
(Optional) Number of the slot for the fabric module.
|
Defaults
Displays module information for all I/O modules and supervisor modules in the chassis.
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
This command does not require a license.
Examples
This example shows how to display information for all modules in the chassis:
Mod Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
2 48 10/100/1000 Mbps Ethernet Module N7K-M148GT-11 ok
6 0 Supervisor module-1X N7K-SUP1 active *
Mod Sw Hw World-Wide-Name(s) (WWN)
--- -------------- ------ --------------------------------------------------
Mod MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
2 00-19-07-6c-4d-a8 to 00-19-07-6c-4d-dc JAB104400P0
6 00-19-07-6c-1a-78 to 00-19-07-6c-1a-80 JAB10380101
This example shows how to display information for a specific module:
Mod Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
2 48 10/100/1000 Mbps Ethernet Module N7K-M148GT-11 ok
Mod Sw Hw World-Wide-Name(s) (WWN)
--- -------------- ------ --------------------------------------------------
Mod MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
2 00-19-07-6c-4d-a8 to 00-19-07-6c-4d-dc JAB104400P0
This example shows how to display information for the fabric modules:
Xbar Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
1 0 Xbar N7K-C7010-FAB-1 ok
Xbar Sw Hw World-Wide-Name(s) (WWN)
--- -------------- ------ --------------------------------------------------
Xbar MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
Related Commands
Command
|
Description
|
show hardware
|
Displays information about the hardware.
|
show inventory
|
Displays hardware inventory information.
|
show ntp peer-status
To do display the status of the Network Time Protocol peers, use the show ntp peer-status command.
show ntp peer-status
Syntax Description
This command has no arguments or keywords.
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.
|
Usage Guidelines
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.
|
show ntp peers
To display information about Network Time Protocol (NTP) peers, use the show ntp peers command.
show ntp peers
Syntax Description
This command has no arguments or keywords.
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.
|
Usage Guidelines
This command does not require a license.
Examples
This example displays information about NTP peers:
switch(config)# show ntp peers
Related Commands
Command
|
Description
|
show ntp peer-status
|
Displays status information about NTP peers.
|
show ntp source
To display information about the Network Time Protocol source, use the show ntp source command.
show ntp source
Syntax Description
This command has no arguments or keywords.
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.
|
Usage Guidelines
This command does not require a license.
Examples
This example displays the NTP source information:
switch(config)# show ntp source
Related Commands
Command
|
Description
|
ntp source
|
Configures the NTP source.
|
show ntp statistics
To display Network Time Protocol (NTP) statistics, use the show ntp statistics command.
show ntp statistics {io | local | memory | peer {ipaddr address | name name1 [..namen]}
Syntax Description
io
|
Show the input-output statistics.
|
local
|
Show the counters maintained by the local NTP.
|
memory
|
Show the statistics counters related to memory code.
|
peer
|
Show the per-peer statistics counter of a peer.
|
ipaddr address
|
Displays statistics for the peer with the configured IPv4 or IPv6 address. The IPv4 address format is dotted decimal, x.x.x.x. The IPv6 address format is hex A:B::C:D.
|
name name1 [..namen]
|
Displays statistics for one or more named peers..
|
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.
|
Usage Guidelines
This command does not require a license.
Examples
This example displays statistics for NTP:
switch(config)# show ntp statistics local
Related Commands
Command
|
Description
|
clear ntp statistics
|
Clears NTP statistics
|
show processes
To display the process information for a device, use the show processes command.
show processes [vdc vdc-number]
Syntax Description
vdc vdc-number
|
(Optional) Displays process information for a specific virtual device context (VDC).
|
Defaults
Displays information for all processes in the local device.
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 specify another VDC only from the default VDC.
This command does not require a license.
Examples
This example shows how to display the process information for a device:
PID State PC Start_cnt TTY Type Process
----- ----- -------- ----------- ---- ---- -------------
This example shows how to display the process information for another VDC:
switch# show processes vdc 2
PID State PC Start_cnt TTY Type Process
----- ----- -------- ----------- ---- ---- -------------
show processes cpu
To display the CPU utilization information for processes on the device, use the show processes cpu command.
show processes cpu
Syntax Description
This command has no arguments or keywords.
Defaults
Displays information for all processes in the local device.
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
This command does not require a license.
Examples
This example shows how to display the CPU utilization information for the processes:
switch# show processes cpu
PID Runtime(ms) Invoked uSecs 1Sec Process
----- ----------- -------- ----- ----- -----------
2 302 636268 0 0 migration/0
3 1586 72636726 0 0 ksoftirqd/0
4 502 1345165 0 0 desched/0
5 1956 559740 3 0 migration/1
6 2218 457761883 0 0 ksoftirqd/1
7 2325 1469647 1 0 desched/1
8 1158 794795 1 0 events/0
9 1258 721210 1 0 events/1
102 201 286 704 0 kblockd/0
103 276 516 535 0 kblockd/1
show processes log
To display the contents of the process log, use the show processes log command.
show processes log [details | pid process-id | vdc-all]
Syntax Description
details
|
(Optional) Displays detailed information from the process log.
|
pid process-id
|
(Optional) Displays detailed information from the process log for a specific process. The process ID range is from 1 to 2147483647.
|
vdc-all
|
(Optional) Displays process log information for all VDCs.
|
Defaults
Displays summary information for all processes on the device.
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
This command does not require a license.
Examples
This example shows how to display summary information from the process log:
switch# show processes log
VDC Process PID Normal-exit Stack Core Log-create-time
--- --------------- ------ ----------- ----- ----- ---------------
1 aclmgr 3632 N Y N Thu Mar 13 21:37:07 2008
1 aclmgr 4182 N Y N Wed Mar 12 13:45:38 2008
1 aclmgr 4205 N Y N Wed Mar 12 13:45:38 2008
1 adjmgr 4333 N N N Sat Nov 24 06:25:20 2007
1 arbiter 4332 N Y N Mon Nov 19 10:14:42 2007
1 arp 3870 N Y N Sat Dec 22 12:02:46 2007
1 clis 10005 N Y N Sat Nov 24 03:46:13 2007
1 clis 10268 N N N Fri Dec 14 09:13:53 2007
1 clis 1040 N Y N Fri Nov 16 13:34:30 2007
This example shows how to display detailed information from the process log:
switch# show processes log details
======================================================
Started at Thu Mar 13 20:34:35 2008 (507163 us)
Stopped at Thu Mar 13 20:37:07 2008 (664205 us)
Uptime: 2 minutes 32 seconds
Start type: SRV_OPTION_RESTART_STATELESS (23)
Death reason: SYSMGR_DEATH_REASON_FAILURE_SIGNAL (2)
System image name: n7000-s1-dk9.4.0.1.gbin
System image version: 4.0(1) S7
Exit code: signal 11 (core dumped)
EBX B7D64CD0 ECX 00000001 EDX 00000001
ESI 41170040 EDI 00000000 EBP BFFFD1C8
EAX 00000401 XDS C010007B XES 0000007B
EAX FFFFFFFF (orig) EIP B7D5BEF2 XCS 00000073
EFL 00010292 ESP BFFFD1C0 XSS 0000007B
Stack: 4272 bytes. ESP BFFFD1C0, TOP BFFFE270
0xBFFFD1C0: B7D5BEE0 B7D64CD0 BFFFD1D8 B7D5C381 .....L..........
0xBFFFD1D0: B7D2614C FF000226 BFFFD218 B7D232BA La..&........2..
0xBFFFD1E0: B5542014 B7D25DE0 000007DE B5542014 . T..]....... T.
0xBFFFD1F0: B7D08918 B7D2614C FF000226 08241A54 ....La..&...T.$.
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.......
This example shows how to display detailed information from the process log for a specific process:
switch# show processes pid 3632
======================================================
Description: Address Resolution Protocol (ARP
Started at Sat Dec 22 12:02:19 2007 (216828 us)
Stopped at Sat Dec 22 12:02:44 2007 (496964 us)
Start type: SRV_OPTION_RESTART_STATELESS (23)
Death reason: SYSMGR_DEATH_REASON_FAILURE_SIGNAL (2)
System image version: 4.0(0.788) S16
Exit code: signal 11 (core dumped)
Threads: 3906 3905 4066 3917 3884 3870
EBX B7EF4264 ECX B53F45CA EDX B8009B1E
ESI B601C003 EDI B53F45C8 EBP B53F4578
EAX B8009B1E XDS 0000007B XES 0000007B
EAX FFFFFFFF (orig) EIP B7EDF9AB XCS 00000073
EFL 00010286 ESP B53F4560 XSS 0000007B
Stack: 2688 bytes. ESP B53F4560, TOP BFFFEB80
0xB53F4560: B601C003 00000001 F1EC838D B7EF4264 ............dB..
0xB53F4570: 00000000 00000000 B53F45D8 B7EE0C0D .........E?.....
0xB53F4580: B601C003 B53F45CA B53F45C8 B53F45C0 .....E?..E?..E?.
0xB53F4590: 00000001 B53F45C4 00000000 00000001 .....E?.........
This example shows how to display process log information for all VDCs on the physical device:
switch# show processes log vdc-all
VDC Process PID Normal-exit Stack Core Log-create-time
--- --------------- ------ ----------- ----- ----- ---------------
1 aclmgr 3632 N Y N Thu Mar 13 21:37:07 2008
1 aclmgr 4182 N Y N Wed Mar 12 13:45:38 2008
1 aclmgr 4205 N Y N Wed Mar 12 13:45:38 2008
1 adjmgr 4333 N N N Sat Nov 24 06:25:20 2007
1 arbiter 4332 N Y N Mon Nov 19 10:14:42 2007
1 arp 3870 N Y N Sat Dec 22 12:02:46 2007
1 clis 10005 N Y N Sat Nov 24 03:46:13 2007
1 clis 10268 N N N Fri Dec 14 09:13:53 2007
1 clis 1040 N Y N Fri Nov 16 13:34:30 2007
1 clis 10486 N Y N Fri Nov 16 14:58:59 2007
1 clis 10646 N Y N Fri Nov 16 14:59:45 2007
show processes memory
To display the memory allocation information for processes, use the show processes memory command.
show processes memory [shared]
Syntax Description
shared
|
(Optional) Displays the shared memory allocation.
|
Defaults
Displays memory allocated to the processes.
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
This command does not require a license.
Examples
This example shows how to display information about memory allocation for processes:
switch# show processes memory
PID MemAlloc StackBase/Ptr Process
----- -------- ----------------- ----------------
1 147456 bffffda0/bffff890 init
This example shows how to display information about shared memory allocation for processes:
switch# show processes memory shared
Component Shared Memory Size Used Available Reference
Address (kbytes) (kbytes) (kbytes) Count
smm 0X60000000 1024 3 1021 115
cli 0X60110000 24576* 13991 10585 84
am 0X61920000 14336* 14 14322 7
urib 0X62730000 32768* 648 32120 25
u6rib-ufdm 0X64740000 320* 188 132 2
urib-redist 0X647A0000 4096* 0 4096 25
icmpv6 0X64BB0000 2048 0 2048 2
ip 0X64DC0000 8192 65 8127 23
urib-ufdm 0X655D0000 2048* 0 2048 2
u6rib 0X657E0000 16384* 507 15877 12
ipv6 0X667F0000 8192 2 8190 9
u6rib-notify 0X67000000 2048* 681 1367 12
rpm 0X67210000 2048 6 2042 11
mrib 0X67420000 40960 2 40958 3
mrib-mfdm 0X69C30000 5120 0 5120 2
m6rib 0X6A140000 10240 2 10238 3
m6rib-mfdm 0X6AB50000 2048 10 2038 2
igmp 0X6AD60000 8192 0 8192 2
bgp 0X6B570000 8192 182 8010 1
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.
|
show redundancy status
To show detailed information about redundancy, use the show redundancy status command.
show redundancy status
Syntax Description
This command has no arguments or keywords.
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 displays redundancy information:
switch# show tech-support ascii-cfg
Internal state: Active with no standby
Redundancy state: Not present
System start time: Fri Aug 15 15:55:19 2008
System uptime: 3 days, 23 hours, 57 minutes, 22 seconds
Kernel uptime: 4 days, 0 hours, 1 minutes, 39 seconds
Active supervisor uptime: 3 days, 23 hours, 57 minutes, 22 secondss
show rmon
To display the configuration or onboard logs, use the show rmon command.
show rmon {alarms | events | hcalarms | logs | status}
Syntax Description
alarms
|
Displays the configured 32-bit RMON alarms.
|
events
|
Displays the configured RMON events.
|
hcalarms
|
Displays the configured 64-bit HC (High Capacity) RMON alarms.
|
logs
|
Displays the RMON event log.
|
status
|
Displays the RMON information.
|
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 the configured RMON alarms:
Alarm 20 is active, owned by test
Monitors 1.3.6.1.2.1.2.2.1.16.30 every 30 second(s)
Taking delta samples, last value was 17
Rising threshold is 15, assigned to event 1
Falling threshold is 0, assigned to event 0
On startup enable rising or falling alarm
This example shows how to display the configured RMON events:
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:
switch# show rmon hcalarms
High Capacity Alarm 1 is active, owned by cseSysCPUUtilization.0@test
Monitors 1.3.6.1.4.1.9.9.305.1.1.1.0 every 10 second(s)
Taking absolute samples, last value was 0
Rising threshold is 60, assigned to event 4
Falling threshold is 59, assigned to event 4
On startup enable rising alarm
This example shows how to display RMON configuration and logged information:
Maximum allowed 32 bit or 64 bit alarms : 512
Number of 32 bit alarms configured : 0
Number of 64 bit hcalarms configured : 0
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.
|
show running-config eem
Use the show running-config eem command to view the Embedded Event Manager (EEM) running configuration.
show running-config eem
Syntax Description
This command has no arguments or keywords.
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 Embedded Event Manager (EEM) running configuration:
switch# show running-config eem
event manager applet oir-applet
event manager applet gold-match
show scheduler
To display information about scheduled maintenance jobs, use the show scheduler command.
show scheduler {config | internal [mem-stats] | job [name jobname] | logfile | schedule [name
schedulename]}
Syntax Description
config
|
Displays scheduler configuration information.
|
internal
|
Provides the internal scheduler information as specified.
|
mem-stats
|
Provides the scheduler internal memory information as specified.
|
job
|
Displays job information as specified.
|
name jobname
|
Displays information for the specified scheduler job name.
|
logfile
|
Displays the scheduler log file as specified.
|
schedule
|
Displays the scheduler timetable as specified.
|
name schedulename
|
Displays the scheduler timetable for the specified schedule name.
|
<Enter>
|
Displays the specified scheduler information.
|
>
|
Sends the specified scheduler output to a designated file.
|
|
|
Sends the specified scheduler output to a filter.
|
Defaults
None
Command Modes
Any
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.
Examples
The following example displays the scheduler configuration.
switch# show scheduler config
scheduler logfile size 16
scheduler job name test-1
The following example displays the specified scheduler timetable.
switch# show scheduler schedule name test
------------------------------------
Schedule Type : Run once on Tue Aug 10 09:48:00 2008
Last Execution Time: Tue Aug 10 09:48:00 2008
-----------------------------------------------
-----------------------------------------------
The following example displays internal memory statistics for the scheduler.
switch# show scheduler internal mem-stats
Private Mem stats for UUID : Malloc track Library(103) Max types: 5
--------------------------------------------------------------------------------
1 MT_MEM_mtrack_default 0 0 0 0
2 MT_MEM_mtrack_hdl 4 4 2440 2440
3 MT_MEM_mtrack_info 108 162 1728 2592
4 MT_MEM_mtrack_lib_name 162 216 7233 9644
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Private Mem stats for UUID : Non mtrack users(0) Max types: 54
--------------------------------------------------------------------------------
0 [r-xp]/isan/lib/convert/libsysstr.so 0 0 0 0
1 [r-xp]/isan/lib/convert/libvdb.so 0 0 0 0
2 [r-xp]/isan/plugin/0/isan/bin/scheduler 0 0 0 0
3 [r-xp]/isan/plugin/0/isan/lib/libaaa.so 0 0 0 0
4 [r-xp]/isan/plugin/0/isan/lib/libaaacon 0 0 0 0
5 [r-xp]/isan/plugin/0/isan/lib/libaccoun 0 1 0 46
6 [r-xp]/isan/plugin/0/isan/lib/libacfg.s 0 0 0 0
7 [r-xp]/isan/plugin/0/isan/lib/libavl.so 2 2 36 36
8 [r-xp]/isan/plugin/0/isan/lib/libbmp.so 0 0 0 0
9 [r-xp]/isan/plugin/0/isan/lib/libcmd.so 0 0 0 0
10 [r-xp]/isan/plugin/0/isan/lib/libcmdpat 0 0 0 0
11 [r-xp]/isan/plugin/0/isan/lib/libconfch 0 0 0 0
12 [r-xp]/isan/plugin/0/isan/lib/libdll_ob 0 0 0 0
13 [r-xp]/isan/plugin/0/isan/lib/libdlwrap 0 0 0 0
14 [r-xp]/isan/plugin/0/isan/lib/libexec.s 0 0 0 0
15 [r-xp]/isan/plugin/0/isan/lib/libfileut 0 0 0 0
16 [r-xp]/isan/plugin/0/isan/lib/libfm.so. 0 0 0 0
17 [r-xp]/isan/plugin/0/isan/lib/libif_ind 0 0 0 0
18 [r-xp]/isan/plugin/0/isan/lib/libipconf 0 0 0 0
19 [r-xp]/isan/plugin/0/isan/lib/libiputil 0 0 0 0
20 [r-xp]/isan/plugin/0/isan/lib/liblogfla 0 0 0 0
21 [r-xp]/isan/plugin/0/isan/lib/libmtrack 0 0 0 0
22 [r-xp]/isan/plugin/0/isan/lib/libmts.so 3 4 528 540
23 [r-xp]/isan/plugin/0/isan/lib/libnetcfg 0 0 0 0
24 [r-xp]/isan/plugin/0/isan/lib/libpfm_in 0 0 0 0
25 [r-xp]/isan/plugin/0/isan/lib/libpss.so 74 74 50240 50240
26 [r-xp]/isan/plugin/0/isan/lib/libschedc 0 0 0 0
27 [r-xp]/isan/plugin/0/isan/lib/libsdwrap 0 0 0 0
28 [r-xp]/isan/plugin/0/isan/lib/libsecuri 0 0 0 0
29 [r-xp]/isan/plugin/0/isan/lib/libstartu 0 0 0 0
30 [r-xp]/isan/plugin/0/isan/lib/libsyserr 0 0 0 0
31 [r-xp]/isan/plugin/0/isan/lib/libsysmgr 0 0 0 0
32 [r-xp]/isan/plugin/0/isan/lib/libsysmgr 0 0 0 0
33 [r-xp]/isan/plugin/0/isan/lib/libsysmgr 0 0 0 0
34 [r-xp]/isan/plugin/0/isan/lib/libtecla. 0 0 0 0
35 [r-xp]/isan/plugin/0/isan/lib/liburi_ma 0 0 0 0
36 [r-xp]/isan/plugin/0/isan/lib/liburifs. 0 0 0 0
37 [r-xp]/isan/plugin/0/isan/lib/liburipar 0 0 0 0
38 [r-xp]/isan/plugin/0/isan/lib/liburiuti 0 0 0 0
39 [r-xp]/isan/plugin/0/isan/lib/libutils. 2 3 42 670
40 [r-xp]/isan/plugin/0/isan/lib/libvsh.so 0 0 0 0
41 [r-xp]/isan/plugin/0/isan/lib/libvsh_ut 0 0 0 0
42 [r-xp]/lib/ld-2.3.3.so 0 1 0 83
43 [r-xp]/lib/libncurses.so.5.4 0 0 0 0
44 [r-xp]/lib/tls/libc-2.3.3.so 1 2 15 367
45 [r-xp]/lib/tls/libdl-2.3.3.so 0 0 0 0
46 [r-xp]/lib/tls/libpthread-2.3.3.so 0 0 0 0
47 [r-xp]/lib/tls/librt-2.3.3.so 0 0 0 0
48 [r-xp]/usr/lib/libcrack.so.2 0 0 0 0
49 [r-xp]/usr/lib/libcrypto.so.0.9.7 0 0 0 0
50 [r-xp]/usr/lib/libglib-2.0.so.0.600.1 3 3 1096 1096
51 [r-xp]/usr/lib/libposixtime.so.1.0.0 0 0 0 0
52 [r-xp]/usr/lib/libz.so.1.2.1.1 0 0 0 0
53 [rwxp]0xbffeb000-0xbffff000 0 0 0 0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Private Mem stats for UUID : libsdwrap(115) Max types: 22
--------------------------------------------------------------------------------
0 LIBSDWRAP_SYSLOG_FLTR_CMI 0 0 0 0
1 LIBSDWRAP_DBG_ELEM_ARRAY 1 1 1016 1016
2 LIBSDWRAP_HIST_EVT_T 1 1 96 96
3 LIBSDWRAP_DBG_PSS_BUF 0 0 0 0
4 LIBSDWRAP_DBG_SHOW_BUF 0 0 0 0
5 LIBSDWRAP_HIST_SHOW_BUF 0 0 0 0
6 LIBSDWRAP_DBGDUMP_BUF 0 0 0 0
7 LIBSDWRAP_HIST_HDL 0 0 0 0
8 LIBSDWRAP_HIST_INSTHDLPTR 0 0 0 0
9 LIBSDWRAP_HIST_INST_HDL 0 0 0 0
10 LIBSDWRAP_HIST_FILESAVE_BUF 0 0 0 0
11 LIBSDWRAP_HIST_REC 0 0 0 0
12 LIBSDWRAP_HIST_LOG_TMPBUF 0 0 0 0
13 LIBSDWRAP_FILE_BUF 0 0 0 0
14 LIBSDWRAP_FILE_DBGFLAGS_BUF 0 0 0 0
15 LIBSDWRAP_FILE_EVLOG_BUF 0 0 0 0
16 LIBSDWRAP_FILE_VTYFLAGS 0 0 0 0
17 LIBSDWRAP_HIST_EVTBUF 0 0 0 0
18 LIBSDWRAP_SYS_PSSBUF 0 0 0 0
19 LIBSDWRAP_SYS_SHOW_BUF 0 0 0 0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Private Mem stats for UUID : scheduler(224) Max types: 16
--------------------------------------------------------------------------------
0 Log Buffer 1 1 16392 16392
1 Log Entry Header 0 0 0 0
5 Pss Configuration Key 4 4 192 192
6 Pss Job Header 4 4 80 80
8 Pss Schedule Data 0 0 0 0
9 Schedule Response 0 0 0 0
13 Job Process Entry 0 0 0 0
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Grand total bytes: 81134 (79k)
Related Commands
Command
|
Description
|
scheduler
|
Configures maintenance jobs.
|
feature scheduler
|
Enables the scheduler feature for scheduling maintenance jobs.
|
show snmp
To display Simple Network Management Protocol (SNMP) information, use the show snmp command.
show snmp
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
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.
Examples
This example shows how to display the SNMP information:
switch(config)# show snmp
sys location: anyplace, Anywhere
0 Illegal operation for community name supplied
0 Number of requested variables
0 Number of altered variables
--------- ---------------
testCommunity vdc-operator
______________________________________________________________
______________________________________________________________
User Auth Priv(enforce) Groups
____ ____ _____________ ______
foo md5 aes-128(no) network-operator
User3 md5 no network-operator
admin md5 des(no) network-admin
user1 md5 des(no) vdc-admin
______________________________________________________________
NOTIFICATION TARGET USERS (configured for sending V3 Inform)
______________________________________________________________
(EngineID 11:22:33:44:55)
SNMP Tcp Authentication Flag : Enabled.
Related Commands
Command
|
Description
|
snmp-server community
|
Configures SNMP community strings.
|
show snmp community
To display the Simple Network Management Protocol (SNMP) community strings, use the show snmp community command.
show snmp community
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
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.
Examples
This example shows how to display the SNMP community strings and any associated SNMP contexts:
switch# show snmp community
Community Group / Access context
--------- -------------- -------
testCommunity vdc-operator contextB
Related Commands
Command
|
Description
|
snmp-server community
|
Configures SNMP community strings.
|
snmp-server mib community-map
|
Maps SNMP community strings to SNMP contexts.
|
show snmp context
To display the Simple Network Management Protocol (SNMP) context mapping, use the show snmp context command.
show snmp context
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the SNMP context mapping:
switch# show snmp context
-------------------------------------------------------------------
Context [Protocol instance, VRF, Topology]
-------------------------------------------------------------------
-------------------------------------------------------------------r
Related Commands
Command
|
Description
|
snmp-server context
|
Configures SNMP context mapping.
|
show startup-config eem
Use the show startup-config eem command to view the Embedded Event Manager (EEM) start-up configuration.
show startup-config eem
Syntax Description
This command has no arguments or keywords.
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 Embedded Event Manager (EEM) start-up configuration:
switch# show startup-config eem
show snmp engineID
To display the Simple Network Management Protocol (SNMP) engine ID, use the show snmp engineID command.
show snmp engineID
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
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.
Examples
This example shows how to display the SNMP engineID:
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.
|
show snmp group
To display the Simple Network Management Protocol (SNMP) groups, use the show snmp group command.
show snmp group
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
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.
Examples
This example shows how to display the SNMP groups:
switch(config)# show snmp group
description: Predefined network admin role has access to all commands
-------------------------------------------------------------------
Rule Perm Type Scope Entity
-------------------------------------------------------------------
description: Predefined network operator role has access to all read
-------------------------------------------------------------------
Rule Perm Type Scope Entity
-------------------------------------------------------------------
description: Predefined vdc admin role has access to all commands within
-------------------------------------------------------------------
Rule Perm Type Scope Entity
-------------------------------------------------------------------
description: Predefined vdc operator role has access to all read commands
-------------------------------------------------------------------
Rule Perm Type Scope Entity
-------------------------------------------------------------------
Related Commands
Command
|
Description
|
role name
|
Configures security roles used as SNMP groups.
|
show snmp host
To display the Simple Network Management Protocol (SNMP) host notification receivers, use the show snmp host command.
show snmp host
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
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.
Examples
This example shows how to display the SNMP hosts:
switch(config)# show snmp host
-------------------------------------------------------------------
Host Port Version Level Type SecName
-------------------------------------------------------------------
192.0.2.1 33 v1 noauth trap Comm2
-------------------------------------------------------------------
192.0.2.2 162 v3 auth trap comm3
-------------------------------------------------------------------
192.0.2.10 162 v3 auth trap testCommunity
-------------------------------------------------------------------
Related Commands
Command
|
Description
|
snmp-server host
|
Configures SNMP hosts.
|
show snmp trap
To display the Simple Network Management Protocol (SNMP) notification enable status, use the show snmp trap command.
show snmp trap
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
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.
Examples
This example shows how to display the SNMP notification enable status:
switch(config)# show snmp trap
aaa server state-change No
stpx loop-inconsistency No
stpx root-inconsistency No
Related Commands
Command
|
Description
|
snmp-server trap enable
|
Enables SNMP notifications.
|
show snmp user
To display the Simple Network Management Protocol (SNMP) users, use the show snmp user command.
show snmp user [username [engineID id]]
Syntax Description
username
|
Name of user. The name can be any case-sensitive alphanumeric string up to 32 characters.
|
engineID id
|
Configures the SNMP Engine ID for a notification target user. Format the id as 11 decimal values separated by colons.
|
Defaults
Displays all users.
Command Modes
Any
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.
Examples
This example shows how to display the SNMP users:
switch(config)# show snmp user
______________________________________________________________
______________________________________________________________
User Auth Priv(enforce) Groups
____ ____ _____________ ______
foo md5 aes-128(no) network-operator
User3 md5 no network-operator
admin md5 des(no) network-admin
user1 md5 des(no) vdc-admin
______________________________________________________________
NOTIFICATION TARGET USERS (configured for sending V3 Inform)
______________________________________________________________
(EngineID 11:22:33:44:55)
Related Commands
Command
|
Description
|
snmp-server user
|
Configures SNMP users.
|
show snmp sessions
To display the current Simple Network Management Protocol (SNMP) sessions, use the show snmp sessions command.
show snmp sessions
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any
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.
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.
|
show sprom
To display the contents of the serial PROM (SPROM) on the device, use the show sprom command.
show sprom {all | backplane bp-number | clock clock-number | cmp | fan fan-number | module
slot | powersupply ps-number | stby-sup | sup | xbar xbar-number}
Syntax Description
all
|
Displays the SPROM contents for all components on the physical device.
|
backplane bp-number
|
Displays the SPROM contents for a backplane.
|
clock clock-number
|
Displays the SPROM contents for a clock module.
|
cmp
|
Displays the SPROM contents for a Connectivity Management Processor (CMP).
|
fan fan-number
|
Displays the SPROM contents for a fan.
|
module slot
|
Displays the SPROM contents for a I/O module.
|
powersupply ps-number
|
Displays the SPROM contents for a power supply.
|
stby-sup
|
Displays the SPROM contents for the standby supervisor module.
|
sup
|
Displays the SPROM contents for the active supervisor module.
|
xbar xbar-number
|
Displays the SPROM contents for a fabric module.
|
Defaults
Displays summary information for all processes on the device.
Command Modes
Any command mode
Supported User Roles
network-admin
vdc-admin
network-operator
vdc-operator
Com