Page 1
Cisco Nexus 7000 Series NX-OS System Management Command Reference August 2013 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices. Text Part Number: OL-25806-03...
Page 2
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.
Page 3
SM-14 action syslog SM-15 alert-group SM-17 B Commands SM-19 blink SM-20 C Commands SM-23 callhome SM-24 callhome send SM-26 callhome test SM-27 cdp advertise SM-28 cdp enable SM-29 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 7
SM-223 logging module SM-225 logging monitor SM-227 logging server SM-229 logging source-interface SM-231 logging timestamp SM-232 M Commands SM-233 match datalink SM-234 match ip SM-236 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 8
O Commands SM-277 option exporter-stats timeout SM-278 option interface-table timeout SM-279 option sampler-table timeout SM-280 P Commands SM-281 port-monitor activate SM-282 port-monitor enable SM-283 port-monitor name SM-284 port-type SM-285 Cisco Nexus 7000 Series NX-OS System Management Command Reference viii OL-25806-03...
Page 9
S Commands SM-325 sampler SM-326 save SM-328 scheduler SM-329 shut SM-332 snmp-server aaa-user cache-timeout SM-333 snmp-server community SM-334 snmp-server contact SM-336 snmp-server context SM-337 snmp-server enable traps SM-339 snmp-server globalEnforcePriv SM-343 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 10
SM-378 system switchover SM-380 system trace SM-381 system watchdog SM-382 system watchdog kgdb SM-383 Show Commands SM-385 show callhome SM-386 show callhome transport SM-388 show cdp SM-390 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 11
SM-433 show event manager system-policy SM-434 show flow exporter SM-436 show flow interface SM-438 show flow monitor SM-440 show flow record SM-446 show flow timeout SM-448 show hardware feature-capability SM-449 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 12
SM-490 show logging onboard SM-497 show logging server SM-499 show logging session status SM-500 show logging status SM-501 show logging timestamp SM-502 show module SM-503 show monitor SM-506 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 13
SM-546 show ptp clock SM-548 show ptp clocks foreign-masters-record SM-550 show ptp corrections SM-552 show ptp parent SM-554 show ptp port SM-556 show ptp time-property SM-558 Cisco Nexus 7000 Series NX-OS System Management Command Reference xiii OL-25806-03...
Page 14
SM-604 show startup-config ntp SM-606 show startup-config snmp SM-608 show system cores SM-610 show system error-id SM-611 show system memory-status SM-612 show system pss shrink status SM-613 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 15
SM-645 version 9 SM-646 SM-648 X Commands SM-651 xml server max-session SM-652 xml server terminate session SM-653 xml server timeout SM-654 xml server validate SM-655 System Message Logging Facilities SM-657 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 16
Contents Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 17
Preface This preface describes the audience, organization, and conventions of the Cisco Nexus 7000 Series NX-OS System Management Command Reference and how to obtain related documentation. This chapter includes the following sections: • Audience, page xvii Organization, page xvii •...
Command descriptions use these conventions: Convention Description boldface font Commands and keywords are in boldface. italic font Arguments for which you supply values are in italics. Elements in square brackets are optional. Cisco Nexus 7000 Series NX-OS System Management Command Reference xviii OL-25806-03...
What’s New in Cisco Product Documentation at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html. Subscribe to What’s New in Cisco Product Documentation, which lists all new and revised Cisco technical documentation, as an RSS feed and deliver content directly to your desktop using a reader application. The RSS feeds are a free service.
Page 22
Preface Cisco Nexus 7000 Series NX-OS System Management Command Reference xxii OL-25806-03...
7000 Series NX-OS System Management Command Reference. The latest version of this document is available at the following Cisco website: http://www.cisco.com/en/US/docs/switches/datacenter/sw/6_0/nx-os/system_management/command/r eference/sm_nx_os_book.html To check for additional information about Cisco NX-OS Release 6.0, see the Cisco NX-OS Release Notes available at the following Cisco website: http://www.cisco.com/en/US/docs/switches/datacenter/sw/6_0/nx-os/release/notes/6x_nx-os_release_n ote.html...
Page 24
Cisco NX-OS 6.1(1) 6.1(1) ptp source release. show monitor session Changed the command output for erspan-source 6.1(1) show monitor session sessions. Cisco Nexus 7000 Series NX-OS System Management Command Reference xxiv OL-25806-03...
Page 25
SPAN session and the ability to rate-limit configure MTU truncation and the multicast best effort mode for each ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 26
• switchport port-security aging time • switchport port-security aging type • switchport port-security mac-address • switchport port-security mac-address • sticky switchport port-security maximum • switchport port-security violation • Cisco Nexus 7000 Series NX-OS System Management Command Reference xxvi OL-25806-03...
Page 27
(Call home) distribute show cfs application show cfs lock show cfs merge status show cfs peers show cfs regions show cfs status show tech-support cfs Cisco Nexus 7000 Series NX-OS System Management Command Reference xxvii OL-25806-03...
Page 28
Instance Support network entity mapping, including protocol instances and virtual routing and forwarding (VRF) instances. New NetFlow show Adds commands to view NetFlow hardware 4.0(2) Show Commands commands flows. Cisco Nexus 7000 Series NX-OS System Management Command Reference xxviii OL-25806-03...
Page 29
A Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter A. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 30
A Commands abort (Call home) abort (Call home) To delete a Call home Cisco Fabric Services (CFS) configuration session without applying the configuration, use the abort command. abort Syntax Description This command has no arguments or keywords. Defaults None Command Modes...
Page 31
Displays the status of the current CFS configuration session, including the session last action and its result. show configuration Displays a summary of the configuration session. session summary Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
1.1 cli callhome send eem subject "port down" body "acme port is down" switch(config-applet)# Related Commands Command Description event manager applet Registers an applet with the Embedded Event Manager (EEM). Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 34
This example shows how to set the counter count1 to the value in $variable when the EEM counter-applet is triggered: switch# configure terminal switch(config)# event manager applet counter-applet switch(config-applet)# action 1.2 counter name count1 value $variable op dec switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 35
This example shows how to specify that the default action for the event is to be performed when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet default-applet switch(config-applet)# action 1.15 event-default switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 36
Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a forced shutdown of module 4 when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet forceshut-applet switch(config-applet)# action 1.3 forceshut module 4 reset-reason “module 4 failed” switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 40
This example shows how to configure a power overbudget shutdown of module 4 when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet overbudget-applet switch(config-applet)# action 1.4 overbudgetshut module 4 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 41
This example shows how to enable the default action of a policy being overridden when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet default-applet switch(config-applet)# action 1.65 policy-default switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify the action of reloading the switch software when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet reload-applet switch(config-applet)# action 1.5 reload switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 43
This example shows how to specify an SNMP trap to generate when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet snmp-applet switch(config-applet)# action 1.7 snmp-trap strdata "EEM detected server failure" switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
If the string contains embedded blanks, enclose it in double quotation marks. Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 45
This example shows how to configure a syslog message to save when an EEM applet is triggered: switch# configure terminal switch(config)# event manager applet syslog-applet switch(config-applet)# action 1.7 syslog priority critical msg "Syslog condition: $log" switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 46
Specifies events related to software. Test Specifies events related to tests. user-def-cmd Configures a valid CLI command for the alert group. cli_command Defaults None Command Modes Call home configuration Supported User Roles network-admin vdc-admin Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 47
Description callhome Enters the Call home configuration mode. callhome distribute Enables CFS distribution of the Call home configuration. show callhome Displays one or more Call home destination profiles. destination-profile name Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 48
A Commands alert-group Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 49
B Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter B. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 50
To blink the LED on the system, use the blink command. To restore the default LED state, use the no form of this command. Beginning with Cisco NX-OS Release 4.1(2), the blink command is not available in Cisco NX-OS Note software.
Page 51
Examples This example blinks the LED for module 4: switch# blink module 4 Related Commands Command Description show locator-led status Displays the status of locator LEDs on the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 52
All collected logs are in binary format and must be parsed into ASCII format using DeBlogger. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 53
Sending Enable Request to Bloggerd Bloggerd Log Dump Successfuly enabled Related Commands Command Description bloggerd log-transfer Enables the transfer of application logs. bloggerd parse Parses the log buffers using DeBlogger. log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 54
This example shows how to enable a log dump and transfer of log files on the device: switch(config)# bloggerd log-dump all Sending Enable Request to Bloggerd Bloggerd Log Dump Successfuly enabled switch(config)# bloggerd log-transfer 10.10.10.1 /cisco_blogger/ Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 55
B Commands bloggerd log-transfer Related Commands Command Description bloggerd log-dump Enables threshold-based log dumps. bloggerd parse Parses the log buffers using DeBlogger. log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 56
You can use the bloggerd parse log-buffer command to parse logs from binary to ASCII format. We recommend that you use BloggerD only with TAC supervision. Note This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 57
VDC ID: 1 APP UUID: 0 Buffer UUID: 404 Buffer Instance: 1 Related Commands Command Description bloggerd log-dump Enables threshold-based log dumps. bloggerd log-transfer Enables the transfer of application logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 58
B Commands bloggerd parse log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 59
C Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter C. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 60
Specifies the priority number for this device. destination-profile Creates and configures a Call home destination profile. enable Enables Call home. By default, Call home is disabled. callhome test Sends a test message to all configured destinations. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 61
C Commands callhome callhome send Sends the specified Call home test message to all configured destinations. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description callhome Enters the Call home configuration mode. callhome test Sends a test message to all configured Call home destinations. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Description callhome Enters the Call home configuration mode. callhome send Sends a configuration or diagnostic message to all configured Call home destinations. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 64
C Commands cdp advertise cdp advertise To configure the Cisco Discovery Protocol (CDP) version supported by the device, use the cdp advertise command. To remove the CDP configuration, use the no form of this command. cdp advertise {v1 | v2}...
C Commands cdp enable cdp enable To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp enable command. To disable CDP, use the no form of this command. cdp enable no cdp enable Syntax Description This command has no arguments or keywords.
To configure a device ID format for Cisco Discovery Protocol (CDP), use the cdp format device-id command. To remove the device ID format, use the no form of this command. cdp format device-id {mac-address | serial-number | system-name}...
C Commands cdp holdtime cdp holdtime To configure the time that Cisco Discovery Protocol (CDP) holds onto neighbor information before refreshing it, use the cdp holdtime command. To remove the CDP hold time, use the no form of this command.
C Commands cdp timer cdp timer To configure the Cisco Discovery Protocol (CDP) refresh time interval, use the cdp timer command. To remove the CDP refresh time interval configuration, use the no form of this command. cdp timer seconds no cdp timer seconds...
To globally enable Cisco Fabric Services (CFS) distribution for the device, use the cfs distribute command. To disable CFS distribution, use the no form of this command. To remove the CFS configuration, use the no form of this command.
C Commands cfs eth cfs eth To globally configure the device to use Ethernet to distribute changes for all Cisco Fabric Services (CFS)-enabled applications, use the cfs eth command. To remove the CFS configuration, use the no form of this command.
C Commands cfs ipv4 cfs ipv4 To globally configure the device to use IPv4 to distribute changes for all Cisco Fabric Services (CFS)-enabled applications, use the cfs ipv4 command. To remove the CFS configuration, use the no form of this command.
Page 72
Enables distribution for the specified application, such as RADIUS. distribute show application_name Displays the status of the specified application, such as RADIUS, including status whether CFS distribution is enabled for the application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
To create a Cisco Fabric Services (CFS) region that limits the distribution scope of an application, use the cfs region command. To remove the region or the application, use the no form of this command. cfs region region_id...
Page 74
Enables distribution for the specified application, such as NTP. distribute show application_name Displays the status of the specified application, such as NTP, including status whether CFS distribution is enabled for the application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command History Release Modification 4.0(3) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to check compactFlash: switch# check logflash Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines If you use the checkpoint command without a name, Cisco NX-OS creates the file with the name auto-x, where x is a decimal number that increases each time you create an unnamed checkpoint file.
Page 77
C Commands checkpoint switch# Related Commands Command Description clear checkpoint Displays the contents of the checkpoint file. database Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
C Commands clear callhome session clear callhome session To clear a Call home Cisco Fabric Services (CFS) distribution session, use the clear callhome session command. clear callhome session Syntax Description This command has no arguments or keywords. Defaults None Command Modes...
C Commands clear cdp clear cdp To clear Cisco Discovery Protocol (CDP) statistics on an interface, use the clear cdp command. clear cdp {counters [interface interface] | table [interface interface]} Syntax Description counters Clears CDP counters on all interfaces. interface (Optional) Clears CDP counters on an interface.
This example shows how to clear the checkpoint database: switch# clear checkpoint database Processing the Request... Please Wait ..Done switch# Related Commands Command Description show checkpoint Displays the contents of the checkpoint file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to clear the core on the logflash file system: switch# clear cores archive Related Commands Command Description show system cores Displays the core filename. system cores Configures the core filename. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
NFC-DC-PHOENIX switch# Related Commands Command Description clear flow exporter Clears the statistics for exporters. flow exporter Creates a flow exporter. show flow exporter Displays flow exporter status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
CPU utilization. Use the clear flow monitor monitor-name statistics command to clear the statistics and cache entries for this flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 84
NFC-DC-PHOENIX statistics switch# Related Commands Command Description clear flow monitor Clears the flow monitor. flow monitor Creates a flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Usage Guidelines This command does not require a license. Examples This example shows how to clear the NetFlow hardware IP flow: switch(config)# clear hardware flow ip module 8 ethernet 2/1 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 86
C Commands clear hardware flow ip Related Commands Command Description show hardware flow Displays information about NetFlow hardware IP / IPV6 flows. {ip | ipv6} Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to clear all the entries from the OAL cache and send them to the syslog: switch# clear logging ip access-list cache switch# Related Commands Command Description show logging ip Displays the logging status for IP access lists. access-list Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to clear messages from the logging file: switch# clear logging logfile switch# Related Commands Command Description show logging logfile Displays the logs in the local log file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to clear the NVRAM logs: switch# clear logging nvram switch# Related Commands Command Description show logging nvram Displays the NVRAM logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to clear the OBFL environmental history entries: switch# clear logging onboard environmental-history switch# This example shows how to clear the OBFL error statistics: switch# clear logging onboard error-stats switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 91
This example shows how to clear the OBFL stack trace entries: switch# clear logging onboard stack-trace switch# Related Commands Command Description hw-module logging onboard Enables OBFL based on the error type. show logging onboard Displays onboard failure logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to clear the current logging session: switch# clear logging session switch# Related Commands Command Description show logging session Displays the logging session status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Release Modification 4.2(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to clear the NTP session: switch(config)# clear ntp session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to clear statistics for all NTP peers: switch(config)# clear ntp statistics all-peers Related Commands Command Description show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to clear NVRAM: switch(config)# clear nvram Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify a forced export of the cleared data to a collector: switch# clear platform flow ip forced-export switch# This example shows how to clear the NetFlow statistics for a module: switch# clear platform flow ip module 2 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 97
Command Description flow exporter Creates a flow exporter. clear flow monitor Clears the flow monitor. flow monitor Creates a flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to delete a log file on a log flash: switch(config)# clear processes log archive switch(config)# Related Commands Command Description show processes log Displays the contents of the process log. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to delete RMON tables: switch(config)# clear rmon alarms switch(config)# Related Commands Command Description clear snmp counters Deletes SNMP counters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to clear the internal state for a configuration session: switch# clear session state name myACLs Related Commands Command Description show configuration Displays information about the configuration sessions. session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to delete SNMP counters: switch(config)# clear snmp counters switch(config)# Related Commands Command Description show snmp sessions Displays information about SNMP sessions. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to delete the SNMP host configuration: switch(config)# clear snmp hostconfig switch(config)# Related Commands Command Description show snmp sessions Displays SNMP sessions. clear snmp counters Deletes SNMP counters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to clear the device reset-reason history: switch# clear system reset-reason Related Commands Command Description show system reset-reason Displays the device reset-reason history. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Use the collect counter packets long command to configure a 64-bit counter that is incremented for each packet seen in the flow. It is unlikely that a 64-bit counter will ever wrap. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 105
Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
The option sampler-table command exports option records with mappings of the flow sampler ID to the sampling rate so that the collector can calculate the scaled counters for each flow. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 107
Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure the input interface as a nonkey field and collect the output interface value: switch(config)# flow record FLOW-RECORD-1 switch(config-flow-record)# collect interface output Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 109
Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Defaults This command is not enabled by default. Command Modes Flow record configuration Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 111
This example shows how to configure the value in the traffic index field based on the source AS for a flow as a nonkey field and collects the value in the traffic index field value: switch(config)# flow record FLOW-RECORD-1 switch(config-flow-record)# collect routing source traffic-index Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 112
Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
FLOW-RECORD-1 switch(config-flow-record)# collect timestamp sys-uptime first Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 114
Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the counters as a nonkey field and collects the counter values. collect flow Configures flow identifying fields as nonkey fields and collects their values. collect interface Configures the input or output interface as a nonkey field and collects the values. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 116
Configures a time stamp field as a key field. match transport Configures one or more of the transport fields as key fields. show flow record Displays the flow record status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
C Commands commit (Call home) commit (Call home) To distribute a Cisco Fabric Services (CFS) configuration, use the commit command. commit Syntax Description This command has no arguments or keywords Defaults None Command Modes Call home configuration Supported User Roles...
Page 118
Deletes the CFS session. show cfs application Displays the applications that are currently CFS-enabled. show application_name Displays information about the CFS configuration session status for an session status application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Description abort Deletes the session and exists session configuration mode. exit Exits session configuration mode without committing the commands. show configuration Displays information about the Session Manager configuration session. session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to create an ACL configuration session: switch# configure session myACLs switch(config-s)# Related Commands Command Description show configuration Displays information about the Session Manager configuration sessions. session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Specifies the service agreement customer number for this device. site-id Specifies the site ID number for this device. switch-priority Specifies the priority number for this device. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 123
This command does not require a license. Examples This example shows how to configure an SNMP counter: switch(config) port-monitor name PM1 switch(config-port-monitor)# counter invalid-crc poll-interval 30 absolute rising-threshold 10000000 event 100 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 124
This example shows how to remove an SNMP counter configuration: switch(config)# no counter invalid-crc poll-interval 30 absolute rising-threshold 10000000 event 100 switch(config-port-monitor)# Related Commands Command Description monitor counter Configures a monitor counter. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Specifies the service agreement contract number for this device. site-id Specifies the site ID number for this device. switch-priority Specifies the priority number for this device. show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 126
C Commands customer-id Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
D Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter D. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
1.2 counter name count1 value $variable op dec Switch(config-applet)# description “counter policy for acme” switch(config-applet)# Related Commands Command Description show event manager Displays information about the configured EEM policy. policy Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
NetFlow-Record-1 switch(config-flow-record)# description Custom-Flow-Record-1 switch(config-flow-record)# This example shows how to remove the description: switch(config-flow-record)# no description Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
NetFlow-Monitor-1 switch(config-flow-monitor)# description Custom-Monitor-1 switch(config-flow-monitor)# This example shows how to remove the description: switch(config-flow-monitor)# no description Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Netflow-Exporter-1 switch(config-flow-exporter)# description Custom-Exporter-1 switch(config-flow-exporter) This example shows how to remove the description: switch(config-flow-exporter)# no description switch(config-flow-exporter) Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to add a description to a NetFlow sampler: switch(config)# sampler Netflow-Sampler-1 switch(config-flow-sampler)# description Custom-Sampler-1 switch(config-flow-sampler)# This example shows how to remove the description: switch(config-flow-sampler)# no description Related Commands Command Description show sampler Displays information about NetFlow samplers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description monitor session Places you into the Monitor configuration mode for configuring a SPAN session. show monitor session Displays the specified SPAN or ERSPAN session configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Flow exporter NetFlow-Exporter-1 switch(config-flow-exporter)# destination 192.168.11.2 switch(config-flow-exporter)# This example shows how to remove the destination: switch(config-flow-exporter)# no destination Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
3 switch(config-monitor)# destination interface ethernet 2/5, ethernet 3/7 Related Commands Command Description monitor session Places you into the Monitor configuration mode for configuring a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 136
(SPAN) Command Description show monitor session Displays the specified SPAN or ERSPAN session configuration. description Adds a comment or a description of up to 32 characters to a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines Cisco NX-OS includes the following predefined destination profiles: CiscoTAC-1—Supports the Cisco-TAC alert group in XML message format. This profile is • preconfigured with the callhome@cisco.com e-mail contact, maximum message size, and message severity level 0. You cannot change any of the default information for this profile.
Page 138
D Commands destination-profile Related Commands Command Description show callhome Displays the specified Call home destination profile. destination-profile name show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
To remove an alert group, use the no form of this command. destination-profile profile_name alert-group {All | Configuration | Diagnostic | EEM | Cisco-TAC | Environmental | Inventory | License | Linecard-Hardware | Supervisor-Hardware | Syslog-group-port | System | Test}...
Page 140
Noc101 Noc101 destination profile information maximum message size:2500000 message format:XML message-level:0 email addresses configured: alert groups configured: Related Commands Command Description show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Noc101 email-addr jdoe@callhome.com switch(config-callhome)# show callhome destination-profile profile Noc101 Noc101 destination profile information maximum message size:2500000 message format:XML message-level:0 email addresses configured: jdoe@callhome.com alert groups configured: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 142
D Commands destination-profile email-addr Related Commands Command Description show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a message format for sending messages to a Call home destination: switch(config-callhome)# destination-profile acme_destination format full-txt Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a URL for a Call home destination: switch(config-callhome)# destination-profile acme_destination http http://my_url,com/callhome Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify that messages with a severity level 5 or higher are sent to a Call home destination: switch(config-callhome)# destination-profile acme_destination message-level 5 Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a maximum message size of 100000 for messages sent to a Call home destination: switch(config-callhome)# destination-profile acme_destination message-size 100000 Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify HTTP for transporting Call home messages to a destination: switch(config-callhome)# destination-profile acme_destination transport-method http switch(config-callhome)# Related Commands Command Description show callhome Displays a Call home destination profiles. destination-profile show callhome Displays the Call home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Examples This example shows how to configure the diagnostic bootup level: switch(config)# diagnostic bootup level bypass switch# Related Commands Command Description show diagnostic bootup Displays the diagnostic bootup level. level Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to clear a diagnostic test result: switch# diagnostic clear result module 6 test 6 Related Commands Command Description show diagnostic result Displays a diagnostic test result for a specified test. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a diagnostic monitoring test interval on a module: switch(config)# diagnostic monitor interval module 1 test 5 hour 10 min 30 sec 0 switch(config)# This example shows how to remove a diagnostic monitoring test interval from a module: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 151
1 test 5 hour 10 min 30 sec 0 switch(config)# Related Commands Command Description show running-config Displays the running-configuration diagnostics. diagnostic diagnostic monitor Configures a diagnostic monitor test. module Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a diagnostic monitor test: switch(config)# diagnostic monitor module 1 test all switch(config)# This example shows how to remove a diagnostic monitor test: switch(config)# no diagnostic monitor module 1 test all switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 153
D Commands diagnostic monitor module Related Commands Command Description show startup-config Displays the startup-configuration diagnostics. diagnostic show running-config Displays the running-configuration diagnostics. diagnostic Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure the action if the on-demand test fails: switch# diagnostic ondemand action-on-failure continue failure-count 992 switch# Related Commands Command Description show diagnostic Displays information about on-demand tests. ondemand Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure the number of times that the on-demand test runs: switch# diagnostic ondemand iteration 992 Related Commands Command Description show diagnostic Displays information about on-demand tests. ondemand Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Examples This example shows how to start the on-demand diagnostic test for a module: switch# diagnostic start module 6 test all Related Commands Command Description diagnostic stop Stops on-demand diagnostics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to stop one or more diagnostic tests on a module: switch# diagnostic stop module 6 test all switch# Related Commands Command Description diagnostic start Starts one or more diagnostic tests. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to simulate a test result: switch# diagnostic test simulation module 2 test 2 fail switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 159
D Commands diagnostic test simulation Related Commands Command Description diagnostic test Clears a diagnostic test simulation. simulation clear Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to clear the diagnostic test simulation: switch# diagnostic test simulation module 2 test 2 clear switch# Related Commands Command Description diagnostic test Simulates a diagnostic test. simulation Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
D Commands distribute distribute To enable Cisco Fabric Service (CFS) to distribute configurations, use the distribute command. To disable distribution, use the no form of this command. distribute [radius | tacacs+] no distribute Syntax Description radius (Optional) Specifies CFS to distribute RADIUS configurations.
Page 162
Command Description show cfs status Displays the CFS distribution status. Specifies a CFS distribution mode. cfs region Creates a CFS distribution region that limits the distribution scope of an application. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Flow exporter Custom-NetFlow-Exporter-1 switch(config-flow-exporter)# dscp 32 switch(config-flow-exporter)# This example shows how to remove the DSCP parameter: switch(config-flow-exporter)# no dscp switch(config-flow-exporter) Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 164
D Commands dscp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
E Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter E. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the IP time-to-live (TTL) value of the ERSPAN traffic. Configures the VRF for ERSPAN traffic forwarding. monitor-session Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
(Optional) Saves the captured information to the configured location. The location can be any case-sensitive, alphanumeric string up to 64 characters. brief (Optional) Displays the protocol summary of the captured packets. Defaults No packets captured. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 168
Added the option capture-ring-buffer to the syntax description. 4.0(1) This command was introduced. Usage Guidelines Cisco Ethanalyzer is based on the Wireshark open source code. This command does not require a license. Examples This example shows how to capture all packets on the mgmt 0 port:...
Modification 4.0(1) This command was introduced. Usage Guidelines Cisco Ethanalyzer is based on the Wireshark open source code. This command does not require a license. Examples This example shows how to capture all packets on the mgmt 0 port: switch# ethanalyzer local read bootflash:test-mgmt0...
To specify the event criteria for an Embedded event manager (EEM) applet that is run by matching a Cisco NX-OS command-line interface (CLI) command, use the event cli command. To remove the CLI command event criteria, use the no form of this command.
Page 171
This example shows how to specify a CLI command for the EEM applet to match: switch# configure terminal switch(config)# event manager applet eventcli-applet switch(config-applet)# event cli match "write memory.*" time 13 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
• ne—Not equal to lt—Less than • le—Less than or equal to • If there is a match, an event is triggered and event monitoring is reenabled. Defaults None Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 173
This example shows how to specify an event criteria for an EEM applet that is run when the defined critical_errors counter exceeds the entry value: switch# configure terminal switch(config)# event manager applet eventcntr-applet switch(config-applet)# event counter name critical_errors entry-val 3 entry-op gt switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify that an EEM applet runs when a fan absent event occurs: switch# configure terminal switch(config)# event manager applet absent-applet switch(config-applet)# event fanabsent time 42 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify that an EEM applet runs when a fan bad event occurs: switch# configure terminal switch(config)# event manager applet bad-applet switch(config-applet)# event fanbad time 42 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Specifies the event criteria based on consecutive test failure information from GOLD. Defaults None Command Modes Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 177
This example shows how to specify that an EEM applet runs when a new GOLD failure event occurs for any module: switch# configure terminal switch(config)# event manager applet gold-match switch(config-applet)# event gold module all test atBoot testing-type bootup switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to register an applet with EEM and to enter applet configuration mode: switch# configure terminal switch(config)# event manager applet eem-applet switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to clear an EEM counter: switch# configure terminal switch(config)# event manager clear counter eem-counter switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to clear all of the EEM event history: switch# configure terminal switch(config)# event manager clear history events switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to set an EEM environment variable: switch# configure terminal switch(config)# event manager environment _cron_entry 0-59/2 0-23/1 * * 0-7 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
When the event manager policy command is invoked, the EEM examines the policy and registers it to be run when the specified event occurs. Examples This example shows how to register a policy: switch# configure terminal switch(config)# event manager policy fanpolicy.vsh switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Usage Guidelines This command does not require a license. Examples This example shows how to manually run a registered EEM policy: switch# configure terminal switch(config)# event manager run fanpolicy.vsh switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
The range is from 0 to 4294967295. time interval (Optional) Specifies the time interval (in seconds) within which the events need to happen. The range is from 0 to 4294967295. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 185
This example shows how to specify that an EEM applet runs when a module failure event occurs: switch# configure terminal switch(config)# event manager applet modfail-applet switch(config-applet)# event module-failure type unexpected-registration module 6 count 2 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
EVM1 switch(config-applet)# event module status any module 10 switch(config-applet)# This example shows how to remove the status event configuration: switch(config-applet)# no event module status any module 10 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 187
Related Commands Command Description event manager applet Registers an applet with the Embedded Event Manager (EEM). event manager policy Registers an Embedded Event Manager (EEM) policy with the EEM. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 5.2.(1) Added the tag tag keywords. 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 189
This example shows how to specify that an EEM applet be run on the basis of an event raised when a module OIR occurs: switch# configure terminal switch(config)# event manager applet oir-applet switch(config-applet)# event oir module anyoir switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to use the event in the system policy being overridden: switch# configure terminal switch(config)# event policy-default count 6 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
• lt—Less than • le—Less than or equal to • If there is a match, an event is triggered and event monitoring is disabled until the exit criteria are met. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 192
Embedded event manager Supported User Roles network-admin vdc-admin Command History Release Modification 5.2.(1) Added the tag tag keywords. 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 193
This example shows how to specify the event criteria for an EEM applet that is run by sampling SNMP object identifier values: switch# configure terminal switch(config)# event manager applet snmp-applet switch(config-applet)# event snmp oid 4.2.1.6 get-type next entry-op eq entry-val 42 poll-interval 2 switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Examples This example shows how to specify that an EEM applet runs when a storm control event occurs: switch# configure terminal switch(config)# event manager applet storm-applet switch(config-applet)# event storm-control switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
To configure Cisco NX-OS Embedded Event Manager (EEM) to monitor an event, use the event syslog command. To remove the syslog configuration, use the no form of this command. event syslog [ tag tag] [occurs | pattern msg-text | period | priority [0-7 | emergencies | alerts |...
Page 196
10 pattern "authentication failed" Configuration accepted successfully Related Commands Command Description action syslog Configures a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify that an EEM applet runs when a temperature event occurs: switch# configure terminal switch(config)# event manager applet temp-applet switch(config-applet)# event temperature threshold major switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify that an EEM applet runs when the state of a tracked object changes: switch# configure terminal switch(config)# event manager applet tracking-applet switch(config-applet)# event track 42 state down switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 199
E Commands event track Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Custom-Flow-Monitor-1 switch(config-flow-monitor)# exporter Custom-Flow-Exporter-1 switch(config-flow-monitor)# This example shows how to remove a NetFlow exporter: switch(config-flow-monitor)# no exporter Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
F Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter F. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Make sure that you are in the correct virtual device context (VDC). To switch VDCs, use the switchto vdc command. This command does not require a license. Examples This example shows how to enable the LLDP feature globally: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 203
Jan 11 01:50:33 switch %FEATURE-MGR-2-FM_AUTOCKPT_IN_PROGRESS: AutoCheckpoint system-fm-lldp's creation in progress... 2010 Jan 21 01:50:34 switch %FEATURE-MGR-2-FM_AUTOCKPT_SUCCEEDED: AutoCheckpoint created successfully switch(config)# Related Commands Command Description show running-config Displays the global LLDP configuration. lldp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to enable NetFlow on a Cisco NX-OS device: switch(config)# configure terminal switch(config)# feature netflow switch(config)# This example shows how to disable NetFlow on a Cisco NX-OS device:...
This example shows how to enable NTP on a VDC: switch# configure terminal switch(config)# feature ntp This example shows how to disable NTP on a VDC: switch# configure terminal switch(config)# no feature ntp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 206
F Commands feature ntp Related Commands Command Description ntp master Configures the device to act as an authoritative NTP server. ntp enable Enables the NTP feature on a VDC. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the source IP address for all PTP packets. ptp domain Configures the domain number to use for this clock. ptp priority1 Configures the priority1 value to use when advertising this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 208
Description ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the scheduler: switch# config t switch(config)# no feature scheduler switch(config)# Related Commands Command Description scheduler Creates and schedules maintenance jobs. show scheduler Displays scheduler information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 210
(Optional) Specifies a that a filter based on trace-route packets is used. false (Optional) Specifies a filter based on non trace-route packets. Defaults None Command Modes config-erspan-src mode Supported User Roles network-admin VDC-admin Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 211
3 type erspan-source switch(config-erspan-src)# filter vlan 3-5 switch(config-erspan-src)# filter trace-route true Related Commands Command Description filter (SPAN) Configures the filters for a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 212
(Optional) Specifies a filter based on non trace-route packets. Defaults None Command Modes Config-monitor configuration mode (config-monitor) Supported User Roles network-admin VDC-admin Command History Release Modification 6.2(2) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 213
3-5 switch(config-monitor)# filter trace-route true Related Commands Command Description filter (ERSPAN) Configures the filters for an ERSPAN session. show monitor session Displays information about a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Only the permit to deny actions are allowed for Encapsulated Remote Switched Port Analyzer (ERSPAN) access control list (ACL) filters. For information about ACL-related commands, see the Cisco Nexus 7000 Series NX-OS Security Command Reference. This command does not require a license.
Page 215
F Commands filter access-group Related Commands Command Description filter vlan Applies a VLAN filter to a session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 216
This command does not require a license. Examples This example shows how to configure the ARP frame type filter for the ERSPAN session: switch(config)# monitor session 1 type erspan-source switch(config-erspan-src)# filter frame-type arp arp-rarp arp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 217
Configures the IPv6 frame type filter for the SPAN or ERSPAN session. monitor session Places you in the monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 218
Configures the FCoE frame type filter for the SPAN or ERSPAN session. filter frame-type ipv4 Configures the IPv4 frame type filter for the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 219
Configures the IPv6 frame type filter for the SPAN or ERSPAN session. monitor session Places you in the monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 220
This command does not require a license. Examples This example shows how to configure the FCoE frame type filter for a SPAN session: switch(config)# monitor session 1 switch(config-monitor)# filter frame-type fcoe Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 221
Configures the IPv6 frame type filter for the SPAN or ERSPAN session. monitor session Places you in the monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 222
3 This example shows how to configure the IPv4 frame type filter for an ERSPAN session: switch(config)# monitor session 1 type erspan-source switch(config-erspan-src)# filter frame-type ipv4 l4-protocol 3 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 223
Configures the FCoE frame type filter for the SPAN or ERSPAN session. filter frame-type ipv6 Configures the IPv6 frame type filter for the SPAN or ERSPAN session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 224
10.0.0.1 This example shows how to configure the IPv6 frame type filter for an ERSPAN session: switch(config)# monitor session 1 type erspan-source switch(config-erspan-src)# filter frame-type ipv6 src-ip 10.0.0.1 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 225
Configures the FCoE frame type filter for the SPAN or ERSPAN session. filter frame-type ipv4 Configures the IPv4 frame type filter for the SPAN or ERSPAN session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
5-10 include-untagged switch(config-monitor)# Related Commands Command Description filter vlan Applies a VLAN access map to one or more VLANs and includes untagged include-untagged frames on a port with Layer 3 subinterfaces. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Layer 3 subinterfaces: switch(config-monitor)# no filter vlan 1-20 include-untagged switch(config-monitor)# Related Commands Command Description filter vlan Applies a VLAN access map to one or more VLANs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
{ip-addr | ipv6-addr} [use-vrf label-name]—Specifies the destination address for the • collector. Enter the optional use-vrf label-name to specify a VRF. Use the following format when entering the destination address: ip-addr—A.B.C.D – ipv6-addr—A:B::C:D – Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 229
3/2 switch(config-flow-monitor)# transport udp 59 switch(config-flow-monitor)# version 5 Related Commands Command Description clear flow exporter Clears the flow monitor. show flow exporter Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
• record {record-name | netflow ipv4 collection-type | netflow-original}—Specifies a flow record to • use as follows: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 231
This example shows how to create and configure a flow monitor named FLOW-MONITOR-1: switch(config)# flow monitor FLOW-MONITOR-1 switch(config-flow-monitor)# description monitor location las vegas, NV switch(config-flow-monitor)# exporter exporter-name1 switch(config-flow-monitor)# record test-record switch(config-flow-monitor)# netflow ipv4 original-input Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 232
F Commands flow monitor Related Commands Command Description clear flow monitor Clears the flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
63 characters. exit—Exits from the current configuration mode. • match—Specifies a key field. See the match command for additional information. • • no—Negates a command or sets its defaults. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 234
F Commands flow record Cisco NX-OS enables the following match fields by default when you create a flow record: match interface input • match interface output • match flow direction • This command does not require a license. Examples This example shows how to create a flow record and enter flow record configuration mode:...
• Inactive timeout—15 seconds • Session aging timeout—Disabled • Flush cache timeout – 15 seconds (enabled only on F2) • Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 236
This example shows how to specify the flush cache timeout in seconds for F2 Series module: switch(config)# flow timeout 45 switch(config)# Related Commands Command Description flow record Creates a flow exporter. clear flow monitor Clears the flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 237
F Commands flow timeout Command Description flow monitor Creates a flow monitor. show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 238
F Commands flow timeout Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
H Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter H. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
The hw-module logging onboard command enables events to be recorded in files stored in nonvolatile memory, so that the data can be used to diagnose problems with hardware modules installed in a Cisco router or switch. When the onboard hardware is started up, a first record is made for each area monitored and becomes a base value for subsequent records.
Page 241
Connects to a specific line card for the purpose of executing commands on that card. clear logging onboard Clears onboard failure logs. show logging onboard Displays onboard failure logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 242
This example shows how to change the ERSPAN source session from Type II to Type III: switch# configure terminal switch(config)# monitor session 3 type erspan-source switch(config-erspan-src)# header-type 3 switch(config-erspan-src)# Related Commands Command Description show logging onboard Displays onboard failure logs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 243
H Commands header-type Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 244
H Commands header-type Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
I Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter I. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
12.0.0.0 0.255.255.255 any switch(config-acl)# Related Commands Command Description filter access-group Applies an access control group to an Encapsulated Remote Switched Port Analyzer (ERSPAN) source session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the IP time-to-live (TTL) value of the ERSPAN traffic. monitor-session Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
The statistics for each flow needs to be scaled to give the expected true usage. For example, if you are Note using a 1 in 10 sampler, you must multiply the packet and byte counters by 10. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 249
This example shows how to enable a flow monitor for monitoring output traffic with a sampler to limit the output packets that are sampled: switch(config)# interface ethernet0/0 switch(config-if)# ip flow monitor FLOW-MONITOR-1 output sampler SAMPLER-1 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 250
FLOW-MONITOR-1 input Related Commands Command Description flow exporter Creates a flow exporter. flow monitor Creates a flow monitor. flow record Creates a flow record. sampler Creates a flow sampler. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 251
This example shows how to configure the ethernet IEEE 802.3z: switch# configure terminal switch(config)# ip tftp source-interface ethernet 1/ 1 switch(config)# This example shows how to configure the loopback interface: switch(config)# ip tftp source-interface loopback 1 switch(config)# Related Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 252
I Commands ip tftp source-interface Command Description show ip tftp interface Displays source TFTP client information. source-interface Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the DSCP value of the packets in the ERSPAN traffic. monitor-session Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 254
I Commands ip ttl Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
L Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter L. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the LLDP hold time configuration: switch(config)# no lldp holdtime 180 switch(config)# Related Commands Command Description lldp reinit Specifies the delay time in seconds for LLDP to initialize on any interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 257
L Commands lldp holdtime Command Description lldp timer Specifies the transmission frequency of LLDP updates in seconds. show lldp timers Displays the LLDP holdtime, delay time, and update frequency configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the reception of LLDP packets on an interface: switch(config)# interface ethernet 6/3 switch(config-if)# no lldp receive switch(config-if)# exit switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 259
L Commands lldp receive Related Commands Command Description lldp transmit Enables the transmission of LLDP packets on an interface. show lldp interface Displays the LLDP configuration on an interface. ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
6 switch(config)# Related Commands Command Description lldp holdtime Specifies the amount of time in seconds that a receiving device should hold the information sent by your device before discarding it. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 261
L Commands lldp reinit Command Description lldp timer Specifies the transmission frequency of LLDP updates in seconds. show lldp timers Displays the LLDP holdtime, delay time, and update frequency configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure the transmission frequency for LLDP updates: switch(config)# lldp timer 45 switch(config)# This example shows how to remove the transmission frequency configuration for LLDP updates: switch(config)# no lldp timer 45 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 263
Specifies the amount of time in seconds that a receiving device should hold the information sent by your device before discarding it. show lldp timers Displays the LLDP holdtime, delay time, and update frequency configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines Make sure that you are in the correct virtual device context (VDC). To switch VDCs, use the switchto vdc command. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 265
This example shows how to disable the system capabilities TLV: switch(config)# no lldp tlv-select system-capabilities switch(config)# Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. show lldp dcbx Displays the local DCBX control status. interface ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the transmission of LLDP packets on an interface: switch(config)# interface ethernet 7/1 switch(config-if)# no lldp transmit switch(config-if)# exit switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 267
L Commands lldp transmit Related Commands Command Description lldp receive Enables the reception of LLDP packets on an interface. show lldp interface Displays the LLDP configuration on an interface. ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
LED to identify the component to an administrator in the data center. This command does not require a license. Examples This example shows how to blink the LED for module 4: switch# locator-led module 4 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 269
L Commands locator-led Related Commands Command Description show locator-led status Displays the status of locator LEDs on the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Examples This example shows how to enable logging messages with a severity level of 4 (warning) or higher to the console session: switch# configure terminal switch(config)# logging console 4 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 271
L Commands logging console Related Commands Command Description show logging console Displays the console logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to log interface events: switch# configure terminal switch(config)# logging event link-status default switch(config)# Related Commands Command Description show logging Displays the logging status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to to specify the maximum number of log entries that are cached in the software: switch# configure terminal switch(config)# logging ip access-list cache entries 200 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 274
This example shows how to specify the number of packet matches before an entry is sent to the system log: switch# configure terminal switch(config)# logging ip access-list cache threshold 125 switch(config)# Related Commands Command Description show logging ip Displays the status of IP access list logging. access-list Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Defaults None Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 276
This example shows how to enable logging messages from the AAA facility that have a severity level of 2 or higher: switch# configure terminal switch(config)# logging level aaa 2 switch(config)# Related Commands Command Description show logging level Displays the facility logging level configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Defaults None Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 278
This example shows how to configure a log file called logfile to store system messages and set its severity level to 4: switch# configure terminal switch(config)# logging logfile logfile 4 switch(config)# Related Commands Command Description show logging logfile Displays the log file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Examples This example shows how to add the description for physical Ethernet interfaces and subinterfaces in the system message log: switch# configure terminal switch(config)# logging message interface type ethernet description Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 280
Related Commands Command Description logging monitor Enables the device to log messages to the monitor based on a specified severity level or higher. show logging monitor Displays the monitor logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to enable module log messages: switch# configure terminal switch(config)# logging module switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 282
L Commands logging module Related Commands Command Description show logging module Displays the module logging status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This configuration applies to Telnet and SSH sessions. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 284
Examples This example shows how to enable monitor log messages: switch# configure terminal switch(config)# logging monitor switch(config)# Related Commands Command Description show logging monitor Displays the status of monitor logging. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
• 7—debugging: Appears during debugging only • use-vrf VRF_name (Optional) Specifies the VPN routing and forwarding (VRF) instance. In Cisco NX-OS Release 4.2 or later releases, the default VRF is default. facility facility (Optional) Specifies the outgoing facility. The facilities are listed in the “System...
Page 286
This example shows how to configure a remote syslog server at a specified hostname with severity level 5 or higher: switch# configure terminal switch(config)# logging server syslogA 5 switch(config)# Related Commands Command Description show logging server Displays the configured syslog servers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to enable a source interface for the syslog server: switch# configure terminal switch(config)# logging source-interface loopback 5 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to set the logging time stamp units to microseconds: switch# configure terminal switch(config)# logging timestamp microseconds switch(config)# Related Commands Command Description show logging Displays the logging time stamp configuration. timestamp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
M Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter M. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
NetFlow1 switch(config-flow-record)# match datalink mac source-address switch(config-flow-record)# This example shows how to remove the data link match option from a flow record: switch(config-flow-record)# no match datalink mac source-address switch(config-flow-record)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 291
Related Commands Command Description match ip Configures the match IP option for defining a NetFlow record map. match ipv4 Configures the match IPv4 option for defining a NetFlow record map. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the match option: switch(config-flow-record)# no match ip protocol switch(config-flow-record)# no match ip tos switch(config-flow-record)# Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the match IPv4 configuration: switch(config-flow-record)# no match ipv4 source address switch(config-flow-record)# no match ipv4 destination address switch(config-flow-record)# Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Modification 4.0(1) This command was introduced. Usage Guidelines A Flexible NetFlow flow record must be enabled before you can use the match command. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 295
This example shows how to specify that the match criterion for transport layer fields is based on the source port: switch(config)# flow record FLOW-RECORD-1 switch(config-flow-record)# match ipv4 transport source-port Related Commands Command Description flow record Creates a flow record. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the configuration: switch(config-flow-record)# no match transport source-port switch(config-flow-record) Related Commands Command Description show flow record Displays information about NetFlow records. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to specify the mode in a NetFlow sampler: switch(config)# sampler Custom-NetFlow-Sampler-1 switch(config-flow-sampler)# mode 1 out-of 1000 switch(config-flow-sampler)# This example shows how to remove the mode configuration: switch(config-flow-sampler)# no mode Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 298
M Commands mode Related Commands Command Description show sampler Displays information about NetFlow samplers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 299
This example shows how to configure the SPAN session as an extended bidirectional session: switch(config)# monitor session 3 tx switch(config-monitor)# mode extended Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to configure an SNMP counter: switch(config) port-monitor name PM1 switch(config-port-monitor)# monitor counter signal-loss switch(config-port-monitor)# This example shows how to remove a counter configuration: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 301
M Commands monitor counter switch(config)# no monitor counter signal-loss switch(config-port-monitor)# Related Commands Command Description counter Configures an individual counter. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
10.1.1.1 global switch(config)# This example shows how to remove the ERSPAN IP address: switch# configure terminal switch(config)# no monitor erspan origin ip-address 10.1.1.1 global switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 303
ERSPAN timer with the master timer in the switch. 588 granularity mode is not supported in Cisco NX-OS Release 6.1 and is rejected if selected. M2 Series modules support 100 microseconds, 100 nanoseconds, and nanoseconds granularity. F2 Series and F2e Series modules support only 100 microseconds and 100 nanoseconds granularity.
The number of sessions has been increased to 48. 4.0(1) This command was introduced. Usage Guidelines While configuring an ERSPAN source session, if rx, tx, or both keywords are not entered, the source is configured for both directions. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 305
The new session configuration is added to the existing session configuration. By default, the session is created in the shut state, and the session is a local SPAN session. For more information about the ERSPAN configuration, see the Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 6.x.
Page 306
Adds a comment or a description of up to 32 characters to a SPAN session. destination Adds a SPAN destination where source packets are copied. source Configures the source and the traffic direction in which to copy packets for a SPAN and ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
MTU truncation and ERSPAN sampling can be enabled at the same time and have no precedence over Note each other because they are applied to different aspects of the source packet (size versus packet count). This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 308
Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. show monitor session Displays the status of the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Examples This example shows how to configure the multicast best effort mode for the specifies ERSPAN or SPAN session: switch# configure terminal switch(config)# monitor session 3 switch(config-monitor)# multicast best-effort switch(config-monitor)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 310
Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. show monitor session Displays the status of the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
N Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter N. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to abort the NTP configuration: switch# ntp abort No changes to abort switch# Related Commands Command Description ntp commit Commits the NTP configuration. ntp distribute Enables Cisco Fabric Services (CFS) distribution for NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Added the serve, serve-only, and query-only keywords. 5.0(1) This command was introduced. Usage Guidelines Make sure that you are in the correct virtual device context (VDC). To change the VDC, use the switchto vdc command. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 314
Cisco NX-OS. ACL processing stops and does not continue to the next access group option if the incoming packet does not match the peer access group or if NTP matches a deny ACL rule in a configured peer.
This command does not require a license. Examples This example shows how to enable NTP authentication: switch(config)# ntp authenticate switch(config)# This example shows how to disable NTP authentication: switch(config)# no ntp authenticate switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 316
Configures one or more keys that a time source must provide in its NTP packets in order for the device to synchronize to it. show ntp Displays the status of NTP authentication. authentication-status Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Specifies the MD5 algorithm for authentication. md5-string MD5 string. Cisco NX-OS Release 5.2(3) and later 5.x releases support up to 15 alphanumeric characters for the MD5 string. Earlier 5.x releases and Cisco NX-OS Release 6.0(1) support up to 8 alphanumeric characters.
Page 318
Related Commands Command Description show ntp Configures one or more keys that a time source must provide in its NTP authentication-key packets in order for the device to synchronize to it. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to enable an NTP IPv4 broadcast server on the interface: switch# configure terminal switch(config)# interface ethernet 6/1 switch(config-if)# ntp broadcast destination 192.0.2.10 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 320
N Commands ntp broadcast Related Commands Command Description ntp enable Enables NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Time accuracy is marginally reduced in NTP broadcast associations because information flows only one way. This command does not require a license. Examples This example shows how to configure the estimated broadcast round-trip delay: switch# configure terminal switch(config-if)# ntp broadcastdelay 100 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 322
N Commands ntp broadcastdelay Related Commands Command Description ntp enable Enables NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to commit the NTP configuration: switch# ntp commit switch# Related Commands Command Description ntp abort Aborts the NTP configuration. ntp distribute Enables Cisco Fabric Services (CFS) distribution for NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to disable NTP: switch# ntp disable Related Commands Command Description ntp enable Enables NTP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
N Commands ntp distribute ntp distribute To enable Cisco Fabric Services (CFS) distribution for the Network Time Protocol (NTP), use the ntp distribute command. To disable this feature, use the no form of this command. ntp distribute no ntp distribute Syntax Description This command has no arguments or keywords.
This command does not require a license. Examples This example shows how to disable NTP: switch# no ntp enable Related Commands Command Description ntp server Configures a remote NTP server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to enable NTP logging: switch# config t switch(config)# ntp logging switch(config)# This example shows how to disable NTP logging: switch# config t switch(config)# no ntp logging switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 328
N Commands ntp logging Related Commands Command Description show ntp Displays the NTP logging status. logging-status show ntp statistics Displays the NTP statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
5 This example shows how to remove a device as an authoritative NTP server: switch# configure terminal switch(config)# no ntp master 5 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 330
Related Commands Command Description feature ntp Enables NTP on a virtual device context (VDC). show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 331
This command does not require a license. Examples This example shows how to configure an NTP IPv6 multicast server on an interface: switch(config)# interface ethernet 6/1 switch(config-if)# ntp multicast FF02:1::FF0E:8C6C Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 332
Enables NTP on a virtual device context (VDC). ntp multicast client Configures an NTP multicast client on an interface. show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 333
This command does not require a license. Examples This example shows how to configure an NTP IPv6 multicast server on an interface: switch(config)# interface ethernet 6/1 switch(config-if)# ntp multicast client FF02:1::FF0E:8C6C Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 334
Configures an NTP multicast server on an interface. feature ntp Enables NTP on a virtual device context (VDC). show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 335
Make sure that you are in the correct virtual device context (VDC). To change the VDC, use the switchto vdc command. This command is available beginning with Cisco NX-OS Release 6.2(2). In previous releases, associations are enabled automatically and cannot be disabled.
If you configure a key to be used while communicating with the NTP server, make sure that the key exists as a trusted key on the device. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 337
190.0.2.1 switch(config)# Related Commands Command Description ntp server Configures an NTP server. show ntp peers Displays all the NTP peers. show ntp peer-status Displays the status for all the server/peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
If you configure a key to be used while communicating with the NTP server, make sure that the key exists as a trusted key on the device. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 339
Description ntp peer onfigures a device as an NTP peer. show ntp peer-status Displays the status of all NTP servers and peers. show ntp peers Displays all the NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
192.0.2.3 This example shows how to remove the NTP source: switch(config)# no ntp source 192.0.2.3 Related Commands Command Description show ntp source Displays information about the NTP source. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove an NTP source configuration: switch(config)# no ntp source-interface loopback 1 switch(config)# Command Description show ntp Displays information about the NTP source interface. source-interface Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Usage Guidelines This command does not require a license. Examples This example shows how to resynchronize NTP: switch# ntp sync-retry Related Commands Command Description ntp server Configures a remote NTP server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure an NTP trusted key: switch# config t switch(config)# ntp trusted-key 42 switch(config)# This example shows how to remove the NTP trusted key: switch# config t switch(config)# no ntp trusted-key 42 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 344
N Commands ntp trusted-key Related Commands Command Description show ntp trusted-keys Displays the status of NTP authentication. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
O Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter O. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the NetFlow exporter resend timer configuration: switch(config-flow-exporter-version-9)# no option exporter-stats timeout switch(config-flow-exporter-version-9)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the NetFlow exporter interface-table timer configuration: switch(config-flow-exporter-version-9)# no option interface-table timeout Related Commands Command Description show flow exporter Displays information about the NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
1200 switch(config-flow-exporter-version-9)# This example shows how to remove the sampler-table timer configuration: switch(config)# no option sampler-table timeout switch(config)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
P Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter P. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to deactivate a port-monitor policy: switch(config-port-monitor)# no port-monitor activate policy_1 switch(config)# Related Commands Command Description counter Configures an individual counter. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the SNMP port-monitor feature: switch(config)# no port-monitor enable switch(config)# Related Commands Command Description port-monitor activate Activates the specified port-monitor policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
PM1 switch(config-port-monitor)# This example shows how to remove an SNMP port-monitor policy: switch(config)# no port-monitor name PM1 switch(config) Related Commands Command Description port-monitor activate Activates the specified port-monitor policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
PM1 switch(config-port-monitor)# port-type all switch(config-port-monitor)# This example shows how to remove a port-type configuration: switch(config-port-monitor)# no port-type all switch(config-port-monitor)# Related Commands Command Description port-monitor activate Activates the specified port-monitor policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 354
This example shows how to enable EEE LPI threshold aggressive sleep mode: switch(config-if)# power efficient-ethernet sleep threshold aggressive ERROR: Ethernet2/1: Port is not capable of Energy Efficient Ethernet Related Commands Command Description show module Displays information about a module. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to power off module 2: switch# poweroff module 2 Related Commands Command Description show module Displays information about a module. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
The power supply that can supply the most power operates in standby mode. The other one or two power supplies are active. The available power is the amount of power provided by the active power supply units. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 357
This example shows how to disable the power supply redundancy mode: switch# config t switch(config)# no power redundancy-mode ps-redundant Related Commands Command Description show environment Displays information about the power capacity and power distribution of power the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to configure the interval between PTP announce messages on an interface: switch# configure terminal switch(config)# interface ethernet 5/1 switch(config-if)# ptp announce interval 1 switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 359
Configures the interval between PTP synchronization messages on an interface. ptp vlan vlan Configures the PTP VLAN value on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
3 switch(config-if)# This example shows how to remove the minimum interval configuration for PTP delay-request messages: switch(config)# interface ethernet 5/1 switch(config-if)# no ptp delay-request minimum interval 3 switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 361
PTP intervals before a timeout occurs on an interface. ptp sync interval Configures the interval between PTP synchronization messages on an interface. ptp vlan vlan Configures the PTP VLAN value on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the source IP address for all PTP packets. ptp priority1 Configures the priority1 value to use when advertising this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 363
P Commands ptp domain Command Description show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the domain number to use for this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the source IP address for all PTP packets. ptp domain Configures the domain number to use for this clock. ptp priority1 Configures the priority1 value to use when advertising this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 366
P Commands ptp priority2 Command Description show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
10.1.1.1 switch(config)# Related Commands Command Description feature ptp Enables or disables PTP on the device. ptp domain Configures the domain number to use for this clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 368
Configures the priority1 value to use when advertising this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
1 switch(config-if)# This example shows how to remove the interval configuration for PTP messages synchronization: switch(config)# interface ethernet 5/1 switch(config-if)# no ptp sync interval 1 switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 370
Configures the minimum interval allowed between PTP delay-request minimum interval messages when the port is in the master state. ptp vlan vlan Configures the PTP VLAN value on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
5/5 switch(config-if)# ptp vlan 9 switch(config-if)# This example shows how to remove the PTP VLAN value from an interface: switch(config)# interface ethernet 5/5 switch(config-if)# no vlan 9 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 372
Configures the minimum interval allowed between PTP delay-request minimum interval messages when the port is in the master state. ptp sync interval Configures the interval between PTP synchronization messages on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
R Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter R. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license Examples This example shows how to configure the rate limit for SPAN packets in the specified SPAN session: switch# configure terminal switch(config)# monitor session 3 switch(config-monitor)# rate-limit 30 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 375
Related Commands Command Description monitor session Places you in the monitor configuration mode for configuring a SPAN session. show monitor session Displays the status of the SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove a record from a NetFlow monitor: switch(config-flow-record)# no record netflow ipv4 original-input switch(config-flow-record)# Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description record Specifies a flow record to be used by a NetFlow monitor. record netflow-original Selects an input IPv4 record. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the NetFlow IPv4 record selection: switch(config-flow-monitor)# no record netflow ipv4 original-input Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the NetFlow IPv6 record selection: switch(config-flow-monitor)# no record netflow ipv6 original-input switch(config-flow-monitor)# Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the record selection: switch(config-flow-monitor)# no record netflow-original switch(config-flow-monitor)# Related Commands Command Description show flow sw-monitor Displays information about NetFlow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
100 switch(config-vlan)# remote-span This example shows how to remove an RSPAN VLAN configuration: switch(config-vlan)# no remote-span switch(config-vlan)# Related Commands Command Description monitor session Enters the monitor configuration mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Defaults None Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 383
15 1 falling-threshold 0 owner cisco Related Commands Command Description rmon event Configures an RMON event. rmon hcalarm Configures the 64-bit RMON alarm. show rmon Displays RMON configuration and logged information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
You may chose to load the default RMON events template configuration or you can delete these entries Note and create new RMON events. Until you create RMON alarm configurations, however, no alarms will be triggered by these configurations. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 385
This example shows how to configure RMON event 2 to log the onboard RMON log and send an SNMP trap to public community trap destinations: switch# config terminal switch(config)# rmon event 2 log trap public description CriticalErrors owner cisco switch# Related Commands...
(Optional) Specifies an owner for the alarm. The maximum size is 80 alarm-owner alphanumeric characters. Defaults None Command Modes Global configuration mode Supported User Roles network-admin vdc-admin Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 387
3906340864 owner cisco Related Commands Command Description rmon alarm Configures a 32-bit RMON alarm. rmon hcalarm Configures a 64-bit RMON alarm. show rmon Displays RMON configuration and logging information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
R Commands role distribute role distribute To enable Cisco Fabric Services (CFS) to distribute role configurations, use the role distribute command. role distribute Syntax Description This command has no arguments or keywords. Defaults None Command Modes Global configuration mode Supported User Roles...
VDC ID as the local VDC. This command does not require a license. Examples This example shows how to implement a rollback for the configured checkpoint file: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 390
Generating Rollback Patch Executing Rollback Patch Generating Running-config for verification Generating Patch for verification switch(config)# Related Commands Command Description show diff Displays the differences between the source and the destination file. rollback-patch Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
S Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter S, excluding the show commands. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
The range is from 1 to 64. – out-of—Specifies the samples per packet ratio. – packets—Number of packets in each sampling. The range is from 1 to 8192. – Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 393
This example shows how to remove a sampler definition: switch(config)# no sampler testsampler switch(config-flow)# Related Commands Command Description flow exporter Creates a flow exporter. flow monitor Creates a flow monitor. flow record Creates a flow record. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 394
This example shows how to set the sampling range for the SPAN packets: switch(config)# monitor session 3 type erspan-source switch(config-erspan-src)# sampling 100 switch(config-monitor)# Related Commands Command Description monitor session Enters the monitor configuration mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to save a configuration session to a file in bootflash: switch# configure session myACLs switch(config-s)# save bootflash:sessions/myACLs Related Commands Command Description delete Deletes a file from a location. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines To use this command, the scheduler must already be enabled. To enable the scheduler, use the feature scheduler command. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 397
7 newpwd2 This example shows how to specify a name and authentication password for a remote user: switch# config t switch(config)# scheduler aaa-authentication username admin1 password newpwd3 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 398
S Commands scheduler Related Commands Command Description feature scheduler Enables the scheduler. show scheduler Displays scheduler information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to enable a SPAN session: switch(config-monitor)# no shut switch(config-monitor)# Related Commands Command Description monitor session Enters the monitor configuration mode. show monitor session Displays the virtual SPAN or ERSPAN configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure the AAA user synchronization timeout value: switch# configure terminal switch(config)# snmp-server aaa-user cache-timeout 6000 Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Use the snmp-server community command to configure read-only or read-write access to the SNMP agent on the device. You can optionally configure the community for an access group or user role. For more information on user roles, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x.
Page 402
S Commands snmp-server community Related Commands Command Description show snmp community Displays information about SNMP communities. show snmp group Displays information about configured user roles. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to configure the SNMP contact: switch# configure terminal switch(config)# snmp-server contact Jane Smith@anyplace.com Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
SNMP context and use the snmp-server context command to map this context to a logical network entity. For more information on context mapping, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x. This command does not require a license.
Page 405
Related Commands Command Description show snmp context Displays information about SNMP contexts. snmp-server mib Maps an SNMPv2c community to an SNMP context. community-map Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 407
(Optional) Enables Internet engineering task force (IETF) extended link IETF-extended-linkD state down notifications. IETF- (Optional) Enables IETF extended link state up notifications. extended-linkUp cisco-extended-linkDo (Optional) Enables Cisco extended link state down notifications. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 409
This example shows how to enable BGP notifications: switch# configure terminal switch(config) snmp-server enable traps bgp Related Commands Command Description show snmp trap Displays the enable or disable state of all SNMP notifications. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to globally enforce privacy for all SNMP contacts: switch# configure terminal switch(config)# snmp-server globalEnforcePriv Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
1 to 128. loopback number Specifies the virtual interface number. The range is from 0 to 1023. mgmt number Specifies the management interface number. The value is 0. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 412
This example shows how to remove an SNMP server host: switch(config)# no snmp-server host 192.0.2.1 traps snmp1 udp-port 1 switch(config)# Related Commands Command Description snmp-server Configures the SNMP community string. community snmp-server contact Configures the SNMP contact information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays SNMP information. snmp-server host Configures an SNMP host receiver. snmp-server host Configures Cisco NX-OS to send notifications on the specified VRF to use-vrf communicate with an SNMP host receiver. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to configure Cisco NX-OS to communicate with the host receiver on the blue VRF. switch# config terminal switch(config)# snmp-server host 10.1.1.1 use-vrf blue...
This command does not require a license. Examples This example shows how to set the SNMP location: switch# config terminal switch(config)# snmp-server location SanJose Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Use the snmp-server mib community-map command to map between SNMPv2c communities and SNMP contexts. Use the snmp-server context command to map this context to a logical network entity. For more information on context mapping, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 6.x.
Page 417
Related Commands Command Description show snmp community Displays information about SNMP communities. show snmp context Displays information about SNMP contexts. snmp-server context Maps an SNMP context to a logical network entity. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Use the no snmp protocol enable command to disable SNMP and close any TCP or UDP ports associated with the protocol. This command does not require a license. Examples This example shows how to disable SNMP: switch# configure terminal switch(config)# no snmp-server protocol enable Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to configure an SNMP source interface: switch(config)# snmp-server source-interface traps ethernet 1/1 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 420
This example shows how to remove the SNMP source interface: switch(config)# no snmp-server source-interface traps ethernet 1/1 switch(config)# Related Commands Command Description snmp-server Configures the SNMP community string. community snmp-server host Configures a host receiver for SNMP notifications. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to enable one-time authentication for SNMP over a TCP session. switch# config t switch(config)# snmp-server tcp-session auth Related Commands Command Description show snmp Displays information about SNMP. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
SNMP user configuration across devices because the user password contains information on the engine ID of the device. If you copy a configuration file Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 423
00:12:00:00:09:03:00:05:48:00:74:30 Related Commands Command Description role name Configures role profiles used as SNMP group names. show snmp Displays SNMP information. snmp-server host Configures SNMP server host information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description role name Configures role profiles used as SNMP group names. show snmp Displays SNMP information. snmp-server user Configures SNMP user information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to generate an SNMP trap when an EEM applet is triggered: switch(config)# event manager applet snmp-applet switch(config-applet)# action 1 snmp-trap strdata "EEM detected server failure” switch(config-applet)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 426
S Commands snmp-trap Related Commands Command Description syslog Configures a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the Netflow exporter source interface configuration: switch(config-flow-exporter)# no source Ethernet3/11 switch(config-flow-exporter)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 428
This example shows how to configure sources and the traffic direction in which to copy packets: switch(config)# monitor session 1 switch(config-monitor)# source vlan 3, 6-10 tx switch(config-monitor)# This example shows how to remove a source configuration: switch(config-monitor)# no source vlan 3, 6-10 tx switch(config-monitor)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 429
S Commands source Related Commands Command Description show monitor session Displays the virtual SPAN or ERSPAN configuration. copy running-config Copies the running configuration to the startup configuration. startup-config Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 430
1 switch(config-monitor)# source exception all This example shows how to configure the source as an exception ERSPAN session: switch(config)# monitor session 3 type erspan-source switch(config-erspan-src)# source exception all Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 431
S Commands source exception Related Commands Command Description monitor session Enters the monitor configuration mode. show monitor session Displays the virtual SPAN or ERSPAN configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the SPAN destination on Ethernet interface 7/2: switch# config t Enter configuration commands, one per line. End with CNTL/Z. switch(config)# interface eth 7/2 switch(config-if)# no switchport monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 433
S Commands switchport monitor switch(config-if)# Related Commands Command Description monitor session Enters the monitor configuration mode for configuring a SPAN session. show monitor session Displays the SPAN or ERSPAN session configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a core file: switch# configure terminal switch(config)# system cores slot0:core_file This example shows how to disable system core logging: switch# configure terminal switch(config)# no system cores Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 435
S Commands system cores Related Commands Command Description clear system cores Clears the core file. show system cores Displays the core filename. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to enable the Supervisor Reset HA policy: switch(config)# system hap-reset switch(config)# Related Commands Command Description show system standby Displays the status of the system standby manual boot option. manual-boot Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to enable the heartbeat checks (default) and revert to the factory default: switch(config)# system heartbeat switch(config)# Related Commands Command Description system no hap-reset Disables the heartbeat checks (default) and reverts to the factory default. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to disable the Supervisor Reset HA policy: switch(config)# system no hap-reset switch(config)# Related Commands Command Description system hap-reset Enables the Supervisor Reset HA policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the heartbeat checks (default) and revert to the factory default: switch(config)# system no heartbeat switch(config)# Related Commands Command Description system heartbeat Enables the heartbeat checks (default) and reverts to the factory default. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the system standby manual boot option: switch(config)# system no standby manual-boot system standby manual-boot option disabled switch(config)# Related Commands Command Description show system standby Displays the status of the system standby manual boot option. manual-boo Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to disable the watchdog feature: switch(config)# system no watchdog switch(config)# Related Commands Command Description system no watchdog Prevents the system from entering the Linux KGDB debugger on a kgdb watchdog failure. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to prevent the system from entering the Linux KGDB debugger on a watchdog failure: switch(config)# system no watchdog kgdb switch(config)# Related Commands Command Description system no watchdog Disables the watchdog feature. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to shrink PSS files on the system: switch(config)# system pss shrink pss shrink completed switch(config) Related Commands Command Description show system pss Displays the last PSS shrink status. shrink status Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the standby manual-boot status: switch(config)# system standby manual-boot system standby manual-boot option enabled switch(config)# Related Commands Command Description system startup-config Initializes the startup configuration. init Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
WARNING: This command is going to re-initialize the contents of the startup-conf iguration. Do you want to continue? (y/n) Related Commands Command Description system startup-config Releases the system startup-configuration lock. unlock Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to release a system startup-configuration lock: switch(config)# system startup-config unlock switch(config)# Related Commands Command Description system startup-config Initializes the startup configuration. init Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
System will be upgraded according to following table: Module Swid Impact Running-Version New-Version Upg-Required ------ ---------- ---------- -------------------- -------------------- ------------ 4.2.1 hitless 4.2<0.202> Update 4.2.1 hitless 4.2<0.202> Update 4.2.1 hitless 4.2<0.202> Update Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 448
Module Impact ------ ---------- hitless hitless hitless Message from services: switch(config)# Related Commands Command Description system startup-config Releases a system startup-configuration lock. unlock system startup-config Initializes the startup configuration. init Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to switch over to the standby supervisor: switch# system switchover switch# Related Commands Command Description show system redundancy Displays the system redundancy status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the system trace level configuration: switch(config)# system no trace switch(config)# Related Commands Command Description show cores Displays the system core files. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description system no watchdog Disables the watchdog feature. system no watchdog Prevents the system from entering the Linux KGDB debugger on a kgdb watchdog failure. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure the system to enter the Linux KGDB debugger on a watchdog failure: switch(config)# system watchdog kgdb switch(config)# Related Commands Command Description system watchdog Enables the watchdog feature. system no watchdog Disables the watchdog feature. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands This chapter describes the Cisco NX-OS system management show commands. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Name of the profile. The name can be the default profile name or the profiles that you created. last action status Displays the status of the last Cisco Fabric Services (CFS) commit/abort operation. last merge status Displays the status of the last CFS merge operation for Call Home.
Page 455
Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 457
Related Commands Command Description show callhome Displays the Call Home configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show cdp show cdp To display the interfaces that have the Cisco Discovery Protocol (CDP) enabled, use the show cdp command. show cdp {all | entry {all | name name} | global | interface interface-type | traffic interface...
Page 459
Refresh time is 60 seconds Hold time is 30 seconds Ethernet7/5 is down CDP enabled on interface Refresh time is 60 seconds --More-- Related Commands Command Description enable cdp Enables CDP on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show cdp neighbors show cdp neighbors To display the status of Cisco Discovery Protocol (CDP) neighbors, use the show cdp neighbors command. show cdp neighbors [interface interface] Syntax Description interface (Optional) Displays CDP neighbors on an interface. interface...
Show Commands show cfs application show cfs application To display information about applications that are currently enabled to use Cisco Fabric Services (CFS) distribution, use the show cfs application command. show cfs application [name application_name] Syntax Description name (Optional) Displays the name of a specific application.
Page 462
Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show cfs lock show cfs lock To display information about locks that are currently in place for an application that uses Cisco Fabric Services (CFS) for distribution, use the show cfs lock command. show cfs lock [name application_name]...
Page 464
Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show cfs merge status show cfs merge status To display the merge status for an application that uses Cisco Fabric Services (CFS) for distribution, use the show cfs merge status command. show cfs merge status [name application_name] Syntax Description name (Optional) Displays the name of a specific application.
Page 466
Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays information about applications that are currently enabled to use CFS distribution. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 468
Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show cfs regions show cfs regions To display all Cisco Fabric Services (CFS) applications with peers and region information, use the show cfs regions command. show cfs regions {name application_name | region region_id} show cfs regions brief {name application_name | region region_id}...
Page 470
Displays the status of CFS distribution on the device as well as IP distribution information. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. show logging level cfs Displays the CFS logging configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show cfs status show cfs status To display the current state of Cisco Fabric Services (CFS), use the show cfs status command. show cfs status Syntax Description This command has no arguments or keywords. Defaults None Command Modes...
Page 472
Displays all the CFS applications with peers and region information. show logging level cfs Displays the CFS logging configuration. show tech-support cfs Displays information about the CFS configuration required by technical support when resolving a CFS issue. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 474
5 $1$Oip/C5Ci$oOdx7oJSlBCFpNRmQK4na. role vdc-ope rator username adminbackup role network-operator username admin password 5 $1$8GYeC4uW$4WfnImcvtAKI6Uet.ePD.1 role network-admin Related Commands Command Description clear checkpoint Clears out all the checkpoint files. database Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display information about a configuration session. Each line represents a CLI command that Cisco NX-OS applies to the device when you commit the session. switch# show configuration session myACLs config session name myACLs...
Page 476
00:56:46 UTC Apr 29 2008 Number of active configuration sessions = 4 switch(config-s)# Related Commands Command Description show tech-support Shows detailed information about the configuration sessions for session-mgr troubleshooting purposes. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Current number of commands (all ssns) switch(config)# Related Commands Command Description show configuration session Displays information about the configuration sessions. show tech-support Displays detailed information about the configuration sessions for session-mgr troubleshooting purposes. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
VDC No Module-num Instance-num Process-name Core-create-tim ------ ---------- ------------ ------------ --------------- xmlsa 32442 May 8 15:24 xmlsa 25163 May 9 06:04 xmlsa 21581 May 9 13:25 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 479
Show Commands show cores Related Commands Command Description show system core Displays information about transferring cores. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display information about the bootup diagnostic level: switch# show diagnostic bootup level Current bootup diagnostic level: complete switch# Related Commands Command Description diagnostic bootup level Configures the diagnostic bootup level. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
- Exclusively run this test / NA - Not an ondemand test / NA A/I/* - Monitoring is active / Monitoring is inactive / NA Testing Interval Name Attributes (hh:mm:ss) ____ __________________________________ ____________ _________________ Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 482
Displays information about a simulated diagnostic. simulation module slot show diagnostic status Displays test status for all tests on a module. module slot show module Displays module information including online diagnostic test status. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
6 test 1 ManagementPortLoopback : A bootup test that tests loopback on the management port of the module Related Commands Command Description show diagnostic Displays diagnostic test names and test IDs. content Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Reason->Success This example shows how to display diagnostic events by information type: switch# show diagnostic events info 1) Event:E_DEBUG, length:114, at 934712 usecs after Wed Jan 7 11:40:06 2009 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 485
This example shows how to display diagnostic events by event type: switch# show diagnostic events error switch# Related Commands Command Description show diagnostic Displays diagnostic test names and test IDs. content Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Test iterations = 1 Action on test failure = continue until test failure limit reaches 1 Related Commands Command Description diagnostic ondemand Configures the diagnostic on-demand setting. setting Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
______________________________________________________________________ 6) NVRAM-------------------------> . Error code ------------------> DIAG TEST SUCCESS Total run count -------------> 1574 Last test execution time ----> Thu Jun 26 09:28:40 2008 First test failure time -----> Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 488
Last test failure time ------> Last test pass time ---------> Thu Jun 26 09:28:41 2008 Total failure count ---------> 0 Consecutive failure count ---> 0 Last failure reason ---------> No failures yet switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display information about simulated diagnostics: switch# show diagnostic simulation module 6 Card(6): Supervisor module-1X ________________________________________________ -NA- switch# Related Commands Command Description diagnostic test Sets a simulated test result for a diagnostic test. simulation Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
6 <BU>-Bootup Diagnostics, <HM>-Health Monitoring Diagnostics <OD>-OnDemand Diagnostics, <SCH>-Scheduled Diagnostics ============================================== Card:(6) Supervisor module-1X ============================================== Current running test Run by -NA- -NA- Currently Enqueued Test Run by -NA- -NA- switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description show checkpoint Displays the contents of the checkpoint file. rollback running Implements a rollback for the configured checkpoint file. checkpoint Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display information about the hardware environment: switch# show environment Clock: ---------------------------------------------------------- Clock Model Status ---------------------------------------------------------- Clock Module NotSupported/None Clock Module NotSupported/None Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 494
Power reserved for Fabric Module(s) 300.00 W Power currently used by Modules 247.00 W ------------- Total Power Available 2849.00 W ------------- Related Commands Command Description power redundancy-mode Configures the power supply redundancy mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
By reading information from the power supply, the system displays the power consumption information. The actual power consumed by the system might be more than what is displayed. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 496
42.14 A switch(config)# Related Commands Command Description show environment Displays information about the hardware environment status. show hardware Displays information about the platform hardware resources currently capacity utilized by the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display all of the EEM environment variables: switch# show event manager environment all switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Usage Guidelines This command does not require a license. Examples This example shows how to display the details of the EEM event types: switch# show event manager event-types detail switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the EEM history events that have been triggered that were of severity switch# show event manager history events severity 7 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the EEM policies: switch# show event manager policy switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the state of an EEM policy: switch# show event manager policy-state policy42 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display all the system scripts defined in the EEM: switch# show event manager script system all switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 504
Disable the port Overridable : Yes Name : __external_compact_flash Description : Do CallHome, log error and disable further HM testing after 20 consecutive failures of GOLD "ExternalCompactFlash" test Overridable : Yes switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Number of Packets Dropped (other) 0 Number of Packets Dropped (LC to RP Error) 0 Number of Packets Dropped (Output Drops) 0 Time statistics were last cleared: Never Flow exporter timeout: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 506
Configures the source IP address interface for flow exporters. template Configures the template resend timeout for flow exporters. transport Configures the transport protocol for flow exporters. Configures the time-to-live (TTL) value for flow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Sampler— The flow monitor is in sampler mode (the • name of the sampler is included in the display). Related Commands Command Description show flow sw-monitor Displays flow monitor status and statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 509
NFC-DC-PHOENIX statistics Cache type: Normal Cache size: 4096 Current entries: High Watermark: Flows added: Flows aged: - Active timeout 1800 secs) - Inactive timeout ( 15 secs) - Event aged Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 512
The source port for the transport protocol. TRNS DESTINATION PORT The destination port for the transport protocol. INTERFACE INPUT The interface that the input is received on. FLOW SAMPLER ID The flow sampler ID number. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 513
Specifies a flow exporter for flow monitors. flow monitor Creates a flow monitor. protocol-distribution Configures the collection of protocol distribution statistics for flow monitors. record Configures a flow record for the flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 514
Show Commands show flow sw-monitor Command Description show flow sw-monitor Displays flow monitor status and statistics. size-distribution Configures the collection of size distribution statistics for flow monitors. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Traditional IPv4 output NetFlow. protocol-port Protocol ports record. This command does not require a license. Examples This example shows how to display the status and statistics of the original input NetFlow record: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 516
Configures the collection of size distribution statistics for flow monitors. protocol-distribution Configures the collection of protocol distribution statistics for flow monitors. record Configures a flow record a for flow monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
12: Device Min num too small for feature PVLAN . . switch# Related Commands Command Description show hardware Displays information about the hardware capabilities and current hardware capacity utilization by the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines You can make network design plans based on the information about hardware capabilities and the current hardware utilization. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 520
------------------------------------------------------------ bootflash 1762048 1383980 logflash 7997912 6840772 slot0 2026608 1985436 switch(config)# Related Commands Command Description show hardware Displays information about fabric utilizations. fabric-utilization show module Displays information about a module. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Interface drops: Module Total drops Highest drop ports Tx: 0 Rx: 0 Tx: 0 Rx: 0 Interface buffer sizes: Module Bytes: Tx buffer Rx buffer 6190631 7743330 6190631 7743330 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 522
Show Commands show hardware capacity interface Related Commands Command Description show hardware flow Displays information about NetFlow hardware flow utilization. utilization show hardware Displays information about fabric utilization. fabric-utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 523
Module Total drops Highest drop ports Tx: 0 Rx: 0 Tx: 0 Rx: 0 Interface buffer sizes: Module Bytes: Tx buffer Rx buffer 6190631 7743330 6190631 7743330 switch# Related Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 524
Show Commands show hardware capacity interface Command Description show hardware flow Displays information about NetFlow hardware flow utilization. utilization show hardware Displays information about fabric utilization. fabric-utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 527
Show Commands show hardware fabric-utilization detail timestamp 08-11@19:18:41 08-11@19:18:41 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 08-11@19:18:34 --More-- Related Commands Command Description show hardware Displays information about fabric utilization. fabric-utilization Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the NetFlow aging values for module 2: switch(config)# show hardware flow aging module 2 VDC(1) Aging Information (time unit is second): AgingType Enabled Timeout Period Threshold ----------+----------+----------+----------+---------- Active 1800 Inactive Fast Aggressive No Session switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 529
Show Commands show hardware flow aging Related Commands Command Description flow timeout Creates a flow timeout. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 532
This command does not require a license. Examples This example shows how to display the NetFlow aging values for module 8: switch(config)# show hardware flow ip module 8 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 533
007.002.000.002 007.001.000.002 000:00000:00000 0000422213 ..O 8/26 007.001.000.002 007.002.000.002 000:00000:00000 0000422228 ..switch(config)# Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 534
Examples This example shows how to display detailed output information about the NetFlow Layer 2 flows: switch(config)# show hardware flow l2 detail D IF SMAC DMAC PktCnt TCP Flags DSCP Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 535
Show Commands show hardware flow l2 -+---------+--------------+--------------+----+----------+-----------+----- I V 100 0002.0002.0002 0018.bad7.e995 0800 0000279860 A F P R S U switch# Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the NetFlow sampler table utilization for module 2: switch# show hardware flow sampler count module 2 Sampler Table Utilization: about 0.00% (0/64) Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 537
Show Commands show hardware flow sampler Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
OFE CF FIFO full failure IFE NT table full failure OFE NT table full failure NO freelist pointer failure Hash Table(NH) page full failure = 0 IPMAC lookup failure L2 ACL deny Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 539
Show Commands show hardware flow utilization L3 ACL deny IFE CF flow control OFE CF flow control Fast Aging failure switch# Related Commands Command Description flow Creates a flow. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 540
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 6.1(2) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 541
CoS rewrite: ToS rewrite: SPAN: UDLD: MDIX: TDR capable: Link Debounce: Link Debounce Time: FEX Fabric: dot1Q-tunnel mode: Pvlan Trunk capable: Port Group Members: EEE (efficient-eth): PFC capable: switch(config-if)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Last clearing of "show interface" counters never 0 interface resets 30 seconds input rate 0 bits/sec, 0 packets/sec 30 seconds output rate 0 bits/sec, 0 packets/sec Load-Interval #2: 5 minute (300 seconds) Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 543
0 pkts, 0 bytes - mcast: 0 pkts, 0 bytes --More-- Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 544
Tx Packets from 1024 to 1518 bytes: Non Fcoe in packets: 13419 Non Fcoe in octets: 2392727 Non Fcoe out packets: 39883 Non Fcoe out octets: 3731578 Tx LPI usecs 74304694529 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 545
39865 Rx LPI indications 3628 switch(config)# Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Peer's DCBXP Control information: Operation version: 00 Max version: 00 Seq no: 1 Ack no: 1 Type/ Max/Oper Subtype Version En/Will/Err Config 003/000 000/000 Y/N/N 0008 002/000 000/000 Y/N/N 1111100032 32000000 00000002 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 549
Show Commands show lldp dcbx interface ethernet Related Commands Command Description show lldp tlv-select Displays the LLDP TLV configuration. lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays the global LLDP configuration. lldp lldp transmit Enables the transmission of LLDP packets on an interface. lldp receive Enables the reception of LLDP packets on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other Local Intf Chassis ID Port ID Hold-time Capability Eth8/24 0018.bad8.5e45 Eth8/23 Eth8/23 0018.bad8.5e45 Eth8/24 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 552
TLVs. show lldp traffic Displays the number of LLDP packets sent and received on the interface. interface ethernet Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Specifies the delay time in seconds for LLDP to initialize on any interface. lldp timer Specifies the transmission frequency of LLDP updates in seconds. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description show lldp dcbx Displays the local DCBX control status. interface ethernet lldp tlv-select Specifies the TLVs to send and receive in LLDP packets. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description show lldp traffic Displays the number of LLDP packets sent and received on the interface. interface ethernet show running-config Displays the global LLDP configuration. lldp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
LLDP interface traffic statistics: Total frames transmitted: 0 Total entries aged: 0 Total frames received: 0 Total frames received in error: 0 Total frames discarded: 0 Total unrecognized TLVs: 0 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 557
Displays the LLDP counters, including the number of LLDP packets sent and received by the device, the number of discarded packets, and the number of unrecognized TLVs. show running-config Displays the global LLDP configuration. lldp Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
PowerSupply 2 : Locator LED off Fan 1 : Locator LED off Fan 2 : Locator LED off switch(config)# Related Commands Command Description locator-led Blinks an LED on the system. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the console logging configuration: switch# show logging console Logging console: enabled (Severity: critical) switch# Related Commands Command Description logging console Configures logging to the console. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 561
Logging logflash: enabled (Severity: information) Logging logfile: enabled Name - messages: Severity - information Size - 10485760 Facility Default Severity Current Session Severity -------- ---------------- ------------------------ acllog aclmgr auth authpriv --More-- Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display information about the logging IP access list cache: switch# show logging ip access-list cache switch# Related Commands Command Description logging ip access-list Configures logging for access lists. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the last 42 lines of the logfile: switch# show logging last 42 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
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...
This example shows how to display the messages in the log file that were timestamped within the span shown: switch# show logging logfile start-time 2008 mar 11 12:10:00 switch# Related Commands Command Description logging logfile Configures logging to a log file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the logging loopback configuration: switch# show logging loopback switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the module logging configuration: switch# show logging module switch# Related Commands Command Description logging module Configures module logging. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the monitor logging configuration: switch# show logging monitor switch# Related Commands Command Description logging monitor Configures logging on the monitor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Usage Guidelines This command does not require a license. Examples This example shows how to display the last 20 messages in the NVRAM log: switch# show logging nvram last 20 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays the OBFL status enable/disable. Defaults None Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. 4.0(2) Added the counter-stats keyword. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 571
– head [-n num]—Stream Editor. The optional -n num keyword and argument allow you to specify the • number of lines to print. The range is from 0 to 2147483647. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 572
Cisco router or switch. Data is logged to files that are stored in nonvolatile memory. When the onboard hardware is started up, a first record is made for each area monitored and becomes a base value for subsequent records.
Page 573
This example shows how to display the OBFL exception log information: switch# show logging onboard module 2 exception-log Sun Feb 24 00:12:35 2008 : Exception Log Record Device Id : 60 Device Name : DEV_SKYLINE_NI Device Error Code : f(H) Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 574
==================== STACK TRACE ==================== Logging time: Sat Feb 29 19:47:38 2008 watchdog timeout: process swapper (0), jiffies 0x169bb Stack: c0006e98 c001721c d195f5b4 c0005424 c0005500 c0003e90 c0005a2c c0005a40 c0001a88 c01bf610 c0000394 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 575
PB2_TX FlwCtrl from conn. ASIC > pe|0x1 |02/06/08 10:54:44|00| riod Intr ------------------------------------------------------------------------------ ERROR STATISTICS INFORMATION FOR DEVICE ID 81 DEVICE Lamira ------------------------------------------------------------------------------ Time Stamp |In|Port Error Stat Counter Name Count |MM/DD/YY HH:MM:SS|st|Rang |Id|e Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 576
Range of ports affected. Related Commands clear logging onboard Clears the OBFL entries in the persistent log. hw-module logging Enables or disabled OBFL entries based on the error type. onboard Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays the OBFL logs from the start time, in the format mm/dd/yy-HH:MM:SS. status Displays the OBFL enable/disable status. Defaults None Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 578
This command does not require a license. Examples This example shows how to displays the OBFL from March 10, 2008 at 3:45 p.m.: switch# show logging onboard starttime 03/10/08-15:45:00 switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the syslog server configuration: switch# show logging server switch# Related Commands Command Description logging server Configures a remote syslog server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the logging session status: switch# show logging session status switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the logging status: switch# show logging status switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the logging time stamp configuration: switch# show logging timestamp switch# Related Commands Command Description logging timestamp Configures the logging time stamp granularity. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Supported User Roles network-admin vdc-admin network-operator vdc-operator Command History Release Modification 4.0(1) This command was introduced. 4.1(2) Output modified to show diagnostic events. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 584
Pass Xbar Ports Module-Type Model Status ----- -------------------------------- ------------------ ------------ Fabric Module 1 N7K-C7018-FAB-1 Xbar Sw -------------- ------ 0.101 Xbar MAC-Address(es) Serial-Num -------------------------------------- ---------- JAF1225AGHJ * this terminal session switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 585
Related Commands Command Description show hardware Displays information about the hardware. show inventory Displays hardware inventory information. show diagnostic events Displays diagnostic events by error and information event type. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Session admin shut switch(config)# Related Commands Command Description show running-config Displays the running configuration to the startup configuration. monitor show startup-config Displays information about the startup SPAN configuration. monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
2 session 2 --------------- type : erspan-source state : up erspan-id : 100 vrf-name : default acl-name : acl-name not specified ip-ttl : 255 ip-dscp destination-ip : 10.1.1.2 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 588
VLANs both filter VLANs : filter not specified Feature Enabled Value Modules Supported Modules Not-Supported ----------------------------------------------------------------------------- Rate-limiter MTU-Trunc Sampling MCBE L3-TX ERSPAN-ACL ERSPAN-V3 Legend: MCBE = multicast best effort Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 589
Show Commands show monitor session L3-TX = L3 Multicast Egress SPAN Related Commands Command Description monitor session Places you into monitor configuration mode for configuring a SPAN or ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the NTP access group configuration: switch(config)# show ntp access-groups -------------------------------------- Access List Type -------------------------------------- Admin_Group_123 Peer switch(config)# Related Commands Command Description ntp access-group peer Configures an NTP access group. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays the status of all NTP authentication. tion-status ntp authentication-key Configures one or more keys that a time source must provide in its NTP packets in order for the device to synchronize to it. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the NTP authentication status: switch(config)# show ntp authentication-status Authentication enabled. switch(config)# Related Commands Command Description ntp authenticate Enables NTP authentication. show ntp authentica- Displays the configured NTP authentication keys. tion-keys Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 594
User : not disabled SUP : not disabled Fabric : not disabled switch(config)# Related Commands Command Description show running-config Displays the NTP information. show ntp statistics Displays the NTP statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description ntp logging Enables NTP logging. show ntp authentica- Displays the status of NTP authentication. tion-status show ntp session status Displays the NTP CFS distribution session information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Server (configured) switch(config)# Related Commands Command Description ntp server Configures an NTP server. ntp peer Configures an NTP peer. show ntp peer-status Displays the status of all the server and peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the peer status for NTP: switch(config)# show ntp peer-status Related Commands Command Description show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the differences between the pending NTP configuration and the active NTP configuration: switch# show ntp pending-diff switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the pending NTP configuration changes on all peers: switch# show ntp pending peers switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
: Success Last Action Failure Reason : none switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Distribution : Disabled Last operational state: No session switch(config)# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to view RTS-update information: switch(config)# show ntp rts-update RTS update is enabled switch(config)# Related Commands Command Description show ntp source-inter- Displays information about the NTP source. face Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the NTP source information: switch(config)# show ntp source Related Commands Command Description ntp source Configures the NTP source. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Related Commands Command Description show startup-config Displays information about the startup NTP configuration of the switch. show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to displays statistics for NTP: switch(config)# show ntp statistics local Related Commands Command Description clear ntp statistics Clears NTP statistics. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command shows whether Cisco Fabric Services (CFS) is enabled or disabled for the NTP application and whether a fabric lock is in place because a configuration is in progress. This command does not require a license.
Page 607
CFS. cfs distribute Globally enables CFS distribution for all applications on the device, including CFS over IP. ntp enable Enables NTP on a device. NTP is enabled by default. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display all the configured NTP trusted keys: switch(config)# show ntp trusted-keys Trusted Keys: switch(config)# Related Commands Command Description ntp trusted-keys Displays the configured NTP authentication keys. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
RX Performance Delta 2147483648 524288000 TX Performance Delta 2147483648 524288000 -------------------------------------------------------------------------------- switch(config-port-monitor)# Related Commands Command Description show port-monitor Displays the port-monitor status. status show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 612
Interval Rising Threshold event Falling Threshold vent In Use ------- --------- -------- ---------------- ----- ------------------ - ---- ------ Link Loss Delta Sync Loss Delta Protocol Error Delta Signal Loss Delta Invalid Words Delta Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 613
RX Performance Delta 2147483648 524288000 TX Performance Delta 2147483648 524288000 -------------------------------------------------------------------------------- ----------- switch(config)# Related Commands Command Description show port-monitor Displays the port-monitor status. status show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
: Enabled Active Policies : None Last 10 logs : switch(config-port-monitor)# Related Commands Command Description show port-monitor Displays active port-monitor policies. active show port-monitor Displays information about the port-monitor configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the process information for a device: switch# show processes State Start_cnt Type Process ----- ----- -------- ----------- ---- ---- ------------- b7f9e468 init migration/0 ksoftirqd/0 desched/0 migration/1 ksoftirqd/1 desched/1 events/0 events/1 khelper kthread Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 616
This example shows how to display the process information for another VDC: switch# show processes vdc 2 State Start_cnt Type Process ----- ----- -------- ----------- ---- ---- ------------- b7f9e468 init migration/0 ksoftirqd/0 desched/0 migration/1 ksoftirqd/1 desched/1 events/0 events/1 khelper kthread Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
## ### 30 # ## ### 20 ## ## ### 10 ### ## # ## ### # ### # # 0..5..1..1..2..2..3..3..4..4..5..5..CPU% per second (last 60 seconds) # = average CPU% Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 619
* = maximum CPU% # = average CPU% Related Commands Command Description show processes cpu Displays the CPU utilization information for processes on the device. show system resources Displays the system resources. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display information about CPU processes sorted by CPU utilization: switch(config)# show process cpu sort Runtime(ms) Invoked uSecs 1Sec Process ----- ----------- -------- ----- ------ ----------- 3622 2335 6843 50.0% pfstat Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 621
Displays the CPU utilization information for processes on the device. show processes cpu history Displays information about the CPU utilization by the system processes in the last 60 seconds, 60 minutes, and 72 hours in a graphical format. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
3870 Sat Dec 22 12:02:46 2007 1 clis 10005 Sat Nov 24 03:46:13 2007 1 clis 10268 Fri Dec 14 09:13:53 2007 1 clis 1040 Fri Nov 16 13:34:30 2007 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display information about memory allocation for processes: switch# show processes memory MemAlloc StackBase/Ptr Process ----- -------- ----------------- ---------------- 147456 bffffda0/bffff890 init migration/0 ksoftirqd/0 desched/0 migration/1 ksoftirqd/1 desched/1 events/0 events/1 khelper kthread kacpid Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 626
Shared memory totals - Size: 189 MB, Used: 16 MB, Available: 173 MB Free Physical Memory: 0 MB kernel, 0 MB user Related Commands Command Description show processes Displays process information. show startup-config Displays the startup configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays the state of foreign masters known to the PTP process. foreign-masters-record show ptp corrections Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 628
Show Commands show ptp brief Command Description show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 629
Class : 248 Accuracy : 254 Offset (log variance) : 65535 Offset From Master : 0 Mean Path Delay : 0 Steps removed : 1 Local clock time:Sun Jan 15 20:57:29 2011 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 630
Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 632
Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays the properties of the local clock. show ptp clocks Displays the state of foreign masters known to the PTP process. foreign-masters-record show ptp parent Displays the properties of the PTP parent. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 634
Show Commands show ptp corrections Command Description show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Displays the last few PTP corrections. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 637
Delay request interval(log mean): 2 Announce receipt time out: 3 Peer mean path delay: 0 Announce interval(log mean): 1 Sync interval(log mean): 2 Delay Mechanism: End to End Peer delay request interval(log mean): 0 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 638
Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 639
Displays the PTP status. show ptp clock Displays the properties of the local clock. show ptp clocks Displays the state of foreign masters known to the PTP process. foreign-masters-record Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 640
Description show ptp corrections Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Other supervisor (sup-5) ------------------------ Redundancy state: Not present Supervisor state: Internal state: System start time: Fri Aug 15 15:55:19 2008 System uptime: 3 days, 23 hours, 57 minutes, 22 seconds Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 642
Show Commands show redundancy status Kernel uptime: 4 days, 0 hours, 1 minutes, 39 seconds Active supervisor uptime: 3 days, 23 hours, 57 minutes, 22 secondss Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 643
Resource Used Unused Avail -------- ---- ------ ----- monitor-session Related Commands Command Description show resource Displays the resources that are available for an extended SPAN and monitor-session-exten ERSPAN session. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 644
Resource Used Unused Avail -------- ---- ------ ----- monitor-session-extended Related Commands Command Description show resource Displays the resources that are available for a traditional SPAN session. monitor-session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Event 4 is active, owned by administrator@london_op_center Description is WARNING(4) Event firing causes log and trap to community public, last fired 03:32:43 This example shows how to display the configured high-capacity RMON alarms: Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 646
Number of 64 bit hcalarms configured : 0 switch# Related Commands Command Description rmon alarm Configures the 32-bit RMON alarm. rmon event Configures an RMON event. rmon hcalarm Configures the 64-bit RMON alarm. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show running-config cdp show running-config cdp To display the Cisco Discovery Protocol (CDP) running configuration, use the show running-config cdp command. show running-config cdp [all] Syntax Description (Optional) Displays the running configuration with defaults. Defaults None Command Modes...
Page 648
Ethernet7/5 cdp enable interface Ethernet7/6 cdp enable interface Ethernet7/7 cdp enable interface Ethernet7/8 cdp enable --More-- switch(config)# Related Commands Command Description enable cdp Enables CDP on an interface. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
!Command: show running-config diagnostic all !Time: Fri Jan 15 22:22:01 2010 version 5.0(2) diagnostic bootup level complete switch(config)# Related Commands Command Description show startup-config Displays the startup-configuration diagnostics. diagnostic Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows the Embedded Event Manager (EEM) running configuration: switch# show running-config eem switch(config)# show running-config eem !Command: show running-config eem !Time: Fri Jan 15 22:23:28 2010 version 5.0(2) switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
!Time: Fri Jan 15 22:24:43 2010 version 5.0(2) logging level monitor 6 switch(config)# Related Commands Command Description show monitor Displays information about the SPAN configuration. show startup-config Displays information about the startup SPAN configuration. monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 654
Custom-Flow-Exporter-1 transport udp 9995 dscp 0 version 9 template data timeout 1800 option exporter-stats timeout 1200 switch(config)# Related Commands Command Description show startup-config Displays the startup NetFlow configurations. netflow Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 656
Show Commands show running-config ntp Related Commands Command Description show ntp Displays information about the NTP source interface. source-interface show startup-config Displays information about the startup NTP configuration of the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
0x1dc65f45a9d8e41dbccd76380946d6c3 priv 0x1dc65f45a9d8e41dbccd76380946d6c3 localizedkey switch(config)# Command Description Related Commands! show startup-config Displays the startup SNMP configuration. snmp show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Sampler Netflow-Sampler-1: mode 1 out-of 1000 switch(config)# Related Commands Command Description sampler Configures a sampler to collect data for a user selected packet ratio to preserve hardware resources. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
To enable the scheduler, use the feature scheduler command. This command does not require a license. Examples This example shows how to display the scheduler configuration: switch# show scheduler config config terminal feature scheduler scheduler logfile size 16 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 660
Last Execution Time: Tue Aug 10 09:48:00 2008 ----------------------------------------------- Job Name Status ----------------------------------------------- addMem Success (0) Related Commands Command Description scheduler Configures maintenance jobs. feature scheduler Enables the scheduler feature for scheduling maintenance jobs. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 662
______________________________________________________________ NOTIFICATION TARGET USERS (configured for sending V3 Inform) ______________________________________________________________ User Auth Priv ____ ____ ____ (EngineID 11:22:33:44:55) (EngineID 33:0:33:22:33) SNMP Tcp Authentication Flag : Enabled. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 663
Show Commands show snmp Related Commands Command Description snmp-server Configures SNMP community strings. community Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Use the show snmp community command to display a list of SNMP communities configured on a device. In Cisco NX-OS Release 4.0(2) and later releases, the show snmp-community command displays any SNMP contexts that are mapped to SNMPv2c communities. This command does not require a license.
Page 665
Show Commands show snmp community Related Commands Command Description snmp-server Configures SNMP community strings. community snmp-server mib Maps SNMP community strings to SNMP contexts. community-map Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the SNMP engine ID: switch(config)# show snmp engineID Local SNMP engineID: [Hex] 80000009030005300A0B0C [Dec] 128:000:000:009:003:000:005:048:010:011:012 Related Commands Command Description snmp-server user Configures SNMP target notification users. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 669
Predefined vdc operator role has access to all read commands within a VDC instance ------------------------------------------------------------------- Rule Perm Type Scope Entity ------------------------------------------------------------------- permit read Related Commands Command Description role name Configures security roles used as SNMP groups. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
------------------------------------------------------------------- Host Port Version Level Type SecName ------------------------------------------------------------------- 192.0.2.1 noauth trap Comm2 ------------------------------------------------------------------- 192.0.2.2 auth trap comm3 Use VRF: Blue ------------------------------------------------------------------- 192.0.2.10 auth trap testCommunity Filter VRF: Red ------------------------------------------------------------------- Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 671
Show Commands show snmp host Related Commands Command Description snmp-server host Configures SNMP hosts. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Examples This example shows how to display the SNMP sessions: switch(config)# show snmp sessions Related Commands Command Description snmp-server user Configures SNMP users. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.0(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 677
______________________________________________________________ NOTIFICATION TARGET USERS (configured for sending V3 Inform) ______________________________________________________________ User Auth Priv ____ ____ ____ (EngineID 11:22:33:44:55) Related Commands Command Description snmp-server user Configures SNMP users. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Usage Guidelines The SPROM on the physical device components contain detailed information about the hardware, including the serial number, part number, and revision numbered. This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 680
00 00 00 00 00 00 00 00 Second Serial number specific block: Block Signature : 0x6007 Block Version Block Length : 28 Block Checksum : 0x302 Serial Number : TBM11256507 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show startup-config cdp show startup-config cdp To display the Cisco Discovery Protocol (CDP) startup configuration, use the show startup-config cdp command. show startup-config cdp [all] Syntax Description (Optional) Displays the startup configuration with defaults. Defaults None Command Modes...
Page 682
Show Commands show startup-config cdp Related Commands Command Description show running-config Displays the running CDP configuration. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show startup-config cfs show startup-config cfs To display information about the Cisco Fabric Services (CFS) startup configuration, use the show startup-config cfs command. show startup-config cfs [all] Syntax Description (Optional) Displays all of the CFS startup configuration. Defaults...
This example shows how to display the Embedded Event Manager (EEM) startup configuration: switch# show startup-config eem !Command: show startup-config eem !Time: Tue Feb 2 22:41:25 2010 !Startup config saved at: Thu Jan 21 08:39:42 2010 version 5.0(2) switch# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
6 switch(config)# Related Commands Command Description show monitor Displays information about an Ethernet Switched Port Analyzer (SPAN). show running-config Displays the running configuration to the startup configuration. monitor Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
!Command: show startup-config netflow !Time: Tue Feb 2 22:43:13 2010 !Startup config saved at: Thu Jan 21 08:39:42 2010 version 5.0(2) feature netflow flow exporter new_flow_1 version 5 flow exporter new_flow_2 version 9 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 688
Custom-Flow-Exporter-1 version 9 option exporter-stats timeout 1200 switch# Related Commands Command Description show running-config Displays information about the NetFlow configuration that is currently netflow running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
!Startup config saved at: Thu Jan 21 08:39:42 2010 version 5.0(2) ntp server 192.0.2.10 use-vrf Red ntp peer 2001:db8::4101 ntp authenticate ntp authentication-key 42 md5 dJmhwKzd 7 ntp trusted-key 42 ntp logging ntp access-group peer NT_GLOBAL switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 690
Related Commands Command Description show ntp Displays information about the NTP source interface. source-interface show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Command Modes Any command mode Supported User Roles network-admin network-operator vdc-admin vdc-operator Command History Release Modification 4.1(2) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 692
Related Commands Command Description show running-config Displays the running SNMP configuration. snmp show port-monitor Displays active port-monitor policies. active Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display destination information for the system core files: switch# show system cores Cores are transferred to slot0: Related Commands Command Description system cores Configures the system core filename. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to display the memory status information: switch# show system memory-status MemStatus: OK Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Last pss shrink started on: Tue May 12 08:08:30 2009 switch(config)# Related Commands Command Description show system pss Displays the last PSS shrink status details. shrink status details Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Service "ospfv3" in vdc 1: pss shrink request not sent Service "rip" in vdc 1: pss shrink request not sent Service "eigrp" in vdc 1: pss shrink request not sent Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 698
Service "cmpproxy" in vdc 1: pss shrink completed successfully Service "confcheck" in vdc 1: pss shrink completed successfully --More-- Related Commands Command Description show system pss Displays the last PSS shrink status. shrink status Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Reason: Reset Requested by CLI command reload Service: Version: 4.0(2) ----- reset reason for Supervisor-module 5 (from Supervisor in slot 6) --- 1) No time Reason: Unknown Service: Version: 2) No time Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 700
Show Commands show system reset-reason Reason: Unknown Service: Version: Related Commands Command Description clear system reset-reason Clears the reset reason history for the device. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Not present switch# This example shows how to display the virtual device context (VDC) redundancy status: switch# show system redundancy ha status VDC No This supervisor Other supervisor ------ --------------- --------------- Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 702
Active with no standby vdc 2 Active with no standby vdc 3 Active with no standby vdc 4 switch# Related Commands Command Description system switchover Switches over to the standby supervisor. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Memory usage: 4135616K total, 1642556K used, 2493060K free 1188K buffers, 731988K cache switch(config)# Related Commands Command Description show processes cpu Displays the CPU utilization information for processes on the device. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to display the status of the system standby manual boot option: switch(config)# show system standby manual-boot system standby manual-boot option is enabled switch(config)# Related Commands Command Description system hap-reset Enables the Supervisor Reset HA policy. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 706
This command was introduced. Usage Guidelines Binary tech support is a log-collecting framework that collects logs internally from all Cisco NX-OS processes that are running on the device. The show tech-support all binary command collects logs from across the entire device, including VDCs, and line cards. The logs are saved under one tarball that can be easily transferred for later analysis.
Page 707
Response from module: 5 is: 0x0(SUCCESS/Success) Response from module: 6 is: 0x0(SUCCESS/Success) ------------------------------------------------------------- Please find the output here: bootflash:binary_show_tech_all_06_12_2013_14_26_05HRS.tar ------------------------------------------------------------- Related Commands Command Description bloggerd parse Parses logs from binary to ASCII format. log-buffer Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
`show checkpoint` ------------------------------------------------------------------------------- Name: stable version 4.0(2) power redundancy-mode combined force license grace-period feature vrrp feature tacacs+ feature ospf feature pim feature pim6 feature msdp feature eigrp feature rip feature isis Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 709
Show Commands show tech-support ascii-cfg feature pbr Related Commands Command Description show checkpoint Displays the contents of the checkpoint file. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Show Commands show tech-support cfs show tech-support cfs To display information about the Cisco Fabric Services (CFS) configuration required by technical support, use the show tech-support cfs command. show tech-support cfs {commands | [name application_name {commands}]} Syntax Description commands Displays all related CFS commands for use when working with technical support on a CFS issue.
Page 711
Displays all the CFS applications with peers and region information. show cfs static Displays all CFS static peers with their status. show cfs status Displays the status of CFS distribution on the device as well as IP distribution information. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to save the output of the show tech-support session-mgr command to a file: switch# show tech-support session-mgr > bootflash:output Related Commands Command Description show configuration Displays information about the configuration sessions. session Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to save the output of the show tech-support snmp command to a file: switch# show tech-support snmp > bootflash:output Related Commands Command Description snmp-server Configures SNMP community strings. community Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Examples This example shows how to display information about the status of the XML server: switch(config)# show xml server status operational status is enabled maximum session configured is 8 switch(config)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
T Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter T. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
“shutdown” switch(config-applet)# tag one or two happens 1 in 10000 switch(config-applet)# action 1.0 cli show interface e 3/1 Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 717
T Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to remove the template data timeout parameter configuration: switch(config-flow-exporter)# version 9 switch(config-flow-exporter-version-9)# no template data timeout 120 Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to prevent the CLI commands that match an EEM policy from running: switch# terminal no event-manager bypass switch# Related Commands Command Description event manager policy Registers an Embedded Event Manager (EEM) policy with the EEM. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Warning: This command will reboot the system if watchdog is functioning properly Do you wish to proceed anyway? (y/n) Related Commands Command Description system watchdog Enables the watchdog feature. system no watchdog Disables the watchdog feature. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This command does not require a license. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 722
Configures a VRF to send Call home messages using HTTP. transport email Distributes the SMTP server configuration to devices that run Release 4.2 smtp-server or earlier releases. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Configures the HTTP proxy server domain name server (DNS) name, IPv4 server address, or IPv6 address. show callhome Displays the transport-related configuration for Smart Call Home. transport Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Description transport http proxy Enables Smart Call Home to send all HTTP messages through the HTTP enable proxy server. show callhome Displays the transport-related configuration for Smart Call Home. transport Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Blue switch(config-callhome)# Related Commands Command Description transport email Configures multiple SMTP servers as the domain name server (DNS) mail-server names, IPv4 addresses, or IPv6 addresses for Call home. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
200 switch(config-flow-exporter)# This example shows how to remove the UDP configuration: switch(config-flow-exporter)# no transport udp 200 switch(config-flow-exporter)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
V Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter V. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to verify a configuration session: switch# configure session myACLs switch(config-s)# verify switch(config-s)# Related Commands Command Description commit Commits the commands in the configuration session. abort Deletes the session and exists session configuration mode. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
9: switch(config-flow-exporter-version-5)# no version 5 switch(config-flow-exporter)# Related Commands Command Description show flow exporter Displays information about NetFlow exporters. version 9 Configures the NetFlow exporter to version 9. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 730
This command does not require a license. Examples This example shows how to specify the name of the flow exporter that is created or modified. switch(config)# flow exporter flow-export-test switch(config-flow-exporter)# version 9 switch(config-flow-exporter-version-9)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 731
Related Commands Command Description flow exporter Creates a flow exporter. flow monitor Creates a flow monitor. flow record Creates a flow record. sampler Creates a flow sampler. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure a VRF instance for the ERSPAN destination: switch# configure terminal switch(config)# monitor session 2 type erspan-destination switch(config-erspan-dst)# vrf default switch(config-erspan-dst)# Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 733
Applies an access control group to an ERSPAN source session. monitor-session Enters the monitor configuration mode for configuring an ERSPAN or SPAN session for analyzing traffic between ports. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 734
V Commands Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
X Commands This chapter describes the Cisco NX-OS system management commands that begin with the letter X. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to reset the number of allowed XML server sessions to the default: switch(config)# no xml server max-session 4 Related Commands Command Description show xml server status Displays information about the status of the XML server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to terminate an XML server session: switch(config)# xml server terminate session 3 Related Commands Command Description show xml server status Displays information about the status of the XML server. Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to configure the XML server timeout for active sessions: switch(config)# xml server timeout 800 This example shows how to reset the timeout to the default: switch(config)# no xml server timeout 800 Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
This example shows how to validate XML documents for all active sessions: switch(config)# xml server validate all This example shows how to disable validation of XML documents for all sessions: switch(config)# no xml server validate all Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 740
It uses XML-based encoding for configuration data and protocol messages. The Cisco NX-OS implementation of the NETCONF protocol supports the following protocol operations: <get>, <edit-config>, <close-session>, <kill-session>, and <exec-command>.
Page 741
XMLIN requires no license. Any feature not included in a license package is bundled with the Cisco Note NX-OS system images and is provided at no extra charge to you. For a complete explanation of the Cisco NX-OS licensing scheme, see the Cisco NX-OS Licensing Guide.
Page 742
This example shows how to convert the output of the show interface brief command to XML: switch# show interface brief | xmlin <?xml version="1.0"?> <nf:rpc xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://www.cisco.com/nxos:6.2.2.:if_manager" message-id="1"> <nf:get> <nf:filter type="subtree"> <show> <interface> <brief/> </interface> </show> </nf:filter> </nf:get> </nf:rpc> ]]>]]> Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...
Page 746
User process uucp UNIX-to-UNIX copy system vdc_mgr VDC manager vlan_mgr VLAN manager VMM manager vrrp_cfg VRRP engine and configuration manager vshd VSHD manager xbar_client XBAR client manager xml server XML agent Cisco Nexus 7000 Series NX-OS System Management Command Reference OL-25806-03...