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...