Table Of Contents
show Commands
show callhome
show callhome transport
show cdp
show cdp neighbors
show cfs application
show cfs lock
show cfs merge status
show cfs peers
show cfs regions
show cfs status
show checkpoint
show configuration session
show configuration session global-info
show cores
show diagnostic bootup level
show diagnostic content module
show diagnostic description module
show diagnostic events
show diagnostic ondemand setting
show diagnostic result
show diagnostic simulation
show diagnostic status
show diff rollback-patch
show environment
show environment power
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 feature-capability
show hardware capacity
show hardware capacity interface
show hardware capacity 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 lldp dcbx interface ethernet
show lldp interface ethernet
show lldp neighbors
show lldp timers
show lldp tlv-select
show lldp traffic
show lldp traffic interface ethernet
show locator-led status
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 module
show monitor
show monitor session
show ntp access-groups
show ntp authentication-keys
show ntp authentication-status
show ntp internal
show ntp logging-status
show ntp peers
show ntp peer-status
show ntp pending-diff
show ntp pending peers
show ntp session status
show ntp status
show ntp rts-update
show ntp source
show ntp source-interface
show ntp statistics
show ntp status
show ntp trusted-keys
show platform hardware capacity interface resources
show port-monitor
show port-monitor active
show port-monitor status
show processes
show processes cpu
show processes cpu history
show process cpu sort
show processes log
show processes memory
show ptp brief
show ptp clock
show ptp clocks foreign-masters-record
show ptp corrections
show ptp parent
show ptp port
show ptp time-property
show redundancy status
show rmon
show running-config cdp
show running-config diagnostic
show running-config eem
show running-config lldp
show running-config monitor
show running-config netflow
show running-config ntp
show running-config snmp
show sampler
show scheduler
show snmp
show snmp community
show snmp context
show snmp engineID
show snmp group
show snmp host
show snmp sessions
show snmp source-interface
show snmp trap
show snmp user
show sprom
show startup-config cdp
show startup-config diagnostic
show startup-config cfs
show startup-config eem
show startup-config monitor
show startup-config netflow
show startup-config ntp
show startup-config snmp
show system cores
show system error-id
show system memory-status
show system pss shrink status
show system pss shrink status details
show system reset-reason
show system redundancy
show system resources
show system standby manual-boot
show system uptime
show tech-support ascii-cfg
show tech-support cfs
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 callhome
To display information about the Call home application, use the show callhome command.
show callhome {destination-profile [profile profile_name] | last action status | last merge status
| merge status | pending | pending-diff | session status | status | transport-email |
user-def-cmds}
Syntax Description
destination-profile profile
|
Display the name(s) of the destination profile.
|
profile
|
(Optional) Displays the default profile name.
|
profile_name
|
Name of the profile. The name can be the default profile name or the profiles that you created.
|
last action status
|
Displays the status of the last Cisco Fabric Services (CFS) commit/abort operation.
|
last merge status
|
Displays the status of the last CFS merge operation for Call home.
|
merge status
|
Displays the status of the last CFS merge operation for Call home.
|
pending
|
Displays the Call home configuration changes in the pending CFS database.
|
pending-diff
|
Displays the differences between the pending and running Call home configuration. These differences would reflect changes made during the current CFS configuration session.
|
session status
|
Displays the status of the last CFS commit/abort operation for the Call home configuration.
|
status
|
Displays the CFS distribution state (enabled or disabled) for Call home.
|
transport-email
|
Displays the Call home e-mail transport configuration.
|
user-def-cmds
|
Displays the CLI commands configured for each Call home alert group.
|
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 status of the last CFS operation for the Call home application:
switch# show callhome last action status
Last Action Time Stamp : None
Last Action Result : None
Last Action Failure Reason : none
This example shows how to display the Call home destination profile named Noc101:
switch# show callhome destination-profile profile Noc101
Noc101 destination profile information
maximum message size:2500000
email addresses configured:
This example shows how to display the Call home configuration:
contact person name(sysContact):who@where
contact person's email:someone@noc.com
contact person's phone number:+1-408-555-9918
street addr:425 E Street, Anytown, CA 95999
duplicate message throttling : enabled
periodic inventory : enabled
periodic inventory time-period : 7 days
periodic inventory timeofday : 08:00 (HH:MM)
Related Commands
Command
|
Description
|
callhome test
|
Sends a test message to all configured destinations.
|
callhome send
|
Sends the specified Call home test message to all configured destinations.
|
callhome
|
Places you into the CLI call home configuration mode.
|
show cfs status
|
Displays the status of CFS distribution on the device as well as IP distribution information.
|
show tech-support cfs
|
Displays information about the CFS configuration required by technical support when resolving a CFS issue.
|
show logging level cfs
|
Displays the CFS logging configuration.
|
show callhome transport
To display the transport-related configuration for Call home, use the show callhome transport command.
show callhome transport
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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the transport-related configuration for Call home:
switch(config)# show callhome transport
from email addr:person@company.com
reply to email addr:person@company.com
smtp server:64.72.101.213
smtp server:172.21.34.193
Related Commands
Command
|
Description
|
show callhome
|
Displays the Call home configuration.
|
show cdp
To display the interfaces that have Cisco Discovery Protocol (CDP) enabled, use the show cdp command.
show cdp {all | entry {all | name name} | global | interface interface-type | traffic interface
interface-type}
Syntax Description
all
|
Displays all interfaces in the CDP database.
|
entry
|
Displays CDP entries in the database.
|
name name
|
Displays a specific CDP entry that matches a name.
|
global
|
Displays CDP global parameters.
|
interface interface-type
|
Displays CDP parameters for an interface.
|
traffic
|
Displays CDP traffic statistics.
|
interface-type
|
Type of interface.
|
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 interfaces that have CDP enabled:
switch(config)# show cdp all
Refresh time is 60 seconds
Refresh time is 60 seconds
Refresh time is 60 seconds
Refresh time is 60 seconds
Refresh time is 60 seconds
Refresh time is 60 seconds
Related Commands
Command
|
Description
|
enable cdp
|
Enables CDP on an interface.
|
show cdp neighbors
To display the status of Cisco Discovery Protocol (CDP) neighbors, use the show cdp neighbors command.
show cdp neighbors [interface interface]
Syntax Description
interface interface
|
(Optional) Displays CDP neighbors on an interface.
|
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 status of CDP neighbors:
switch(config)# show cdp neighbors
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
S - Switch, H - Host, I - IGMP, r - Repeater,
V - VoIP-Phone, D - Remotely-Managed-Device,
Device-ID Local Intrfce Hldtme Capability Platform Port ID
Switch mgmt0 163 S I WS-C2960-24TC Fas0/21
Related Commands
Command
|
Description
|
cdp holdtime
|
Configures the time that CDP holds onto neighbor information before refreshing it.
|
show cfs application
To display information about applications that are currently enabled to use Cisco Fabric Services (CFS) distribution, use the show cfs application command.
show cfs application [name application_name]
Syntax Description
name application_name
|
(Optional) Displays the name of a specific application.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display CFS information about applications that are currently enabled to use CFS distribution:
switch# show cfs application
----------------------------------------------
Application Enabled Scope
----------------------------------------------
callhome Yes Physical-fc-ip
Total number of entries = 8
This example shows how to display CFS information about the Call home application:
switch# show cfs application name callhome
Related Commands
Command
|
Description
|
show application_name session status
|
Displays the CFS configuration session status for the application, including the last action, the result, and the reason if there was a failure.
|
show cfs internal
|
Displays information internal to CFS including memory statistics, event history, and so on.
|
show cfs lock
|
Displays all active CFS fabric locks.
|
show cfs merge status name
|
Displays the merge status for a given CFS application.
|
show cfs peers
|
Displays all the CFS peers in the physical fabric.
|
show cfs regions
|
Displays all the CFS applications with peers and region information.
|
show cfs status
|
Displays the status of CFS distribution on the device as well as IP distribution information.
|
show tech-support cfs
|
Displays information about the CFS configuration required by technical support when resolving a CFS issue.
|
show logging level cfs
|
Displays the CFS logging configuration.
|
show cfs lock
To display information about locks that are currently in place for an application that uses Cisco Fabric Services (CFS) for distribution, use the show cfs lock command.
show cfs lock [name application_name]
Syntax Description
name application_name
|
(Optional) Displays the name of a specific application.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display a lock that is currently in place for the Call home application that uses CFS for distribution:
switch(config-callhome)# show cfs lock name callhome
--------------------------------------------------------------------------------
Switch WWN IP Address User Name User Type
--------------------------------------------------------------------------------
20:00:00:22:55:79:a4:c1 172.28.230.85 admin CLI/SNMP v3
Total number of entries = 10
Related Commands
Command
|
Description
|
show application_name session status
|
Displays the CFS configuration session status for the application, including the last action, the result, and the reason if there was a failure.
|
show cfs application
|
Displays information about applications that are currently enabled to use CFS distribution.
|
show cfs internal
|
Displays information internal to CFS including memory statistics, event history, and so on.
|
show cfs merge status name
|
Displays the merge status for a given CFS application.
|
show cfs peers
|
Displays all the CFS peers in the physical fabric.
|
show cfs regions
|
Displays all the CFS applications with peers and region information.
|
show cfs static
|
Displays all CFS static peers with status.
|
show cfs status
|
Displays the status of CFS distribution on the device as well as IP distribution information.
|
show tech-support cfs
|
Displays information about the CFS configuration required by technical support when resolving a CFS issue.
|
show logging level cfs
|
Displays the CFS logging configuration.
|
show cfs merge status
To display the merge status for an application that uses Cisco Fabric Services (CFS) for distribution, use the show cfs merge status command.
show cfs merge status [name application_name]
Syntax Description
name application_name
|
(Optional) Displays the name of a specific application.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the current merge status for the Call home application that uses CFS for distribution. In this example, the most recent merge for the Call home application was successful.
switch(config-callhome)# show cfs merge status name callhome
Physical-fc-ip Merge Status: Success [ Wed Dec 17 16:34:26 2008 ]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
20:00:00:22:55:79:a4:c1 172.28.230.85 [Merge Master]
Total number of switches = 10
Related Commands
Command
|
Description
|
show application_name session status
|
Displays the CFS configuration session status for the application, including the last action, the result, and the reason if there was a failure.
|
show cfs application
|
Displays information about applications that are currently enabled to use CFS distribution.
|
show cfs internal
|
Displays information internal to CFS including memory statistics, event history, and so on.
|
show cfs lock
|
Displays all active CFS fabric locks.
|
show cfs peers
|
Displays all the CFS peers in the physical fabric.
|
show cfs regions
|
Displays all the CFS applications with peers and region information.
|
show cfs static
|
Displays all CFS static peers with status.
|
show cfs status
|
Displays the status of CFS distribution on the device as well as IP distribution information.
|
show tech-support cfs
|
Displays information about the CFS configuration required by technical support when resolving a CFS issue.
|
show logging level cfs
|
Displays the CFS logging configuration.
|
show cfs peers
To display all peers in the physical fabric, use the show cfs peers command.
show cfs peers [name application_name]
Syntax Description
name application_name
|
(Optional) Displays the name of a specific application.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display all peers in the physical fabric for the Call home application:
switch(config-callhome)# show cfs peers name callhome
-------------------------------------------------------------------------
-------------------------------------------------------------------------
20:00:00:22:55:79:a4:c1 172.28.230.85 [Local]
Total number of entries = 1
Related Commands
Command
|
Description
|
show application_name session status
|
Displays the CFS configuration session status for the application, including the last action, the result, and the reason if there was a failure.
|
show cfs application
|
Displays information about applications that are currently enabled to use CFS distribution.
|
show cfs internal
|
Displays information internal to CFS including memory statistics, event history, and so on.
|
show cfs lock
|
Displays all active CFS fabric locks.
|
show cfs merge status name
|
Displays the merge status for a given CFS application.
|
show cfs regions
|
Displays all the CFS applications with peers and region information.
|
show cfs static
|
Displays all CFS static peers with status.
|
show cfs status
|
Displays the status of CFS distribution on the device as well as IP distribution information.
|
show tech-support cfs
|
Displays information about the CFS configuration required by technical support when resolving a CFS issue.
|
show logging level cfs
|
Displays the CFS logging configuration.
|
show cfs regions
To display all Cisco Fabric Services (CFS) applications with peers and region information, use the show cfs regions command.
show cfs regions {name application_name | region region_id}
show cfs regions brief {name application_name | region region_id}
Syntax Description
name application_name
|
(Optional) Displays peer and region information for a specified application.
|
region region_id
|
Displays peer and region information for a specified region ID. The range is from 1 to 200.
|
brief
|
Displays configured regions and applications but does not display peers.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display a brief version of all CFS regions:
switch# show cfs regions brief
---------------------------------------
Region Application Enabled
---------------------------------------
This example shows how to display a specified CFS region:
switch# show cfs regions region 4
-------------------------------------------------------------------------
-------------------------------------------------------------------------
20:00:00:22:55:79:a4:c1 172.28.230.85 [Local]
Total number of entries = 1
Related Commands
Command
|
Description
|
show application_name session status
|
Displays the CFS configuration session status for the application, including the last action, the result, and the reason if there was a failure.
|
show cfs application
|
Displays information about applications that are currently enabled to use CFS distribution.
|
show cfs internal
|
Displays information internal to CFS including memory statistics, event history, and so on.
|
show cfs lock
|
Displays all active CFS fabric locks.
|
show cfs merge status name
|
Displays the merge status for a given CFS application.
|
show cfs peers
|
Displays all the CFS peers in the physical fabric.
|
show cfs static
|
Displays all CFS static peers with status.
|
show cfs status
|
Displays the status of CFS distribution on the device as well as IP distribution information.
|
show tech-support cfs
|
Displays information about the CFS configuration required by technical support when resolving a CFS issue.
|
show logging level cfs
|
Displays the CFS logging configuration.
|
show cfs status
To display the current state of Cisco Fabric Services (CFS), use the show cfs status command.
show cfs status
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the current state of CFS:
Distribution over IP : Enabled - mode IPv4
IPv4 multicast address : 239.255.70.83
IPv6 multicast address : ff15::efff:4653
Distribution over Ethernet : Disabled
Total number of entries = 8
Related Commands
Command
|
Description
|
show application_name session status
|
Displays the CFS configuration session status for the application, including the last action, the result, and the reason if there was a failure.
|
show cfs internal
|
Displays information internal to CFS including memory statistics, event history, and so on.
|
show cfs lock
|
Displays all active CFS fabric locks.
|
show cfs merge status name
|
Displays the merge status for a given CFS application.
|
show cfs peers
|
Displays all the CFS peers in the physical fabric.
|
show cfs regions
|
Displays all the CFS applications with peers and region information.
|
show logging level cfs
|
Displays the CFS logging configuration.
|
show tech-support cfs
|
Displays information about the CFS configuration required by technical support when resolving a CFS issue.
|
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
Any command mode
Supported User Roles
network-admin
network-operator
vdc-operator
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 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 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 configuration session global-info
To display information about the global configuration session, use the show configuration session global-info command.
show configuration session global-info
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.1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the global configuration session:
switch(config)# show configuration session global-info
Maximum number of sessions allowed : 32
Maximum number of commands (all ssns) : 102400
Current number of active sessions : 0
Current number of commands (all ssns) : 0
Related Commands
Command
|
Description
|
show configuration session
|
Displays information about the configuration sessions.
|
show tech-support session-mgr
|
Displays detailed information about the configuration sessions for troubleshooting purposes.
|
show cores
To display the system core files from the virtual device contexts (VDCs), use the show cores command.
show cores [vdc-all | {vdc [e-vdc2 | vdc-id]}]
Syntax Description
vdc-all
|
(Optional) Shows core dumps from all VDCs.
|
vdc
|
Shows all core dumps for the VDC.
|
e-vdc2
|
(Optional) VDC ID number of a nondefault VDC. The range is from 1 to 8.
|
vdc-id
|
(Optional) VDC ID number. The range is from 1 to 8.
|
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 system core files:
switch(config)# show cores vdc-all
VDC No Module-num Instance-num Process-name PID Core-create-tim
------ ---------- ------------ ------------ --- ---------------
1 10 1 xmlsa 32442 May 8 15:24
1 10 1 xmlsa 25163 May 9 06:04
1 10 1 xmlsa 21581 May 9 13:25
Related Commands
Command
|
Description
|
show system core
|
Displays information about transferring cores.
|
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 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 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 module
To display information about the diagnostic test content for a module, use the show diagnostic content module command.
show diagnostic content module {all | module_number}
Syntax Description
module_number
|
Diagnostic content module number. The range is from 1 to 10.
|
all
|
Displays diagnostic content for all modules.
|
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
Use the show diagnostic content module 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
Related Commands
Command
|
Description
|
diagnostic start
|
Starts on-demand diagnostics.
|
diagnostic stop
|
Stops on-demand diagnostics.
|
show diagnostic bootup level
|
Displays information about bootup diagnostics.
|
show diagnostic description module
|
Displays the diagnostic description.
|
show diagnostic events
|
Displays diagnostic events by error and information event type.
|
show diagnostic ondemand setting
|
Displays information about on-demand diagnostics.
|
show diagnostic results module slot
|
Displays information about the results of a diagnostic.
|
show diagnostic simulation module slot
|
Displays information about a simulated diagnostic.
|
show diagnostic status module slot
|
Displays test status for all tests on a module.
|
show module
|
Displays module information including online diagnostic test status.
|
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
|
(Optional) Displays the diagnostic test selection.
|
test-ID
|
(Optional) Test ID. 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.
|
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 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 events
To display information about diagnostic events, use the show diagnostic events command.
show diagnostic events [error | info]
Syntax Description
error
|
(Optional) Displays diagnostics by error type.
|
info
|
(Optional) Displays diagnostics by information type.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display diagnostic events:
switch# show diagnostic events
1) Event:E_DEBUG, length:114, at 404616 usecs after Wed Jan 7 09:38:46 2009
[104] Event_INFO: TestName->ASICRegisterCheck TestingType->helth monitoring module->
9 Result->pass Reason->Success
2) Event:E_DEBUG, length:114, at 414835 usecs after Wed Jan 7 09:38:26 2009
[104] Event_INFO: TestName->ASICRegisterCheck TestingType->helth monitoring module->
9 Result->pass Reason->Success
3) Event:E_DEBUG, length:107, at 294482 usecs after Wed Jan 7 09:38:23 2009
[104] Event_INFO: TestName->PwrMgmtBus TestingType->helth monitoring module->9 Resul
This example shows how to display diagnostic events by information type:
switch# show diagnostic events info
1) Event:E_DEBUG, length:114, at 934712 usecs after Wed Jan 7 11:40:06 2009
[104] Event_INFO: TestName->ASICRegisterCheck TestingType->helth monitoring module->
9 Result->pass Reason->Success
2) Event:E_DEBUG, length:110, at 314512 usecs after Wed Jan 7 11:39:53 2009
[104] Event_INFO: TestName->SystemMgmtBus TestingType->helth monitoring module->9 Re
sult->pass Reason->Success
This example shows how to display diagnostic events by event type:
switch# show diagnostic events error
Related Commands
Command
|
Description
|
show diagnostic content
|
Displays diagnostic test names and test IDs.
|
show diagnostic ondemand setting
To display information about the on-demand diagnostic test for a module, use the show diagnostic ondemand setting command.
show diagnostic ondemand setting
Syntax Description
setting
|
Configures the diagnostic on-demand setting.
|
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 diagnostic on-demand 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 on-demand setting.
|
show diagnostic result
To display diagnostic test results 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) Test ID. 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 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 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 range is from 1 to 10.
|
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 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 range is from 1 to 10.
|
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 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}
Syntax Description
checkpoint
|
Displays 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
|
Displays the running configuration as the destination.
|
startup-config
|
Displays the startup configuration as the destination.
|
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 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 environment power
To display information about the power capacity and power distribution of the system, use the show environment power command.
show environment power [ampere | detail]
Syntax Description
ampere
|
(Optional) Displays information about the power capacity and power distribution in amperes.
|
detail
|
(Optional) Displays detailed information about the power capacity and power distribution.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.2.(1)
|
This command was introduced.
|
Usage Guidelines
By reading information from the power supply, the system displays the power consumption information.
The actual power consumed by the system might be more than what is displayed.
This command does not require a license.
Examples
This example shows how to display information about the power capacity and power distribution of the system:
switch(config) show environment power ampere
Supply Model Output Capacity Status
------- ------------------- ----------- ----------- --------------
1 N7K-AC-6.0KW 29.40 A 120.00 A Ok
2 N7K-AC-6.0KW 0.00 A 0.00 A Ok
3 ------------ 0.00 A 0.00 A Absent
4 ------------ 0.00 A 0.00 A Absent
Module Model Draw Allocated Status
------- ------------------- ----------- ----------- --------------
6 N7K-M108X2-12L 371.00 A 17.00 A Powered-Up
7 N7K-M148GS-11 254.00 A 9.00 A Powered-Up
8 N7K-M148GS-11L 247.00 A 8.00 A Powered-Up
9 supervisor N/A 4.20 A Absent
10 N7K-SUP1 N/A 4.20 A Powered-Up
Xb1 N7K-C7018-FAB-1 N/A 2.00 A Powered-Up
Xb2 xbar N/A 2.00 A Absent
Xb3 xbar N/A 2.00 A Absent
Xb4 xbar N/A 2.00 A Absent
Xb5 xbar N/A 2.00 A Absent
fan1 N7K-C7018-FAN 4.34 A 14.72 A Powered-Up
fan2 N7K-C7018-FAN 3.78 A 10.74 A Powered-Up
N/A - Per module power not available
Power Supply redundancy mode (configured) Non-Redundant(combined)
Power Supply redundancy mode (operational) Non-Redundant(combined)
Total Power Capacity (based on configured mode) 120.00 A
Total Power of all Inputs (cumulative) 120.00 A
Total Power Output (actual draw) 29.40 A
Total Power Allocated (budget) 77.00 A
Total Power Available for additional modules 42.14 A
Related Commands
Command
|
Description
|
show environment
|
Displays information about the hardware environment status.
|
show hardware capacity
|
Displays information about the platform hardware resources currently utilized by the system.
|
show event manager environment
To display the name and value of Embedded Event Manager (EEM) environment variables, use the show event manager environment command.
show event manager environment {varname | all}
Syntax Description
varname
|
Environment variable.
|
all
|
Specifies all environment variables
|
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 all of the EEM environment variables:
switch# show event manager environment all
show event manager event-types
To display the Embedded Event Manager (EEM) event types, use the show event manager event-types command.
show event manager event-types [detail | event-type-name] [module module]
Syntax Description
detail
|
(Optional) Displays details of all event types.
|
event-type-name
|
(Optional) Name of the event type.
|
module module
|
(Optional) Displays the events defined for a specific module. The range is from 1 to 10.
|
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 details of the EEM event types:
switch# show event manager event-types detail
show event manager history events
To display the Embedded Event Manager (EEM) events that have been triggered, use the show event manager history events command.
show event manager history events [detail] [maximum number] [severity severity]
Syntax Description
detail
|
(Optional) Displays details of all event types.
|
maximum number
|
(Optional) Specifies the maximum number of history events to display.
|
severity severity
|
(Optional) Displays only those events that were of the specified severity.
|
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 EEM history events that have been triggered that were of severity 7:
switch# show event manager history events severity 7
show event manager policy
To display the registered Embedded Event Manager (EEM) policies, use the show event manager policy command.
show event manager policy [detail] [policy-name | inactive]
Syntax Description
detail
|
(Optional) Displays details of all policies.
|
policy-name
|
(Optional) Name of the policy.
|
inactive
|
(Optional) Displays only those policies that are inactive.
|
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 EEM policies:
switch# show event manager policy
show event manager policy-state
To display the state of the named Embedded Event Manager (EEM) policy, use the show event manager policy-state command.
show event manager policy-state name [module module]
Syntax Description
name
|
Name of a policy to display its state.
|
module module
|
(Optional) Displays the policy state defined for a specific module. The range is from 1 to 10.
|
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 state of an EEM policy:
switch# show event manager policy-state policy42
show event manager script
To display the script policy of the Embedded Event Manager (EEM), use the show event manager script command.
show event manager script system {name | all}
Syntax Description
name
|
Script name to display.
|
all
|
Displays all the system scripts.
|
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 all the system scripts defined in the EEM:
switch# show event manager script system all
show event manager system-policy
To display the system policies of the Embedded Event Manager (EEM), use the show event manager system-policy command.
show event manager system-policy [all]
Syntax Description
all
|
(Optional) Displays all policies (including advanced policies and those policies that cannot be overridden).
|
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 EEM system policies:
switch# show event manager system-policy
Name : __BootupPortLoopback
Description : Do CallHome, log error on affected ports after 1 consecutive f
ailure of GOLD "BootupPortLoopback" test
Description : Do CallHome, log error and disable further HM testing on affec
ted ports after 10 consecutive failures of GOLD "PortLoopback" test
Name : __RewriteEngineLoopback
Description : Do CallHome, log error and disable further HM testing on affec
ted ports after 10 consecutive failures of GOLD "RewriteEngineLoopback" test
Name : __asic_register_check
Description : Do CallHome, log error and disable further HM testing for that
ASIC device/instance after 20 consecutive failures of GOLD "AsicRegisterCheck"
Description : Do CallHome, log error and disable further HM testing after 20
consecutive failures of GOLD "CompactFlash" test
Description : Do CallHome and log error when GOLD "CryptoDevice" test fails
Name : __eobc_port_loopback
Description : Do CallHome and log error when GOLD "EOBCPortLoopback" test fa
Description : Action: none
Description : Action: none
Description : Action: none
Description : Action: none
Description : More than 30 link flaps in 420 seconds interval. Action: Error
Name : __external_compact_flash
Description : Do CallHome, log error and disable further HM testing after 20
consecutive failures of GOLD "ExternalCompactFlash" test
show flow exporter
To display the Flexible NetFlow flow exporter status and statistics, use the show flow exporter command.
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.
|
Defaults
Information for all flow exporters configured on the router is displayed.
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
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
This example shows how to display 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
Related Commands
Command
|
Description
|
clear flow exporter
|
Clears the statistics for exporters.
|
destination
|
Configures an export destination for flow exporters.
|
dscp
|
Configures optional differentiated services code point (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.
show flow interface [interface-type number]
Syntax Description
interface-type number
|
(Optional) Type of interface that you want to view Flexible NetFlow accounting configuration information on.
|
Defaults
Information for the Flexible NetFlow accounting configuration on the interface is displayed.
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
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
This example shows how to display 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 as follows:
•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 as follows:
•On—The flow monitor is in normal mode.
•Sampler— The flow monitor is in sampler mode (the name of the sampler is 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.
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.
|
Defaults
Information for all flow exporters configured on the router is displayed.
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
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
This example shows how to display 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 as follows:
•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 that were aged from the cache to allow new flows to be added.
|
This example shows how to display 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 as follows:
•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 as follows:
•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.
|
This example shows how to display 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 as follows:
•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 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.
|
This example shows how to display the status and statistics for 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 for the 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 of 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 the 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.
|
Defaults
Information for all flow exporters configured on the router is displayed.
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
You must have already enabled traffic monitoring with Flexible NetFlow using an exporter before you can use the show flow exporter command.
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.
|
This command does not require a license.
Examples
This example shows how to display the status and statistics of 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 for the flow monitor.
|
show flow monitor
|
Displays flow monitor status and statistics.
|
size-distribution
|
Configures the collection of size distribution statistics for flow monitors.
|
protocol-distribution
|
Configures the collection of protocol distribution statistics for flow monitors.
|
record
|
Configures a flow record a for flow monitor.
|
show flow timeout
To display the Flexible NetFlow flow cache timeout values, use the show flow timeout command.
show flow timeout
Syntax Description
This command has no arguments or keywords.
Defaults
Information for the Flexible NetFlow accounting configuration on the interface is displayed.
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
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
This example shows how to display 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
Related Commands
Command
|
Description
|
flow timeout
|
Creates a flow timeout.
|
show hardware feature-capability
To display information about the registered features that are supported by the system, use the show hardware feature-capability command.
show hardware feature-capability [detailed]
Syntax Description
detailed
|
(Optional) Displays detailed information about registered features.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Release
|
Modification
|
4.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the registered features that are supported by the system:
switch# show hardware feature-capability detailed
Hardware Dependent Features:
module 7: Device Min num too small for feature
module 12: Device Min num too small for feature
Related Commands
Command
|
Description
|
show hardware capacity
|
Displays information about the hardware capabilities and current hardware utilization by the system.
|
show hardware capacity
To display information about the hardware capabilities and current hardware utilization by the system, use the show hardware capacity command.
show hardware capacity [eobc | fabric-utilization | forwarding | interface | module | power]
Syntax Description
eobc
|
(Optional) Displays the Ethernet Out of Band Channel (EOBC) resources, such as packets per second, total packets, and dropped packets, for both ingress (rx) and egress (tx) direction.
|
fabric-utilization
|
(Optional) Displays switch fabric resources, such as the channel speed, the percentage of egress data, the percentage of ingress data, packet drops, peak rates, and time stamps.
|
forwarding
|
(Optional) Displays Layer 2 and Layer 3 forwarding resources, such as available resources, the percentage of used resources, and the percentage of free resources.
|
interface
|
(Optional) Displays the chassis, slot, or port number, and the ingress (rx) and egress (tx) packet drop counter against it.
|
module
|
(Optional) Displays information about the modules, crossbar resources, and the percentage of total, free, and used Flash and NVRAM resources in each module.
|
power
|
(Optional) Displays a summary of the power resources of the system.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.2.(1)
|
This command was introduced.
|
Usage Guidelines
You can make network design plans based on the information about hardware capabilities and the current hardware utilization.
This command does not require a license.
Examples
This example shows how to display information about the hardware capabilities and current hardware utilization by the system:
switch(config)# show hardware capacity module
Supervisor Redundancy HW Mode(Dual-SUPs): Disabled
Redundancy mode: Active with no standby
Module Model Number Part Number Serial Number
---------------------------------------------------------
7 N7K-M148GS-11 73-11584-02 JAF1219AGFE
10 N7K-SUP1 73-10877-11 JAF1307ALAT
12 NURBURGRING 73-10098-04 JAB104400P0
XbarNum Model Number Part Number Serial Number
---------------------------------------------------------
1 N7K-C7018-FAB-1 73-11687-01 JAF1225AGHJ
------------------------------------------------------------
Usage: Module Device Total(KB) Free(KB) %Used
------------------------------------------------------------
10 bootflash 1762048 1383980 21
10 logflash 7997912 6840772 14
10 slot0 2026608 1985436 2
Related Commands
Command
|
Description
|
show hardware fabric-utilization
|
Displays information about fabric utilizations.
|
show module
|
Displays information about a module.
|
show hardware capacity interface
To display information about the hardware interface resources, use the show hardware capacity interface command.
show hardware capacity interface
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.1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the hardware interface resources:
switch(config)# show hardware capacity interface
Module Total drops Highest drop ports
Module Bytes: Tx buffer Rx buffer
Related Commands
Command
|
Description
|
show hardware flow utilization
|
Displays information about NetFlow hardware flow utilization.
|
show hardware fabric-utilization
|
Displays information about fabric utilization.
|
show hardware capacity fabric-utilization
To display information about the current and peak switching fabric utilization, use the show hardware capacity fabric-utilization command.
show hardware capacity fabric-utilization
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.1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the current and peak switching fabric utilization:
switch(config)# show hardware capacity fabric-utilization
------------------------------------------------------------------
A -- Unicast fabric interface
B -- Multicast/Multidestination fabric interface
-------------------------PEAK FABRIC UTILIZATION------------------
Slot |Mod Inst Plane| Dir Util Time
------------------------------------------------------------------
7 1 1 A ingress 0% Mon Aug 24 08:31:52 2009
7 1 1 B ingress 0% Mon Aug 24 08:31:52 2009
7 1 1 A egress 0% Mon Aug 24 08:31:52 2009
7 1 1 B egress 0% Mon Aug 24 08:31:52 2009
7 1 2 A ingress 0% Mon Aug 24 08:31:52 2009
7 1 2 B ingress 0% Mon Aug 24 08:31:52 2009
7 1 2 A egress 0% Mon Aug 24 08:31:52 2009
7 1 2 B egress 0% Mon Aug 24 08:31:52 2009
10 1 1 A ingress 0% Mon Aug 24 08:31:41 2009
10 1 1 B ingress 0% Mon Aug 24 08:31:41 2009
10 1 1 A egress 0% Mon Aug 24 08:31:41 2009
10 1 1 B egress 0% Mon Aug 24 08:31:41 2009
Related Commands
Command
|
Description
|
show hardware fabric-utilization
|
Displays information about fabric utilization.
|
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 virtual context device (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.
|
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
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 shows how to display the NetFlow aging values for module 2:
switch(config)# show hardware flow aging module 2
VDC(1) Aging Information (time unit is second):
AgingType Enabled Timeout Period Threshold
----------+----------+----------+----------+----------
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
address
|
Specifies the NetFlow table address.
|
location
|
Address location of the NetFlow table entry, in hexadecimal. 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.
|
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
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 show how to display 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 virtual device context 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.
|
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
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 shows how to display 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 virtual device context (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.
|
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
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 shows how to display the NetFlow sampler table utilization for module 2:
switch# show hardware flow sampler count module 2
Sampler Table Utilization: about 0.00% (0/64)
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.
|
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
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 shows how to display 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
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 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 lldp dcbx interface ethernet
To display the local Data Center Bridging Capability Exchange (DCBX) control status of an interface, use the show lldp dcbx interface ethernet command.
show lldp dcbx interface ethernet slot/port-number
Syntax Description
slot/port-number
|
Slot number and port number is this format: slot/port-number. The range is from 1 to 253.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the local DCBX control status:
switch(config)# show lldp dcbx interface ethernet 1/5
Local DCBXP Control information:
Operation version: 00 Max version: 00 Seq no: 1 Ack no: 1 Type/
Subtype Version En/Will/Adv Config
002/000 000 Y/N/Y 1111100032 32000000 00000002
Peer's DCBXP Control information:
Operation version: 00 Max version: 00 Seq no: 1 Ack no: 1
Subtype Version En/Will/Err Config
003/000 000/000 Y/N/N 0008
002/000 000/000 Y/N/N 1111100032 32000000 00000002
Related Commands
Command
|
Description
|
show lldp tlv-select
|
Displays the LLDP TLV configuration.
|
lldp tlv-select
|
Specifies the TLVs to send and receive in LLDP packets.
|
show lldp interface ethernet
To display the Link Layer Discovery Protocol (LLDP) configuration on the interface, use the show lldp interface ethernet command.
show lldp interface ethernet slot/port-number
Syntax Description
slot/port-number
|
Slot number and port number in this format: slot/port-number. The range is from 1 to 253.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the LLDP configuration on the interface:
switch(config)# show lldp interface ethernet 6/3
Enable (tx/rx/dcbx): Y/Y/Y Port Mac address: 00:24:f7:19:84:72
Related Commands
Command
|
Description
|
show lldp traffic interface ethernet
|
Displays the number of LLDP packets sent and received on the interface.
|
show running-config lldp
|
Displays the global LLDP configuration.
|
lldp transmit
|
Enables the transmission of LLDP packets on an interface.
|
lldp receive
|
Enables the reception of LLDP packets on an interface.
|
show lldp neighbors
To display the status of the Link Layer Discovery Protocol (LLDP) neighbor device, use the show lldp neighbors command.
show lldp neighbors {detail | interface ethernet slot/port-number}
Syntax Description
detail
|
Displays LLDP neighbor detail information.
|
interface ethernet
|
Specifies the interface for which you are displaying LLDP infromation.
|
slot/port-number
|
Slot number and port number in this format: slot/port-number. The range is from 1 to 253.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
vdc-admin
network-operator
vdc-operator
Command History
Release
|
Modification
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the LLDP neighbor device status:
switch(config)# show lldp neighbors detail
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Local Intf Chassis ID Port ID Hold-time Capability
Eth8/24 0018.bad8.5e45 Eth8/23 120 R
Eth8/23 0018.bad8.5e45 Eth8/24 120 R
Related Commands
Command
|
Description
|
show lldp traffic
|
Displays the LLDP counters, including the number of LLDP packets sent and received by the device, the number of discarded packets, and the number of unrecognized TLVs.
|
show lldp traffic interface ethernet
|
Displays the number of LLDP packets sent and received on the interface.
|
show lldp timers
To display the Link Layer Discovery Protocol (LLDP) hold time, delay time, and update frequency configuration, use the show lldp timers command.
show lldp timers
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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the LLDP hold time, delay time, and update frequency configuration:
switch(config)# show lldp timers
Reinit-time in seconds: 6
Transmit interval in seconds: 45
Related Commands
Command
|
Description
|
show lldp holdtime
|
Specifies the amount of time in seconds that a receiving device should hold the information sent by your device before discarding it.
|
lldp reinit
|
Specifies the delay time in seconds for LLDP to initialize on any interface.
|
lldp timer
|
Specifies the transmission frequency of LLDP updates in seconds.
|
show lldp tlv-select
To display the type, length, and value (TLV) configuration for the Link Layer Discovery Protocol (LLDP), use the show lldp tlv-select command.
show lldp tlv-select
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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the TLV configuration for LLDP:
switch(config)# show lldp tlv-select
Related Commands
Command
|
Description
|
show lldp dcbx interface ethernet
|
Displays the local DCBX control status.
|
lldp tlv-select
|
Specifies the TLVs to send and receive in LLDP packets.
|
show lldp traffic
To display the Link Layer Discovery Protocol (LLDP) counters, including the number of LLDP packets sent and received by the device, the number of discarded packets, and the number of unrecognized TLVs, use the show lldp traffic command.
show lldp traffic
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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the LLDP counters:
switch(config)# show lldp traffic
Total frames transmitted: 323
Total frames received in error: 0
Total frames discarded: 0
Total unrecognized TLVs: 0
Related Commands
Command
|
Description
|
show lldp traffic interface ethernet
|
Displays the number of LLDP packets sent and received on the interface.
|
show running-config lldp
|
Displays the global LLDP configuration.
|
show lldp traffic interface ethernet
To display the number of Link Layer Discovery Protocol (LLDP) packets sent and received on the interface, use the show lldp traffic interface ethernet command.
show lldp traffic interface ethernet slot/port-number
Syntax Description
slot/port-number
|
Slot number and port number in this format: slot/port-number. The range is from 1 to 253.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the number of LLDP packets sent and received on the interface:
switch(config)# show lldp traffic interface ethernet 7/1
LLDP interface traffic statistics:
Total frames transmitted: 0
Total frames received in error: 0
Total frames discarded: 0
Total unrecognized TLVs: 0
Related Commands
Command
|
Description
|
show lldp traffic
|
Displays the LLDP counters, including the number of LLDP packets sent and received by the device, the number of discarded packets, and the number of unrecognized TLVs.
|
show running-config lldp
|
Displays the global LLDP configuration.
|
show locator-led status
To show the status of locator LEDs on the system, use the show locator-led status command.
show locator-led 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.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows the locator LED status for the system:
switch# show locator-led status
Module 7 : Locator LED off
Module 9 : Locator LED off
Module 12 is not powered up.
PowerSupply 1 : Locator LED off
PowerSupply 2 : Locator LED off
Related Commands
Command
|
Description
|
locator-led
|
Blinks an LED on the system.
|
show logging console
To display the console logging configuration, use the show logging console command.
show logging console
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 console logging configuration:
switch# show logging console
Logging console: enabled (Severity: critical)
Related Commands
Command
|
Description
|
logging console
|
Configures logging to the console.
|
show logging info
To display the logging configuration, use the show logging info command.
show logging info
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 logging configuration:
switch# show logging info
Logging console: enabled (Severity: critical)
Logging monitor: enabled (Severity: notifications)
Logging linecard: enabled (Severity: notifications)
Logging timestamp: Seconds
Logging loopback : disabled
server severity: notifications
Logging logflash: enabled (Severity: information)
Name - messages: Severity - information Size - 10485760
Facility Default Severity Current Session Severity
-------- ---------------- ------------------------
show logging ip access-list cache
To display information about the logging IP access list cache, use the show logging ip access-list cache command.
show logging ip access-list cache
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 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
To display the last number lines of the logfile, use the show logging last command.
show logging last number
Syntax Description
number
|
Number of lines. The range is from 1 to 9999.
|
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 last 42 lines of the logfile:
switch# show logging last 42
show logging level
To display a logging configuration, use the show logging level command.
show logging level [level]
Syntax Description
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
4.0(2)
|
Added the interface-vlan, netstack, private-vlan, and ipv6 keywords.
|
4.1(2)
|
Added the cfs keyword.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the current Cisco Fabric Services (CFS) logging configuration:
switch# show logging level cfs
Facility Default Severity Current Session Severity
-------- ---------------- ------------------------
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
Related Commands
Command
|
Description
|
logging level
|
Configures the facility logging level.
|
show logging logfile
To display the messages in the log file that were timestamped within the span entered, use the show logging logfile command.
show logging logfile [start-time yyyy mmm dd hh:mm:ss] [end-time yyyy mmm dd hh:mm:ss]
Syntax Description
start-time
|
(Optional) Specifies to 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) Specifies to 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 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
If you do not enter an end time, the current time is used.
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
To display the logging loopback configuration, use the show logging loopback command.
show logging loopback
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 logging loopback configuration:
switch# show logging loopback
show logging module
To display the module logging configuration, use the show logging module command.
show logging module
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 module logging configuration:
switch# show logging module
Related Commands
Command
|
Description
|
logging module
|
Configures module logging.
|
show logging monitor
To display the monitor logging configuration, use the show logging monitor command.
show logging monitor
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 monitor logging configuration:
switch# show logging monitor
Related Commands
Command
|
Description
|
logging monitor
|
Configures logging on the monitor.
|
show logging nvram
To display the messages in the NVRAM log, use the show logging nvram command.
show logging nvram [last number-lines]
Syntax Description
last number-lines
|
(Optional) Specifies a number of lines to display. The last number-lines is displayed. The range is from 1 to 100 lines.
|
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 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.
|
device-version
|
Displays the OBFL device version information.
|
counter-stats
|
(Optional) Displays the OBFL counter statistics.
|
endtime
|
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
|
Displays the OBFL logs from the specified start time.
|
status
|
Displays the OBFL status enable/disable.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
4.0(2)
|
Added the counter-stats keyword.
|
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]—Begins 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. The range is from 1 to 999.
–-B num—Prints the specifies number of lines of context before every matching line. The range is from 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 allow you to specify the number of lines to print. The range is from 0 to 2147483647.
•include [-i] [-x] [word]—Includes 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. The range is from 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—Turns 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.
–>—Redirects it to a file
–|—Pipe command output to filter
Use this command to view OBFL data from the 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 modules installed in a Cisco router or switch. Data is logged to files that are stored in nonvolatile memory. When the onboard hardware is started up, a first record is made for each area monitored and becomes a base value for subsequent records.
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 microseconds.
•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 10 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 The range is from
|
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
To display the onboard failure log (OBFL), use the show logging onboard command.
show logging onboard {boot-uptime | device-version | endtime | environmental-history |
error-stats [port number] | exception-log | interrupt-stats | module module | obfl-history |
obfl-logs | stack-trace | starttime time [options] | status}
Syntax Description
boot-uptime
|
Displays the OBFL boot and uptime information.
|
device-version
|
Displays the OBFL device version information.
|
endtime
|
Displays the OBFL logs until the end time, in the format mm/dd/yy-HH:MM:SS.
|
environmental- history
|
Displays the OBFL environmental history.
|
error-stats
|
Displays the OBFL error statistics. Optionally, you can provide a port number to view the error statistics for the specified port.
|
port number
|
Specifies OBFL error statistics for a port. The range is from 1 to 64.
|
exception-log
|
Displays the OBFL exception log.
|
interrupt-stats
|
Displays the OBFL interrupt statistics.
|
module module
|
Displays the OBFL information for the specified module. The range is from 1 to 18.
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
|
Displays the OBFL history information.
|
obfl-logs
|
Displays the OBFL Technical Support log.
|
stack-trace
|
Displays the OBFL stack trace.
|
starttime
|
Displays the OBFL logs from the start time, in the format mm/dd/yy-HH:MM:SS.
|
status
|
Displays the OBFL enable/disable status.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
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 p.m.:
switch# show logging onboard starttime 03/10/08-15:45:00
show logging server
To display the syslog server configuration, use the show logging server command.
show logging server
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 syslog server configuration:
switch# show logging server
Related Commands
Command
|
Description
|
logging server
|
Configures a remote syslog server.
|
show logging session status
To display the logging session status, use the show logging session status command.
show logging session 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 logging session status:
switch# show logging session status
show logging status
To display the logging status, use the show logging status command.
show logging 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 logging status:
switch# show logging status
show logging timestamp
To display the logging timestamp configuration, use the show logging timestamp command.
show logging timestamp
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 logging time stamp configuration:
switch# show logging timestamp
Related Commands
Command
|
Description
|
logging timestamp
|
Configures the logging time stamp granularity.
|
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.
|
4.1(2)
|
Output modified to show diagnostic events.
|
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
--- ----- -------------------------------- ------------------ ------------
7 48 1000 Mbps Optical Ethernet Modul N7K-M148GS-11 ok
9 0 Supervisor module-1X N7K-SUP1 active *
12 0 10/100/1000 Mbps Ethernet Module powered-dn
--- ------------ ---------------------------
12 powered-dn Configured Power down
--- -------------- ------
Mod MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
7 00-1b-54-c2-ed-d0 to 00-1b-54-c2-ee-04 JAF1219AGFE
9 00-1b-54-c0-ff-10 to 00-1b-54-c0-ff-18 JAB114000BV
Xbar Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
1 0 Fabric Module 1 N7K-C7018-FAB-1 ok
--- -------------- ------
Xbar MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
This example shows how to display information for a specific module:
Mod Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
7 48 1000 Mbps Optical Ethernet Modul N7K-M148GS-11 ok
--- -------------- ------
Mod MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
7 00-1b-54-c2-ed-d0 to 00-1b-54-c2-ee-04 JAF1219AGFE
Chassis Ejector Support: Enabled
Left ejector CLOSE, Right ejector CLOSE, Module HW does not support ejector based shutdo
This example shows how to display information for the fabric modules:
Xbar Ports Module-Type Model Status
--- ----- -------------------------------- ------------------ ------------
1 0 Fabric Module 1 N7K-C7018-FAB-1 ok
--- -------------- ------
Xbar MAC-Address(es) Serial-Num
--- -------------------------------------- ----------
Related Commands
Command
|
Description
|
show hardware
|
Displays information about the hardware.
|
show inventory
|
Displays hardware inventory information.
|
show diagnostic events
|
Displays diagnostic events by error and information event type.
|
show monitor
To display information about the Ethernet Switched Port Analyzer (SPAN), use the show monitor command.
show monitor
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 information about a SPAN:
switch(config)# show monitor
Session State Reason Description
------- ----------- ---------------------- -------------------------------
1 down Session admin shut
6 down Session admin shut
8 down Session admin shut
9 down Session admin shut
Related Commands
Command
|
Description
|
show running-config monitor
|
Displays the running configuration to the startup configuration.
|
show startup-config monitor
|
Displays information about the startup SPAN configuration.
|
show monitor session
To display information about an Ethernet switched port analyzer (SPAN) session for analyzing traffic between ports, use the show monitor session command.
show monitor session {all | session_number | range session_range} [brief]
Syntax Description
all
|
Displays information about all SPAN sessions.
|
session_number
|
Displays information about the specified SPAN session number.
|
range session_range
|
Displays information about the specified range of SPAN sessions.
|
brief
|
(Optional) Displays a brief summary of the information for the specified SPAN session.
|
Defaults
Displays a brief summary of information for all configured SPAN sessions.
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 a brief summary of information for all configured SPAN sessions:
switch# show monitor session
Session State Reason Description
------- ----------- ---------------------- --------------------------------
1 down Session admin shut
6 down Session admin shut
8 down Session admin shut
This example shows how to display detailed information for all configured SPAN sessions:
switch# show monitor session all
state : down (Session admin shut)
filter VLANs : filter not specified
Legend: f = forwarding enabled, l = learning enabled
state : down (Session admin shut)
filter VLANs : filter not specified
Legend: f = forwarding enabled, l = learning enabled
This example shows how to display a brief summary of information for SPAN session number 1:
switch# show monitor session 1 brief
state : down (Session admin shut)
Related Commands
Command
|
Description
|
monitor session
|
Places you into monitor configuration mode for configuring a SPAN session.
|
show ntp access-groups
To display the Network Time Protocol (NTP) access group configuration, use the show ntp access-groups command.
show ntp access-groups
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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the NTP access group configuration:
switch(config)# show ntp access-groups
--------------------------------------
--------------------------------------
Related Commands
Command
|
Description
|
ntp access-group peer
|
Configures an NTP access group.
|
show ntp authentication-keys
To display the Network Time Protocol (NTP) authentication keys, use the show ntp authentication-keys command.
show ntp authentication-keys
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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the NTP authentication keys:
switch(config)# show ntp authentication-keys
-----------------------------
-----------------------------
Related Commands
Command
|
Description
|
show ntp authentication-status
|
Displays the status of all NTP authentication.
|
ntp authentication-key
|
Configures one or more keys that a time source must provide in its NTP packets in order for the device to synchronize to it.
|
show ntp authentication-status
To display the status of the Network Time Protocol (NTP) authentication, use the show ntp authentication-status command.
show ntp authentication-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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the NTP authentication status:
switch(config)# show ntp authentication-status
Related Commands
Command
|
Description
|
ntp autheticate
|
Enables NTP authentication.
|
show ntp authentication-keys
|
Displays the configured NTP authentication keys.
|
show ntp internal
To display the Network Time Protocol (NTP) internal information, use the show ntp internal command.
show ntp internal {event-history [config | fsm | msgs | rts | tstamp] | mem-stats [detail] |
module-info}
Syntax Description
event-history
|
Specifies the event history.
|
config
|
(Optional) Specifies the configuration history.
|
fsm
|
(Optional) Specifies the finite state machine (FSM) state transition.
|
msgs
|
(Optional) Specifies the message and transaction service (MTS) message history.
|
rts
|
(Optional) Specifies the request-to-send (RTS) history.
|
tstmp
|
(Optional) Specifies the timestamp update history.
|
mem-stats
|
Specifies memory allocation statistics of NTP.
|
detail
|
(Optional) Specifies the memory allocation statistics of NTP in detail.
|
module-info
|
Specifies all line card-related information.
|
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 NTP internal information:
switch(config)# show ntp internal module-info
Number of Linecards present = 4
Timestamp check (configured) = enabled
Timestamp check status = disabled
Related Commands
Command
|
Description
|
show running-config ntp
|
Displays the NTP information.
|
show ntp statistics
|
Displays the NTP statistics.
|
show ntp logging-status
To display the Network Time Protocol (NTP) logging status, use the show ntp logging-status command.
show ntp logging-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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the NTP logging status:
switch(config)# show ntp logging-status
Related Commands
Command
|
Description
|
ntp logging
|
Enables NTP logging.
|
show ntp authentication-status
|
Displays the status of NTP authentication.
|
show ntp session status
|
Displays the NTP CFS distribution session information.
|
show ntp peers
To display the configured Network Time Protocol (NTP) servers and 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
vdc-admin
network-operator
vdc-operator
Command History
Release
|
Modification
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
A domain name is resolved only when you have a domain name server (DNS) server configured.
This command does not require a license.
Examples
This example shows how to display all the configured NTP servers and peers:
switch(config)# show ntp peers
--------------------------------------------------
Peer IP Address Serv/Peer
--------------------------------------------------
2001:db8::4101 Peer (configured)
192.0.2.10 Server (configured)
Related Commands
Command
|
Description
|
ntp server
|
Configures an NTP server.
|
ntp peer
|
Configures an NTP peer.
|
show ntp peer-status
|
Displays the status of all the server and peers.
|
show ntp peer-status
To do display the status of the Network Time Protocol (NTP) 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 pending-diff
To display the differences between the pending Network Time Protocol (NTP) configuration and the active NTP configuration, use the show ntp pending-diff command.
show ntp pending-diff
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.1(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 pending NTP configuration and the active NTP configuration:
switch# show ntp pending-diff
Related Commands
Command
|
Description
|
show ntp source
|
Displays information about the NTP source.
|
show ntp peers
|
Displays information about NTP peers.
|
show ntp pending peers
To display pending Network Time Protocol (NTP) configuration changes on all peers, use the show ntp pending peers command.
show ntp pending 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.1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the pending NTP configuration changes on all peers:
switch# show ntp pending peers
Related Commands
Command
|
Description
|
show ntp source
|
Displays information about the NTP source.
|
show ntp peers
|
Displays information about NTP peers.
|
show ntp session status
To display the Network Time Protocol (NTP) session status, use the show ntp session status command.
show ntp session 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.1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the NTP session status:
switch# show ntp session status
Last Action Time Stamp : Thu Aug 1 16:22:00 20
Last Action : Distribution Enable
Last Action Result : Success
Last Action Failure Reason : none
Related Commands
Command
|
Description
|
show ntp source
|
Displays information about the NTP source.
|
show ntp peers
|
Displays information about NTP peers.
|
show ntp status
To display the Network Time Protocol (NTP) distribution status, use the show ntp status command.
show ntp 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.1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the NTP distribution status:
switch(config)# show ntp status
Last operational state: No session
Related Commands
Command
|
Description
|
show ntp source
|
Displays information about the NTP source.
|
show ntp peers
|
Displays information about NTP peers.
|
show ntp rts-update
To display if the request to send (RTS) update is enabled, use the show ntp rts-update command.
show ntp rts-update
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.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to view RTS-update information:
switch(config)# show ntp rts-update
Related Commands
Command
|
Description
|
show ntp source-interface
|
Displays information about the NTP source.
|
show ntp source
To display information about the Network Time Protocol (NTP) 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 shows how to display the NTP source information:
switch(config)# show ntp source
Related Commands
Command
|
Description
|
ntp source
|
Configures the NTP source.
|
show ntp source-interface
To display the Network Time Protocol (NTP) source interface, use the show ntp source-interface command.
show ntp source-interface
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.1(3)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the NTP source interface:
switch(config)# show ntp source-interface
Source interface loopback1
Related Commands
Command
|
Description
|
show startup-config ntp
|
Displays information about the startup NTP configuration of the switch.
|
show running-config ntp
|
Displays information about the NTP configuration that is currently running on the switch.
|
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
|
Displays the input-output statistics.
|
local
|
Displays the counters maintained by the local NTP.
|
memory
|
Displays the statistics counters related to the memory code.
|
peer
|
Displays 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 name
|
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 shows how to displays statistics for NTP:
switch(config)# show ntp statistics local
Related Commands
Command
|
Description
|
clear ntp statistics
|
Clears NTP statistics.
|
show ntp status
To display the Network Time Protocol (NTP) distribution status, use the show ntp status command.
show ntp status [ > | >> | | ]
Syntax Description
>
|
(Optional) Redirects the command output to a file.
|
>>
|
(Optional) Redirects the command output to a file in append mode.
|
|
|
(Optional) Pipes the command output to a filter.
|
Defaults
Disabled
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command shows whether Cisco Fabric Services (CFS) is enabled or disabled for the NTP application and whether a fabric lock is in place because a configuration is in progress.
This command does not require a license.
Examples
This example shows how to display the CFS distribution status for NTP. In this example, CFS distribution is enabled and the fabric is locked. When a configuration is in progress on a CFS-enabled device, the fabric is locked until the change is committed and the configuration is distributed throughout the fabric. The lock prevents multiple configurations occurring at the same time.
switch(config)# show ntp status
Distribution : Enabled
Last operational state: Fabric Locked
Related Commands
Command
|
Description
|
show cfs status
|
Displays the global CFS distribution status (enabled/disabled) for the device.
|
clear ntp session
|
Clears the application configuration session, discards pending changes, and releases the lock on the fabric.
|
ntp distribute
|
Enables the device to receive NTP configuration updates distributed through CFS.
|
cfs distribute
|
Globally enables CFS distribution for all applications on the device, including CFS over IP.
|
ntp enable
|
Enables NTP on a device. NTP is enabled by default.
|
show ntp trusted-keys
To display the configured Network Time Protocol (NTP) trusted keys, use the show ntp trusted-keys command.
show ntp trusted-keys
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
vdc-admin
network-operator
vdc-operator
Command History
Release
|
Modification
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display all the configured NTP trusted keys:
switch(config)# show ntp trusted-keys
Related Commands
Command
|
Description
|
ntp trusted-keys
|
Displays the configured NTP authentication keys.
|
show platform hardware capacity interface resources
To display a summary of current platform hardware resource utilization, use the show platform hardware capacity interface resources command.
show platform hardware capacity interface resources
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.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display a summary of current platform hardware resource utilization:
switch# show platform hardware capacity interface resources
Module Total drops: Tx Rx Highest drop port: Tx Rx
Module Bytes: Tx buffer Rx buffer
Related Commands
Command
|
Description
|
show hardware fabric- utilization
|
Display information about fabric utilization.
|
show port-monitor
To display information about the Simple Network Management Protocol (SNMP) port-monitor configuration, use the show port-monitor command.
show port-monitor [policy-name]
Syntax Description
policy-name
|
(Optional) Policy name. The maximum number of alphanumeric characters is 32.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the SNMP port-monitor information:
switch(config)# show port-monitor name pm2
switch(config-port-monitor)# show port-monitor pm2
Admin status : Not Active
--------------------------------------------------------------------------------
Counter Threshold Interval Rising Threshold event Falling Threshold event In
Use
------- --------- -------- ---------------- ----- ------------------ -
Link Loss Delta 60 5 4 1 4
Sync Loss Delta 60 5 4 1 4
Protocol Error Delta 60 1 4 0 4
Signal Loss Delta 60 5 4 1 4
Invalid Words Delta 60 1 4 0 4
Invalid CRC's Delta 60 5 4 1 4
RX Performance Delta 60 2147483648 4 524288000 4
TX Performance Delta 60 2147483648 4 524288000 4
--------------------------------------------------------------------------------
switch(config-port-monitor)#
Related Commands
Command
|
Description
|
show port-monitor status
|
Displays the port-monitor status.
|
show port-monitor active
|
Displays active port-monitor policies.
|
show port-monitor active
To display information about the active Simple Network Management Protocol (SNMP) port-monitor policies, use the show port-monitor active command.
show port-monitor active
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.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the active SNMP port-monitor policies:
switch(config)# show port-monitor active
--------------------------------------------------------------------------------
Counter Threshold Interval Rising Threshold event Falling Threshold e
------- --------- -------- ---------------- ----- ------------------ -
Link Loss Delta 60 5 4 1 4
Sync Loss Delta 60 5 4 1 4
Protocol Error Delta 60 1 4 0 4
Signal Loss Delta 60 5 4 1 4
Invalid Words Delta 60 1 4 0 4
Invalid CRC's Absolute 30 10000000 100 1 4
RX Performance Delta 60 2147483648 4 524288000 4
TX Performance Delta 60 2147483648 4 524288000 4
--------------------------------------------------------------------------------
Related Commands
Command
|
Description
|
show port-monitor status
|
Displays the port-monitor status.
|
show port-monitor active
|
Displays active port-monitor policies.
|
show port-monitor status
To display information about the Simple Network Management Protocol (SNMP) port-monitor status, use the show port-monitor status command.
show port-monitor 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.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the SNMP port-monitor status:
switch(config)# show port-monitor status
switch(config-port-monitor)#
Related Commands
Command
|
Description
|
show port-monitor active
|
Displays active port-monitor policies.
|
show port-monitor
|
Displays information about the port-monitor configuration.
|
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 cpu history
To display information about the CPU utilization by the system processes in the last 60 seconds, 60 minutes, and 72 hours in a graphical format, use the show processes cpu history command.
show processes cpu history
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.2.(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the CPU utilization by the system processes for last 60 seconds, 60 minutes, and 72 hours in a graphical format:
switch(config)# show processes cpu history
92 5 4 73 474 64 65 575 47
206324551543534226644368135103343343133313901236334538431915
40 # # # # ### ## ## ### ##
30 # # # ## ### ## ## ### ##
20 ## # # ## ### ## ## ### ##
10 ### ## # # ### ## ### ## ## ### # ### # #
0....5....1....1....2....2....3....3....4....4....5....5....
CPU% per second (last 60 seconds)
111514221111111211112112121122122522122221222313122122232122
869180309993994069890950889706715227911205311280423925335914
20 *********** ** ********************************* ***********
10 ***#*****************************#**************************
0....5....1....1....2....2....3....3....4....4....5....5....
CPU% per minute (last 60 minutes)
* = maximum CPU% # = average CPU%
556655555556565565556566666666665666666566555556555555555555565666656665
10 ************************************************************************
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7.
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%
Related Commands
Command
|
Description
|
show processes cpu
|
Displays the CPU utilization information for processes on the device.
|
show system resources
|
Displays the system resources.
|
show process cpu sort
To display information about CPU processes sorted by CPU utilization, use the show process cpu sort command.
show process cpu sort
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.1(1)
|
This command was introduced.
|
Usage Guidelines
The modules perform the polling and send messages to the Supervisor module for Simple Network Management Protocol (SNMP) caching. When attached to a module under no load, the CPU spikes approximately every 10 seconds for a short period of time. The name of the process is statsclient.
The CPU spike can go up to 100 percent for a few miliseconds. The process is preemptive and it does not block other high priority processes.
This command does not require a license.
Examples
This example shows how to display information about CPU processes sorted by CPU utilization:
switch(config)# show process cpu sort
PID Runtime(ms) Invoked uSecs 1Sec Process
----- ----------- -------- ----- ------ -----------
3622 2335 6843 341 50.0% pfstat
1 2550 4169 611 0.0% init
2 13 2676 4 0.0% migration/0
3 2091 883525 2 0.0% ksoftirqd/0
4 48 6300 7 0.0% desched/0
5 10 2816 3 0.0% migration/1
6 21 4450597 0 0.0% ksoftirqd/1
7 42 6416 6 0.0% desched/1
8 1785 8581 208 0.0% events/0
9 1560 7426 210 0.0% events/1
10 58 2731 21 0.0% khelper
104 12 201 62 0.0% kblockd/0
105 4 138 33 0.0% kblockd/1
186 139 3010 46 0.0% pdflush
Note Because the values in the 1Sec column represent a dual-core CPU, the CPU processes may add up to 200 percent. In this example, the pfstat process is consuming 50 percent of one core.
Related Commands
Command
|
Description
|
show processes cpu
|
Displays the CPU utilization information for processes on the device.
|
show processes cpu history
|
Displays information about the CPU utilization by the system processes in the last 60 seconds, 60 minutes, and 72 hours in a graphical format.
|
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 range is from 1 to 2147483647.
|
vdc-all
|
(Optional) Displays process log information for all virtual device contexts (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 ptp brief
To display a brief status of the Precision Time Protocol (PTP) interfaces, use the show ptp brief command.
show ptp brief
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
|
5.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display a brief status of the PTP interfaces:
Related Commands
Command
|
Description
|
show ptp clock
|
Displays the properties of the local clock.
|
show ptp clocks foreign-masters-record
|
Displays the state of foreign masters known to the PTP process.
|
show ptp corrections
|
Displays the last few PTP corrections.
|
show ptp parent
|
Displays the properties of the PTP parent.
|
show ptp port
|
Displays the status of the PTP port.
|
show ptp time-property
|
Displays the properties of the PTP clock.
|
show ptp clock
To display the Precision Time Protocol (PTP) clock information, use the show ptp clock command.
show ptp clock
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
|
5.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the PTP clock information:
PTP Device Type: Boundary clock
Clock Identity : 0:18:ba:ff:ff:d8: e:17
Offset (log variance) : 65535
Local clock time:Sun Jan 15 20:57:29 2011
Related Commands
Command
|
Description
|
show ptp brief
|
Displays the PTP status.
|
show ptp clocks foreign-masters-record
|
Displays the state of foreign masters known to the PTP process.
|
show ptp corrections
|
Displays the last few PTP corrections.
|
show ptp parent
|
Displays the properties of the PTP parent.
|
show ptp port
|
Displays the status of the PTP port.
|
show ptp time-property
|
Displays the properties of the PTP clock.
|
show ptp clocks foreign-masters-record
To display information about the state of foreign masters known to the Precision Time Protocol (PTP) process, use the show ptp clocks foreign-masters-record command.
show ptp clocks foreign-masters-record {interface [ethernet]}
Syntax Description
interface
|
Specifies an interface.
|
ethernet
|
(Optional) Specifies an Ethernet interface.
|
T
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
5.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the state of foreign masters known to the PTP process:
switch# show ptp clocks foreign-masters-record interface ethernet 7/1
RP/0/0/CPU0:demo#show ptp clocks foreign-masters
P1=Priority1, P2=Priority2, C=Class, A=Accuracy,
OSLV=Offset-Scaled-Log-Variance, SR=Steps-Removed
--------- ----------------------- --- ---- ---- --- ----- --------
Interface Clock-ID P1 P2 C A OSLV SR
--------- ----------------------- --- ---- ---- --- ----- --------
Eth7/10 0:18:ba:ff:ff:d8: e:16 255 255 248 254 65535 0 GM
Eth7/1 0:18:ba:ff:ff:d8: e:16 255 255 248 254 65535 0 GM
Related Commands
Command
|
Description
|
show ptp brief
|
Displays the PTP status.
|
show ptp clock
|
Displays the properties of the local clock.
|
show ptp corrections
|
Displays the last few PTP corrections.
|
show ptp parent
|
Displays the properties of the PTP parent.
|
show ptp port
|
Displays the status of the PTP port.
|
show ptp time-property
|
Displays the properties of the PTP clock.
|
show ptp corrections
To display the history of the Precision Time Protocol (PTP) clock corrections on the Ethernet interfaces, use the show ptp corrections command.
show ptp corrections
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
|
5.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the history of the PTP clock corrections on the Ethernet interfaces:
switch# show ptp corrections
------------------------------------------
Slave Port Sup time Corrections(s,ns)
---------- -------------------- ------------
Eth7/10 2010 Mar 11 03:14:55 -1 1210900
Eth7/10 2010 Mar 11 03:14:55 -340978
Related Commands
Command
|
Description
|
show ptp brief
|
Displays the PTP status.
|
show ptp clock
|
Displays the properties of the local clock.
|
show ptp clocks foreign-masters-record
|
Displays the state of foreign masters known to the PTP process.
|
show ptp parent
|
Displays the properties of the PTP parent.
|
show ptp port
|
Displays the status of the PTP port.
|
show ptp time-property
|
Displays the properties of the PTP clock.
|
show ptp parent
To display information about the parent and grand master of the Precision Time Protocol (PTP) clock, use the show ptp parent command.
show ptp parent
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
|
5.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the parent and grand master of the PTP clock:
Parent Clock Identity: 0:18:ba:ff:ff:d8: e:16
Observed Parent Offset (log variance): N/A
Observed Parent Clock Phase Change Rate: N/A
Grandmaster Clock Identity: 0:18:ba:ff:ff:d8: e:16
Grandmaster Clock Quality:
Offset (log variance): 65535
Related Commands
Command
|
Description
|
show ptp brief
|
Displays the PTP status.
|
show ptp clock
|
Displays the properties of the local clock.
|
show ptp clocks foreign-masters-record
|
Displays the state of foreign masters known to the PTP process.
|
show ptp corrections
|
Displays the last few PTP corrections.
|
show ptp port
|
Displays the status of the PTP port.
|
show ptp time-property
|
Displays the properties of the PTP clock.
|
show ptp port
To display information about the Precision Time Protocol (PTP) port, use the show ptp port command.
show ptp port {interface [ethernet]}
Syntax Description
interface
|
Specifies the interface.
|
ethernet
|
(Optional) Specifies an Ethernet interface.
|
T
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
5.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the PTP port:
Port identity: clock identity: 0:18:ba:ff:ff:d8: e:17
Port identity: port number: 1536
Delay request interval(log mean): 2
Announce receipt time out: 3
Announce interval(log mean): 1
Sync interval(log mean): 2
Delay Mechanism: End to End
Peer delay request interval(log mean): 0
Related Commands
Command
|
Description
|
show ptp brief
|
Displays the PTP status.
|
show ptp clock
|
Displays the properties of the local clock.
|
show ptp clocks foreign-masters-record
|
Displays the state of foreign masters known to the PTP process.
|
show ptp corrections
|
Displays the last few PTP corrections.
|
show ptp parent
|
Displays the properties of the PTP parent.
|
show ptp time-property
|
Displays the properties of the PTP clock.
|
show ptp time-property
To display the Precision Time Protocol (PTP) clock properties, use the show ptp time-property command.
show ptp time-property
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
|
5.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the PTP clock properties:
switch# show ptp time-property
Current UTC Offset valid: 0
Time Source: 0xA0(internal Osccilator)
Related Commands
Command
|
Description
|
show ptp brief
|
Displays the PTP status.
|
show ptp clock
|
Displays the properties of the local clock.
|
show ptp clocks foreign-masters-record
|
Displays the state of foreign masters known to the PTP process.
|
show ptp corrections
|
Displays the last few PTP corrections.
|
show ptp parent
|
Displays the properties of the PTP parent.
|
show ptp port
|
Displays the status of the PTP port.
|
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 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 displays redundancy information:
switch# show redundancy status
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 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 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 cdp
To display the Cisco Discovery Protocol (CDP) running configuration, use the show running-config cdp command.
show running-config cdp [all]
Syntax Description
all
|
(Optional) Displays the running configuration with defaults.
|
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 CDP running configuration with defaults:
switch(config)# show running-config cdp all
!Command: show running-config cdp all
!Time: Fri Jan 15 22:19:20 2010
cdp format device-id system-name
Related Commands
Command
|
Description
|
enable cdp
|
Enables CDP on an interface.
|
show running-config diagnostic
To display the running-configuration diagnostics, use the show running-config diagnostic command.
show running-config diagnostic [all]
Syntax Description
all
|
(Optional) Displays the running-configuration diagnostics with defaults.
|
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 running-configuration diagnostics:
switch(config)# show running-config diagnostic all
!Command: show running-config diagnostic all
!Time: Fri Jan 15 22:22:01 2010
diagnostic bootup level complete
Related Commands
Command
|
Description
|
show startup-config diagnostic
|
Displays the startup-configuration diagnostics.
|
show running-config eem
To display the Embedded Event Manager (EEM) running configuration, use the show running-config eem command.
show running-config eem
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 the Embedded Event Manager (EEM) running configuration:
switch# show running-config eem
switch(config)# show running-config eem
!Command: show running-config eem
!Time: Fri Jan 15 22:23:28 2010
show running-config lldp
To display the global Link Layer Discovery Protocol (LLDP) configuration, use the show running-config lldp command.
show running-config lldp
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
|
5.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the global LLDP configuration:
switch(config)# show running-config lldp
!Command: show running-config lldp
!Time: Mon Jan 11 02:19:29 2010
Related Commands
Command
|
Description
|
feature lldp
|
Enables the LLDP feature globally.
|
show running-config monitor
To display information about the running Ethernet switched port analyzer (SPAN) configuration on the system, use the show running-config monitor command.
show running-config monitor [all]
Syntax Description
all
|
(Optional) Displays the running SPAN configuration with defaults.
|
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 running SPAN configuration on the system:
switch(config)# show running-config monitor
!Command: show running-config monitor
!Time: Fri Jan 15 22:24:43 2010
Related Commands
Command
|
Description
|
show monitor
|
Displays information about the SPAN configuration.
|
show startup-config monitor
|
Displays information about the startup SPAN configuration.
|
show running-config netflow
To display the NetFlow configuration that is currently on your switch, use the show running-config netflow command.
show running-config netflow [all]
Syntax Description
all
|
(Optional) Displays the NetFlow configuration with defaults.
|
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 NetFlow configuration that is running on the switch:
switch(config)# show running-config netflow all
!Command: show running-config netflow all
!Time: Fri Jan 15 22:26:04 2010
template data timeout 1800
template data timeout 1800
flow exporter Custom-Flow-Exporter-1
template data timeout 1800
option exporter-stats timeout 1200
Related Commands
Command
|
Description
|
show startup-config netflow
|
Displays the startup NetFlow configurations.
|
show running-config ntp
To display the Network Time Protocol (NTP) configuration that is currently running on the system, use the show running-config ntp command.
show running-config ntp [all]
Syntax Description
all
|
(Optional) Displays all of the NTP running configuration.
|
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 NTP configuration that is currently running:
switch(config)# show running-config ntp
!Command: show running-config ntp
!Time: Fri Jan 15 22:28:34 2010
ntp server 192.0.2.10 prefer use-vrf RED key 786
ntp authentication-key 3 md5 fewhg 7
ntp authentication-key 34567 md5 qabzk7f 7
ntp access-group peer abcd*123
Related Commands
Command
|
Description
|
show ntp source-interface
|
Displays information about the NTP source interface.
|
show startup-config ntp
|
Displays information about the startup NTP configuration of the switch.
|
show running-config snmp
To display the running Simple Network Management Protocol (SNMP) configuration of a system, use the show running-config snmp command.
show running-config snmp [all]
Syntax Description
all
|
(Optional) Displays the running SNMP configuration with defaults.
|
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 running SNMP configuration of a system:
switch(config)# show running-config snmp
!Command: show running-config snmp
!Time: Fri Jan 15 22:30:27 2010
snmp-server user admin network-admin auth md5 0x1dc65f45a9d8e41dbccd76380946d6c3
priv 0x1dc65f45a9d8e41dbccd76380946d6c3 localizedkey
Related Commands!Command: show running-config snmp
Related Commands!Time: Tue Feb 2 22:30:27 2010
Related Commands
Related Commandsversion 5.0(2)
Related Commandssnmp-server user admin network-admin auth md5 0x1dc65f45a9d8e41dbccd76380946d6c3
Related Commands priv 0x1dc65f45a9d8e41dbccd76380946d6c3 localizedkey
Related Commands
Related Commands
Related Commandsswitch(config)#
Related Commands
Command
|
Description
|
show startup-config snmp
|
Displays the startup SNMP configuration.
|
show port-monitor active
|
Displays active port-monitor policies.
|
show sampler
To display a NetFlow sampler, use the show sampler command.
show sampler [name] [sampler-name]
Syntax Description
name
|
(Optional) Specifies a sampler.
|
sampler-name
|
(Optional) Sampler name. The maximum number of characters is 32.
|
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
You can create a sampler to define the NetFlow sampling rate for a flow.
This command does not require a license.
Examples
This example shows how to display a NetFlow sampler:
switch(config)# show sampler
Sampler Netflow-Sampler-1:
Related Commands
Command
|
Description
|
sampler
|
Configures a sampler to collect data for a user selected packet ratio to preserve hardware resources.
|
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
|
(Optional) Provides the scheduler internal memory information as specified.
|
job
|
Displays job information as specified.
|
name jobname
|
(Optional) 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
|
(Optional) Displays the scheduler timetable for the specified schedule name.
|
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
To use this command, the scheduler must already be enabled.
To enable the scheduler, use the feature scheduler command.
This command does not require a license.
Examples
This example shows how to display the scheduler configuration:
switch# show scheduler config
scheduler logfile size 16
scheduler job name test-1
This example shows how to display 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
-----------------------------------------------
-----------------------------------------------
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 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 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 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
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 command mode
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 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 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 SNMP engine ID:
switch(config)# show snmp engineID
Local SNMP engineID: [Hex] 80000009030005300A0B0C
[Dec] 128:000:000:009:003:000:005:048:010:011:012
Related Commands
Command
|
Description
|
snmp-server user
|
Configures SNMP target notification users.
|
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 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 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 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 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 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 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 SNMP sessions:
switch(config)# show snmp sessions
Related Commands
Command
|
Description
|
snmp-server user
|
Configures SNMP users.
|
show snmp source-interface
To display the Simple Network Management Protocol (SNMP) source interface through which notifications are sent, use the show snmp source-interface command.
show snmp source-interface
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.2(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the SNMP source interface through which notifications are sent:
switch(config)# show snmp source-interface
-------------------------------------------------------------------
Notification source-interface
-------------------------------------------------------------------
-------------------------------------------------------------------
Related Commands
Command
|
Description
|
snmp-server sourceinterface
|
Configures an SNMP source interface through which notifications are sent.
|
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 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 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
|
(Optional) Name of the user. The name can be any case-sensitive, alphanumeric string up to 32 characters.
|
engineID id
|
(Optional) Configures the SNMP Engine ID for a notification target user. The ID is 11 decimal values separated by colons.
|
Defaults
Displays all users
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 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 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
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
The SPROM on the physical device components contain detail information about the hardware, including the serial number, part number, and revision numbered.
This command does not require a license.
Examples
This example shows how to display SPROM information for all components on the physical device:
DISPLAY active supervisor sprom contents:
OEM String : Cisco Systems, Inc
Product Number : N7K-SUP1
Serial Number : JAB10380101
Part Number : 73-10877-03
snmpOID : 0.0.0.0.0.0.0.0
This example shows how to display SPROM information for a backplane:
switch# show sprom backplane 1
DISPLAY backplane sprom contents:
OEM String : Cisco Systems, Inc.
Product Number : N7K-C7010
Serial Number : TBM11256507
Part Number : 73-10900-04
snmpOID : 0.0.0.0.0.0.0.0
MAC Addresses : 00-18-ba-d8-3f-bc
WWN software-module specific block:
License software-module specific block:
Second Serial number specific block:
Serial Number : TBM11256507
show startup-config cdp
To display the Cisco Discovery Protocol (CDP) startup configuration, use the show startup-config cdp command.
show startup-config cdp [all]
Syntax Description
all
|
(Optional) Displays the startup configuration with defaults.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the CDP startup configuration with defaults:
switch(config)# show startup-config cdp all
!Command: show startup-config cdp
!Time: Tue Feb 2 22:36:26 2010
Related Commands
Command
|
Description
|
show running-config cdp
|
Displays the running CDP configuration.
|
show startup-config diagnostic
To display startup-configuration diagnostics, use the show startup-config diagnostic command.
show startup-config diagnostic [all]
Syntax Description
all
|
(Optional) Displays the startup configuration with defaults.
|
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 startup-configuration diagnostics:
switch(config)# show startup-config diagnostic all
!Command: show startup-config diagnostic all
!Time: Tue Jan 26 22:38:22 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
diagnostic bootup level complete
Related Commands
Command
|
Description
|
show running-config diagnostic
|
Displays the running-configuration diagnostics.
|
show startup-config cfs
To display information about the Cisco Fabric Services (CFS) startup configuration, use the show startup-config cfs command.
show startup-config cfs [all]
Syntax Description
all
|
(Optional) Displays the all of the CFS startup configuration.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the CFS startup configuration:
switch(config)# show startup-config cfs
!Command: show startup-config cfs
!Time: Tue Feb 2 22:40:47 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
Related Commands
Command
|
Description
|
cfs distribute
|
Enables CFS distribution for the device globally.
|
show cfs status
|
Displays the CFS distribution status.
|
show startup-config eem
To display the Embedded Event Manager (EEM) start-up configuration, use the show startup-config eem command.
show startup-config eem
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 Embedded Event Manager (EEM) start-up configuration:
switch# show startup-config eem
!Command: show startup-config eem
!Time: Tue Feb 2 22:41:25 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
show startup-config monitor
To display information about the startup Ethernet Switched Port Analyzer (SPAN) configuration, use the show startup-config monitor command.
show startup-config monitor
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 information about the startup Ethernet SPAN configuration:
switch(config)# show startup-config monitor
!Command: show startup-config monitor
!Time: Tue Feb 2 22:42:07 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
Related Commands
Command
|
Description
|
show monitor
|
Displays information about an Ethernet switched port analyzer (SPAN).
|
show running-config monitor
|
Displays the running configuration to the startup configuration.
|
show startup-config netflow
To display the startup NetFlow configuration, use the show startup-config netflowcommand.
show startup-config netflow [all]
Syntax Description
all
|
(Optional) Displays the startup NetFlow configuration with defaults.
|
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 startup NetFlow configuration:
switch# show startup-config netflow
!Command: show startup-config monitor
!Time: Tue Feb 2 22:42:07 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
switch(config)# show startup-config netflow
!Command: show startup-config netflow
!Time: Tue Feb 2 22:43:13 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
flow exporter Custom-Flow-Exporter-1
option exporter-stats timeout 1200
Related Commands
Command
|
Description
|
show running-config netflow
|
Displays information about the NetFlow configuration that is currently running on the switch.
|
show startup-config ntp
To display the Network Time Protocol (NTP) startup configuration, use the show startup-config ntp command.
show startup-config ntp [all]
Syntax Description
all
|
(Optional) Displays all NTP startup configurations.
|
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 NTP startup configuration:
switch(config)# show startup-config ntp
!Command: show startup-config ntp
!Time: Tue Feb 2 22:45:37 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
ntp server 192.0.2.10 use-vrf Red
ntp authentication-key 42 md5 dJmhwKzd 7
ntp access-group peer NT_GLOBAL
Related Commands
Command
|
Description
|
show ntp source-interface
|
Displays information about the NTP source interface.
|
show running-config ntp
|
Displays information about the NTP configuration that is currently running on the switch.
|
show startup-config snmp
To display the startup Simple Network Management Protocol (SNMP) configuration of a system, use the show startup-config snmp command.
show startup-config snmp [all]
Syntax Description
all
|
(Optional) Displays the startup SNMP configuration with defaults.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the startup SNMP configuration of the system:
switch(config)# show startup-config snmp
!Command: show startup-config snmp all
!Time: Tue Feb 2 22:46:33 2010
!Startup config saved at: Thu Jan 21 08:39:42 2010
snmp-server aaa-user cache-timeout 3600
snmp-server protocol enable
no snmp-server globalEnforcePriv
snmp-server tcp-session auth
snmp-server user admin network-admin auth md5 0x1dc65f45a9d8e41dbccd76380946d6c3
priv 0x1dc65f45a9d8e41dbccd76380946d6c3 localizedkey
snmp-server enable traps ospf rate-limit 10 7
snmp-server enable traps ospf foo rate-limit 10 7
no snmp-server enable traps bridge topologychange
no snmp-server enable traps bridge newroot
no snmp-server enable traps stpx inconsistency
no snmp-server enable traps stpx loop-inconsistency
no snmp-server enable traps stpx root-inconsistency
switch(config-port-monitor)#
Related Commands
Command
|
Description
|
show running-config snmp
|
Displays the running SNMP configuration.
|
show port-monitor active
|
Displays active port-monitor policies.
|
show system cores
To display the core filename, use the show system cores command.
show system cores
Syntax Description
This command has no arguments or keywords.
Defaults
Displays information for all features.
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
Use the system cores command to configure the system core filename.
This command does not require a license.
Examples
This example shows how to display destination information for the system core files:
switch# show system cores
Cores are transferred to slot0:
Related Commands
Command
|
Description
|
system cores
|
Configures the system core filename.
|
show system error-id
To display the destination information for core files, use the show system error-id command.
show system error-id {error-number | list}
Syntax Description
error-id
|
Error number. The range is from 0x0 to 0xffffffff.
|
list
|
Displays brief information for all the system error messages.
|
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
This command does not require a license.
Examples
This example shows how to display detailed information for an error message:
switch# show system error-id 0x1
Error Description: not enough memory
This example shows how to display brief information for all the error messages:
switch# show system error-id list
0x00000000 (SYSERR_SUCCESS): "success".
0x00000001 (SYSERR_NOMEM): "not enough memory".
0x00000002 (SYSERR_PSS_ERROR): "error while accessing PSS".
0x00000003 (SYSERR_CMI_NO_RESPOSE_PAYLOAD): "no cmi response payload".
0x00000004 (SYSERR_CMI_NULL_RECEIVE_BUF): "null cmi receive buffer".
0x00000005 (SYSERR_MGMT_ERROR): "unknown error".
0x00000006 (SYSERR_MGMT_NO_ENTRY): "entry not present".
0x00000007 (SYSERR_MGMT_NO_OBJECT): "object not present".
show system memory-status
To display the memory status information, use the show system memory-status command.
show system memory-status
Syntax Description
This command has no arguments or keywords.
Defaults
Displays information for all features.
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 memory status information:
switch# show system memory-status
show system pss shrink status
To display the last Persistent Storage Service (PSS) shrink status, use the show system pss shrink status command.
show system pss shrink 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 last PSS shrink status:
switch(config)# show system pss shrink status
Last pss shrink started on: Tue May 12 08:08:30 2009
Related Commands
Command
|
Description
|
show system pss shrink status details
|
Displays the last PSS shrink status details.
|
show system pss shrink status details
To display details of the last Persistent Storage Service (PSS) shrink status details, use the show system pss shrink status details command.
show system pss shrink status details
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 details of the last PSS shrink status:
switch(config)# show system pss shrink status details
Last pss shrink started on: Tue May 12 08:08:30 2009
Service "aaa" in vdc 1: pss shrink completed successfully
Service "cert_enroll" in vdc 1: pss shrink completed successfully
Service "ExceptionLog" in vdc 1: pss shrink completed successfully
Service "psshelper_gsvc" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "platform" in vdc 1: pss shrink completed successfully
Service "R2D2_usd" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "radius" in vdc 1: pss shrink completed successfully
Service "securityd" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "tacacs" in vdc 1: pss shrink completed successfully
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "isis_dce" in vdc 1: pss shrink request not sent
Service "isis_otv" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "isis_dce" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "isis_dce" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "eigrp" in vdc 1: pss shrink request not sent
Service "isis" in vdc 1: pss shrink request not sent
Service "isis_dce" in vdc 1: pss shrink request not sent
Service "ospf" in vdc 1: pss shrink request not sent
Service "ospfv3" in vdc 1: pss shrink request not sent
Service "rip" in vdc 1: pss shrink request not sent
Service "acllog" in vdc 1: pss shrink completed successfully
Service "aclmgr" in vdc 1: pss shrink completed successfully
Service "adjmgr" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "amt" in vdc 1: pss shrink request not sent
Service "arbiter" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "arp" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "ascii-cfg" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "babycaesar" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "bgp" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "bios_daemon" in vdc 1: pss shrink request not sent
Service "bootup_test" in vdc 1: pss shrink request not sent
Service "bootvar" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "callhome" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "capability" in vdc 1: pss shrink completed successfully
Service "cardclient" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "cdp" in vdc 1: pss shrink completed successfully
Service "cfs" in vdc 1: pss shrink completed successfully
Service "clis" in vdc 1: pss shrink not needed (defaultcb invoked)
Service "cmpproxy" in vdc 1: pss shrink completed successfully
Service "confcheck" in vdc 1: pss shrink completed successfully
Related Commands
Command
|
Description
|
show system pss shrink status
|
Displays the last PSS shrink status.
|
show system reset-reason
To display the reset-reason history for the modules on the device, use the show system reset-reason command.
show system reset-reason [module slot | xbar xbar-number]
Syntax Description
module slot
|
(Optional) Displays the restart reason for an I/O module or supervisor module.
|
xbar xbar-number
|
(Optional) Displays the restart reason for the fabric module.
|
Defaults
Displays the reset reasons for the supervisor modules.
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
You can use this command only in the default virtual device context (VDC).
This command does not require a license.
Examples
This example shows how to display the reset-reason history for the supervisor modules:
switch# show system reset-reason
----- reset reason for Supervisor-module 6 (from Supervisor in slot 6) ---
1) At 11151 usecs after Fri May 30 14:40:50 2008
Reason: Reset Requested by CLI command reload
2) At 171083 usecs after Wed May 28 11:40:49 2008
Reason: Reset Requested by CLI command reload
----- reset reason for Supervisor-module 5 (from Supervisor in slot 6) ---
Related Commands
Command
|
Description
|
clear system reset-reason
|
Clears the reset reason history for the device.
|
show system redundancy
To display the system redundancy status, use the show system redundancy command.
show system redundancy [ha] status
Syntax Description
ha
|
(Optional) Displays the virtual device context (VDC) redundancy status.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.0(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display the system redundancy status:
switch# show system redundancy status
Internal state: Active with no standby
Redundancy state: Not present
This example shows how to display the virtual device context (VDC) redundancy status:
switch# show system redundancy ha status
VDC No This supervisor Other supervisor
------ --------------- ---------------
vdc 1 Active with no standby N/A
vdc 2 Active with no standby N/A
vdc 3 Active with no standby N/A
Related Commands
Command
|
Description
|
system switchover
|
Switches over to the standby supervisor.
|
show system resources
To display the system resources, use the show system resources command.
show system resources
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 system resources:
switch(config)# show system resources
Load average: 1 minute: 0.00 5 minutes: 0.00 15 minutes: 0.0
Processes : 520 total, 1 running
CPU states : 0.0% user, 0.5% kernel, 99.5% idle
Memory usage: 4135616K total, 1642556K used, 2493060K free
1188K buffers, 731988K cache
Related Commands
Command
|
Description
|
show processes cpu
|
Displays the CPU utilization information for processes on the device.
|
show system standby manual-boot
To display the status of the system standby manual boot option, use the show system standby manual-boot command.
show system standby manual-boot
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 status of the system standby manual boot option:
switch(config)# show system standby manual-boot
system standby manual-boot option is enabled
Related Commands
Command
|
Description
|
system hap-reset
|
Enables the Supervisor Reset HA policy.
|
show system uptime
To display the amount of time since the last system upload, use the show system uptime command.
show system uptime
Syntax Description
This command has no arguments or keywords.
Defaults
Displays information for all features.
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 amount of time since the last system reload:
switch# show system uptime
System start time: Fri May 30 14:46:25 2008
System uptime: 16 days, 23 hours, 9 minutes, 22 seconds
Kernel uptime: 16 days, 23 hours, 13 minutes, 29 seconds
Active supervisor uptime: 16 days, 23 hours, 9 minutes, 22 seconds
show tech-support ascii-cfg
To display detailed information about the checkpoint feature, use the show tech-support ascii-cfg command.
show tech-support ascii-cfg
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 show the detailed information about the checkpoint feature:
switch# show tech-support ascii-cfg
`show checkpoint summary`
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
stable admin Tue May 27 13:19:24 2008
-------------------------------------------------------------------------------
power redundancy-mode combined force
Related Commands
Command
|
Description
|
show checkpoint
|
Displays the contents of the checkpoint file.
|
show tech-support cfs
To display information about the Cisco Fabric Services (CFS) configuration required by technical support, use the show tech-support cfs command.
show tech-support cfs {commands | [name application_name {commands}]}
Syntax Description
commands
|
Displays all related CFS commands for use when working with technical support on a CFS issue.
|
name application_name
|
Displays information about the CFS configuration required by technical support for a specific application.
|
Defaults
None
Command Modes
Any command mode
Supported User Roles
network-admin
network-operator
vdc-admin
vdc-operator
Command History
Release
|
Modification
|
4.1(2)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display information about the CFS configuration required by technical support:
switch# show tech-support cfs
----------------------------------------------
Application Enabled Scope
----------------------------------------------
callhome Yes Physical-fc-ip
Total number of entries = 8
-------------------------------------------------------------------------
-------------------------------------------------------------------------
20:00:00:22:55:79:a4:c1 172.28.230.85 [Local]
Total number of entries = 1
Distribution over IP : Enabled - mode IPv4
IPv4 multicast address : 239.255.70.83
IPv6 multicast address : ff15::efff:4653
Distribution over Ethernet : Disabled`show cfs internal event-history errors`
Mon Dec 22 12:24:42 2008 :
Sending over network failed, retval ffffffff, errno 113 [No route to host]
Msg ID: [6e:00:00:00:c0:e0:ff:bf:0:1]
vsan: 4097, IP addr: 0.0.0.0
Total number of entries = 8
Related Commands
Command
|
Description
|
show application_name session status
|
Displays the CFS configuration session status for the application, including the last action, the result, and the reason if there was a failure.
|
show cfs internal
|
Displays information internal to CFS including memory statistics, event history, and so on.
|
show cfs lock
|
Displays all active CFS fabric locks.
|
show cfs merge status name
|
Displays the merge status for a given CFS application.
|
show cfs peers
|
Displays all the CFS peers in the physical fabric.
|
show cfs regions
|
Displays all the CFS applications with peers and region information.
|
show cfs static
|
Displays all CFS static peers with their status.
|
show cfs status
|
Displays the status of CFS distribution on the device as well as IP distribution information.
|
show tech-support session-mgr
To display detailed information about the session manager, which controls configuration sessions, use the show tech-support session-mgr command.
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
Use the show tech-support session-mgr command to gather information about the session manager for troubleshooting purposes. This command displays detailed information about the session manager. The output should be saved to a file and included in any support requests for the session manager.
This command does not require a license.
Examples
This example shows how to save the output of the show tech-support session-mgr command to a file:
switch# show tech-support session-mgr > bootflash:output
Related Commands
Command
|
Description
|
show configuration session
|
Displays information about the configuration sessions.
|
show tech-support snmp
To display detailed technical support information for Simple Network Management Protocol (SNMP), use the show tech-support snmp command.
show tech-support snmp
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
Use the show tech-support snmp command to gather information about SNMP for troubleshooting purposes. This command displays detailed information about SNMP. The output should be saved to a file and included in any support requests for SNMP.
This command does not require a license.
Examples
This example shows how to save the output of the show tech-support snmp command to a file.
switch# show tech-support snmp > bootflash:output
Related Commands
Command
|
Description
|
snmp-server community
|
Configures SNMP community strings.
|
show xml server status
To display information about the status of the XML server, use the show xml server status command.
show xml server 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 information about the status of the XML server:
switch(config)# show xml server status
operational status is enabled
maximum session configured is 8