Page 1
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 3000 Series NX-OS System...
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 7
1212 show logging last 1213 show logging level 1214 show logging logfile 1216 show logging module 1217 show logging monitor 1218 show logging nvram 1219 show logging onboard 1220 Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Page 8
1256 show ptp port 1258 show ptp time-property 1260 show rmon 1261 show running-config 1263 show running-config callhome 1265 show running-config eem 1266 show running-config exclude-provision 1268 Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Preface This preface describes the audience, organization, and conventions of the Cisco Nexus 3000 Series NX-OS System Management Command Reference. It also provides information on how to obtain related documentation.
Means reader be careful. In this situation, you might do something that could result in equipment Caution damage or loss of data. Related Documentation Documentation for the Cisco Nexus 3000 Series Switch is available at the following URL: http://www.cisco.com/en/US/products/ps11541/tsd_products_support_series_home.html The documentation set is divided into the following categories: Release Notes The release notes are available at the follwing URL: http://www.cisco.com/en/US/products/ps11541/prod_release_notes_list.html...
Subscribe to What’s New in Cisco Product Documentation, which lists all new and revised Cisco technical documentation as an RSS feed and delivers content directly to your desktop using a reader application. The RSS feeds are a free service.
Page 14
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 3000 Series NX-OS System Management Command Reference...
3000 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/products/ps11541/tsd_products_support_series_home.html To check for additional information about this Cisco NX-OS Release, see the Cisco Nexus 3000 Series Switch Release Notes available at the following Cisco website: http://www.cisco.com/en/US/products/ps11541/prod_release_notes_list.html...
Page 16
SPAN with ACL filtering This feature was introduced. 6.0(2)U2(1) filter access-group Configurable SPAN This feature was introduced. 5.0(3)U5(1) switchport mode monitor buffer limit buffer-limit Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Page 17
Switching Scheduler This feature was introduced. 5.0(3)U3(1) clear scheduler logfile feature scheduler scheduler show scheduler Quad Small Form-factor Updated the filter access-group command. 5.0(3)U3(1) filter access-group Pluggable (QSFP+) Port Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Page 18
Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Page 19
Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Page 20
(NTP) You can configure NTP peers and servers. ntp abort ntp access-group ntp disable ntp logging show mpls strip labels show ntp pending-diff show ntp pending-diff show ntp status Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
(Call Home) streetaddress (Call Home) switch-priority (Call Home) transport email (Call Home) Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Page 22
(VRF) You can configure VRF, VRF-lite features, ip domain-lookup and the IP features for a VRF. ip domain-name ip host ip name-server show hardware forwarding memory health summary Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
Page 24
(session) Remote Monitoring This feature was introduced. 5.0(3)U1(1) rmon alarm (RMON) You can configure RMON alarms on a Cisco rmon event NX-OS switch. rmon hcalarm show rmon Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04...
System Management Commands This chapter describes the Cisco NX-OS system management commands available on Cisco Nexus 3000 Series switches. Cisco Nexus 3000 Series NX-OS System Management Command Reference OL-29557-04 SM-1...
Page 26
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m abort (Call Home) To discard Call Home configuration changes and release the Cisco Fabric Services (CFS) lock, use the abort command.
Page 27
Related Commands Command Description commit Commits a session. configure session Creates a configuration session. show configuration Displays the contents of the session. session verify Verifies a session. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-3 OL-29557-04...
Specifies that the default action for the event is to be performed when an Embedded Event Manager (EEM) applet is triggered. action policy-default Enables the default action of the policy being overridden. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-4 OL-29557-04...
Page 29
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager (EEM) applet is triggered. action snmp-trap Specifies the generation of a Simple Network Management Protocol (SNMP) trap when an Embedded Event Manager (EEM) applet is triggered.
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 3000 Series NX-OS System Management Command Reference -SM-6 OL-29557-04...
Enables the default action of the policy being overridden. action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager (EEM) applet is triggered. action snmp-trap Specifies the generation of a Simple Network Management Protocol (SNMP) trap when an Embedded Event Manager (EEM) applet is triggered.
Page 32
Configures a virtual shell (VSH) command string to be executed when an Embedded Event Manager (EEM) applet is triggered. action counter set or modify a named counter when an Embedded Event Manager (EEM) applet is triggered. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-8 OL-29557-04...
Enables the default action of the policy being overridden. action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager (EEM) applet is triggered. action snmp-trap Specifies the generation of a Simple Network Management Protocol (SNMP) trap when an Embedded Event Manager (EEM) applet is triggered.
Specifies that the default action for the event is to be performed when an Embedded Event Manager (EEM) applet is triggered. action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager (EEM) applet is triggered. Cisco Nexus 3000 Series NX-OS System Management Command Reference...
Specifies the generation of a Simple Network Management Protocol (SNMP) trap when an Embedded Event Manager (EEM) applet is triggered. action syslog Configures a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-11 OL-29557-04...
Page 36
Usage Guidelines This command does not require a license. Examples This example shows how to specify the action of reloading the Cisco Nexus 3000 Series 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...
Specifies the generation of a Simple Network Management Protocol (SNMP) trap when an Embedded Event Manager (EEM) applet is triggered. action syslog Configures a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-13 OL-29557-04...
Page 38
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 3000 Series NX-OS System Management Command Reference -SM-14 OL-29557-04...
Page 39
Enables the default action of the policy being overridden. action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager (EEM) applet is triggered. action syslog Configures a syslog message to generate when an Embedded Event Manager (EEM) applet is triggered.
Page 40
Messages written to the syslog from an EEM applet are not screened for EEM syslog events, which might lead to recursive EEM syslog events. Messages that are sent from an EEM applet include the applet name for identification. This command does not require a license. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-16 OL-29557-04...
Page 41
Enables the default action of the policy being overridden. action reload Specifies the action of reloading the Cisco Nexus 3000 Series software when an Embedded Event Manager (EEM) applet is triggered. action snmp-trap Specifies the generation of a Simple Network Management Protocol (SNMP) trap when an Embedded Event Manager (EEM) applet is triggered.
Call Home message. You can assign a maximum of five user-defined CLI show commands to an alert group. You must enclose the show command in double quotes. Only valid show commands are accepted. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-18 OL-29557-04...
“show running-config” switch(config-callhome)# Related Commands Command Description copy running-config Saves this configuration change. startup-config show callhome Displays information about all user-defined show commands added to alert user-def-cmd groups. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-19 OL-29557-04...
Page 44
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m callhome To configure the Cisco Smart Call Home service and enter the callhome configuration mode, use the callhome command.
Related Commands Command Description show callhome Displays Call Home configuration information. show running-config Displays the running configuration information for Call Home. callhome Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-21 OL-29557-04...
Related Commands Command Description show callhome Displays Call Home configuration information. show running-config Displays the running configuration information for Call Home. callhome Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-22 OL-29557-04...
Examples This example shows how to clear the logging logfile: switch# clear logging logfile switch# Related Commands Command Description show logging logfile Displays the messages in the log file. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-25 OL-29557-04...
This command was introduced. 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 3000 Series NX-OS System Management Command Reference -SM-26 OL-29557-04...
This example shows how to clear the OBFL stack trace entries: switch# clear logging onboard stack-trace switch# Related Commands Command Description show logging onboard Displays onboard failure logs. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-27 OL-29557-04...
This command was introduced. 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 3000 Series NX-OS System Management Command Reference -SM-28 OL-29557-04...
This command was introduced. Examples This example shows how to discard the NTP distribution session in progress: switch# clear ntp session switch# Related Commands Command Description show ntp Displays NTP information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-31 OL-29557-04...
This command was introduced. Examples This example shows how to discard the NTP I/O statistics: switch# clear ntp statistics io switch# Related Commands Command Description show ntp Displays NTP information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-32 OL-29557-04...
This example shows how to clear all PTP counters: switch# clear ptp counters all switch# Related Commands Command Description feature ptp Enables PTP on the switch. show running-config Displays the PTP running system configuration information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-33 OL-29557-04...
This command does not require a license. Examples This example shows how clear the scheduler log file: switch# configure terminal switch(config)# clear schedueler logfile switch(config)# Related Commands Command Description show scheduler Displays the scheduler configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-34 OL-29557-04...
This command does not require a license. Examples This example shows how clear the sFlow statistics: switch# configure terminal switch(config)# clear sflow statistics switch(config)# Related Commands Command Description show sflow Displays the sFlow configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-35 OL-29557-04...
Beginning in Release 7.0(3)I2(1), this command will not set the clock. To change the clock Note manually, see the Cisco Nexus 3000 Series NX-OS Fundamentals Configuration Guide. clock protocol {none | ntp | ptp} no clock protocol {none | ntp | ptp}...
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m commit (Call Home) To commit Call Home configuration changes and distribute the changes to call Cisco Fabric Services (CFS)-enabled devices, use the commit command.
MySession switch(config-s)# commit switch(config-s)# Related Commands Command Description configure session Creates a configuration session. show configuration Displays the contents of the session. session verify Verifies a session. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-38 OL-29557-04...
5.0(3)U1(1) This command was introduced. Usage Guidelines You can configure the customer identification information that Cisco Smart Call Home should use. The service agreement includes the customer identification information, such as the customer ID, contract ID, and site ID. Examples...
5.0(3)U1(1) This command was introduced. Usage Guidelines You can configure the customer identification information that Cisco Smart Call Home should use. The service agreement includes the customer identification information, such as the customer ID, contract ID, and site ID. Examples...
Configures a descriptive string for the policy. event Configures the event statement for the policy. show event-manager Correlates multiple events in the policy. policy state Displays information about the status of the configured policy. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-41 OL-29557-04...
9 type erspan-source switch(config-erspan-src)# description An ERSPAN session switch(config-erspan-src)# Related Commands Command Description destination (SPAN Configures a destination SPAN port. session) monitor session Creates a new SPAN session configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-42 OL-29557-04...
Page 67
Description show monitor session Displays SPAN session configuration information. show running-config Displays the running configuration information of a SPAN session. monitor source (SPAN session) Configures a source SPAN port. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-43 OL-29557-04...
Displays SPAN session configuration information. show running-config Displays the running configuration information of a SPAN session. monitor source (SPAN session) Configures a source SPAN port. source (ERSPAN Configures a source VLAN interface. session) Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-44 OL-29557-04...
Displays SPAN session configuration information. show running-config Displays the running configuration information of a SPAN session. monitor source (SPAN session) Configures a source SPAN port. source (ERSPAN Configures a source VLAN interface. session) Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-45 OL-29557-04...
• Syslog-group-port—Syslog message events filed by the port manager • • System—Software-related events • Test—User-generated test events email-addr Specifies the e-mail address to which the alert should be sent. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-46 OL-29557-04...
Page 71
Message format: XML. Message size: 2500000 for full-txt-destination, 4000 for short-txt-destination, and 4000000 for XML format. Message level: 0 Alert group: All for full-text-destination and short-text-destination profiles. The cisco-tac alert group for the CiscoTAC-1 destination profile. Command Modes Callhome configuration mode...
Page 72
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m The Cisco Nexus 3000 Series switch does not generate an alert if the Call Home severity level of the alert is lower than the message severity level set for the destination profile.
Related Commands Command Description show diagnostic Displays the bootup diagnostics level. bootup level show diagnostic Displays the results of the diagnostics tests. bootup result Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-49 OL-29557-04...
This example shows how to enable duplicate alert message throttling for Call Home: switch# configure terminal switch(config)# callhome switch(config-callhome)# duplicate-message throttle switch(config-callhome)# Related Commands Command Description copy running-config Saves this configuration change. startup-config show callhome Displays Call Home configuration information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-50 OL-29557-04...
Saves this configuration change. startup-config phone-contact Configures the phone number for the primary person responsible for the switch. show callhome Displays a summary of the Call Home configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-51 OL-29557-04...
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m enable (Call Home) To enable the Cisco Smart Call Home service after you have configured the contact information, use the enable command. To disable the Smart Call Home service, use the no form of this command.
Page 77
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description copy running-config Saves this configuration change. startup-config email-contact Configures the e-mail address. show callhome Displays a summary of the Call Home configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-53 OL-29557-04...
To specify the event criteria for an Embedded Event Manager configuration mode(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.
• ne—Not equal to If there is a match, an event is triggered and event monitoring is reenabled. Defaults None Command Modes Embedded event manager configuration mode Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-55 OL-29557-04...
Page 80
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 3000 Series NX-OS System Management Command Reference -SM-56 OL-29557-04...
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 600 switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-57 OL-29557-04...
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 1200 switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-58 OL-29557-04...
Configures a descriptive string for the policy. event Configures the event statement for the policy. show event-manager Correlates multiple events in the policy. policy state Displays information about the status of the configured policy. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-59 OL-29557-04...
This example shows how to remove the event manager variable: switch(config)# no event manager environment emailto “admin@abc.com” switch(config)# Related Commands Command Description show event manager Displays information about the configured environment variables. environment Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-60 OL-29557-04...
Before using the event manager policy command, define a policy by using the virtual shell (VSH) script and copy the file to the system directory. For information on how to define a policy, see the Cisco Nexus 3000 Series NX-OS System Management Configuration Guide.
Before using the event manager policy internal command, define a policy by using the virtual shell (VSH) script and copy the file to the system directory. For information on how to define a policy, see the Cisco Nexus 3000 Series NX-OS System Management Configuration Guide. This command does not require a license.
This example shows how to specify that an EEM applet runs when a memory threshold is exceeded: switch# configure terminal switch(config) event manager applet cli-event switch(config-applet)# event memory critical switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-63 OL-29557-04...
This example shows how to specify that an EEM applet runs when an OIR occurs: switch# configure terminal switch(config) event manager applet cli-event switch(config-applet)# event oir fan remove 1 switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-64 OL-29557-04...
This example shows how to configure an event in case a system policy is being overridden: switch# configure terminal switch(config) event manager applet cli-event switch(config-applet)# event policy-default count 15 time 1500 switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-65 OL-29557-04...
• 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 3000 Series NX-OS System Management Command Reference -SM-66 OL-29557-04...
Page 91
1 to 2147483647. Defaults None Command Modes Embedded event manager configuration mode Command History Release Modification 5.0(3)U3(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-67 OL-29557-04...
Page 92
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 30000 switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-68 OL-29557-04...
This command does not require a license. Examples This example shows how to specify that an EEM applet runs when a storm-control occurs: switch# configure terminal switch(config) event manager applet cli-event switch(config-applet)# event storm-control switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-69 OL-29557-04...
Identifies this specific event when multiple events are included in the policy. Defaults None Command Modes Embedded event manager configuration mode Command History Release Modification 5.0(3)U3(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-70 OL-29557-04...
Page 95
This example shows how to specify that an EEM applet runs when a syslog message is matched: switch# configure terminal switch(config) event manager applet cli-event switch(config-applet)# event syslog period 120 pattern "inteface ethernet 1/3 state down" Configuration accepted successfully switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-71 OL-29557-04...
The range is from 1 to 4294967295. Defaults None Command Modes Embedded event manager configuration mode Command History Release Modification 5.0(3)U3(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-72 OL-29557-04...
Page 97
34 minor 76 clear 10 Configuration error. memroy threshold policy has to override the default syste policy of __sysmgr_policy_mem_alert. switch(config-applet)#switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-73 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-74 OL-29557-04...
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 20 state down switch(config-applet)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-75 OL-29557-04...
This example shows how to disable NTP: switch# configure terminal switch(config)# no feature ntp Related Commands Command Description ntp master Configures the device to act as an authoritative NTP server. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-76 OL-29557-04...
Configures the domain number to use for this clock. 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 3000 Series NX-OS System Management Command Reference -SM-77 OL-29557-04...
Page 102
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-78 OL-29557-04...
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m feature scheduler To enable the scheduler feature on a Cisco NX-OS device, use the feature scheduler command. To disable the schedule feature, use the no form of this command.
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m feature sflow To enable the scheduler feature on a Cisco NX-OS device, use the feature sflow command. To disable the schedule feature, use the no form of this command.
1 threshold 80 switch(config)# Related Commands Command Description copy running-config Copies the running configuration to the startup-configuration file. startup config show running-config Displays the information for the running configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-82 OL-29557-04...
In addition, the command must be enabled and after the configuration is saved, the system should be rebooted for the command to take effect. Examples This example shows how to clear parity errors in a Layer 2 table: switch# configure terminal Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-83 OL-29557-04...
Page 108
This example shows how to clear parity errors in a Layer 3 table: switch# configure terminal switch(config)# hardware profile parity-error l3-table clear switch(config)# copy running-config startup-config switch(config)# reload Related Commands Command Description reload Reloads the Cisco Nexus 3000 Series switch software. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-84 OL-29557-04...
This command was introduced. Usage Guidelines You can use this command on all Cisco Nexus 3000 Series and Cisco Nexus 3100 Series switches. Ensure that you run the copy running-config to startup-config command to save the configuration to startup, and reload the switch to enable tap-aggregation.
Host table, IPV4 Host routes will be programmed in LPM table if possible. With the introduction of the ALPM Mode (system routing max-mode l3) on the Cisco Nexus 3100 series switches, an additional syslog is introduced (one of the two, depending on whether the ALPM mode is enabled or not).
Page 111
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description copy running-config Copies the running configuration to the startup-configuration file. startup config show running-config Displays the information for the running configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-87 OL-29557-04...
Creates a configuration session. deny Configures a deny rule in an IPv4 ACL. permit Configures a permit rule in an IPv4 ACL. show configuration Displays the contents of the session. session Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-88 OL-29557-04...
VRF: switch# configure terminal switch(config)# vrf context management switch(config-vrf)# exit switch(config)# ip domain-name Mysite.com use-vrf management Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-89 OL-29557-04...
Page 114
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m switch(config)# ip name-server 192.0.2.1 switch(config)# ip domain-list Mysite2.com switch(config)# Related Commands Command Description show hosts Displays information about the IP domain name configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-90 OL-29557-04...
Mysite.com use-vrf management switch(config)# ip name-server 192.0.2.1 switch(config)# ip domain-lookup switch(config)# Related Commands Command Description show hosts Displays information about the DNS. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-91 OL-29557-04...
VRF as a backup if the domain name cannot be resolved through the default VRF: switch# configure terminal switch(config)# vrf context management switch(config-vrf)# exit switch(config)# ip domain-name Mysite.com use-vrf management switch(config)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-92 OL-29557-04...
Page 117
Command Description ip domain-list Configures the IP domain list. ip domain-lookup Enables the Domain Name Server (DNS) lookup feature. show hosts Displays information about the IP domain name configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-93 OL-29557-04...
This example shows how to configure a static hostname: switch# configure terminal switch(config)# ip host mycompany.com 192.0.2.1 switch(config)# Related Commands Command Description show hosts Displays information about the IP domain name configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-94 OL-29557-04...
This example shows how to configure the IP name server for the default VRF to use the management VRF as a backup if the IP name server cannot be reached through the default VRF: switch# configure terminal switch(config)# vrf context management switch(config-vrf)# exit Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-95 OL-29557-04...
Page 120
Defines a list of domains. ip domain lookup Enables DNS-based host name-to-address translation. show hosts Displays information about the IP domain name configuration. vrf context Creates a virtual routing and forwarding (VRF) instance. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-96 OL-29557-04...
1/2 switch(config-s-if)# no ip port access-group ip-acl-01 in switch(config-s-if)# Related Commands Command Description show access-lists Displays all ACLs. show configuration Displays the contents of the session. session Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-97 OL-29557-04...
Enables the distribution of the syslog server configuration to network switches using the CFS infrastructure. show logging pending Displays the pending changes to the syslog server configuration. show logging status Displays the logging status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-98 OL-29557-04...
Related Commands Command Description logging distribute Enables the distribution of the syslog server configuration to network switches using the CFS infrastructure. show logging status Displays the logging status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-99 OL-29557-04...
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)# Related Commands Command Description show logging console Displays the console logging configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-100 OL-29557-04...
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m logging distribute To enable the distribution of the syslog server configuration to network switches using the Cisco Fabric Services (CFS) infrastructure, use the logging distribute command. To disable the distribution, use the no form of this command.
Related Commands Command Description show logging Displays the logging status. show switch-profile Displays information about the switch profile and the configuration revision. switch-profile Creates or configures a switch profile. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-102 OL-29557-04...
1/1 switch(config-if)# logging event port link-status default switch(config-if)# Related Commands Command Description show interface Displays the interface configuration information. show logging Displays the logging status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-103 OL-29557-04...
This example shows how to log interface events: switch# configure terminal switch(config)# logging ip access-list cache entries 5000 switch(config)# Related Commands Command Description show logging Displays the logging status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-104 OL-29557-04...
This example shows how to log interface events: switch# configure terminal switch(config)# logging ip access-list cache interval 120 switch(config)# Related Commands Command Description show logging Displays the logging status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-105 OL-29557-04...
This example shows how to log interface events: switch# configure terminal switch(config)# logging ip access-list cache threshold 500000 switch(config)# Related Commands Command Description show logging Displays the logging status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-106 OL-29557-04...
2 switch(config)# This example shows how to enable error logging messages for the Precision Time Protocol (PTP) packets: switch# configure terminal switch(config)# logging level ptp 3 Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-107 OL-29557-04...
Page 132
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m switch(config)# Related Commands Command Description show logging level Displays the facility logging level configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-108 OL-29557-04...
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)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-109 OL-29557-04...
Page 134
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description show logging logfile Displays the log file. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-110 OL-29557-04...
Examples This example shows how to enable module log messages: switch# configure terminal switch(config)# logging module switch(config)# Related Commands Command Description show logging module Displays the module logging status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-111 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-112 OL-29557-04...
Specifies the management VRF. This is the default VRF. Command Default The default outgoing facility is local7. The default VRF is management. Command Modes Global configuration mode Command History Release Modification 5.0(3)U1(1) This command was introduced. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-113 OL-29557-04...
Page 138
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 3000 Series NX-OS System Management Command Reference -SM-114 OL-29557-04...
This example shows how to enable a source interface for the syslog server: switch# configure terminal switch(config)# logging source-interface ethernet 2/1 Related Commands Command Description show logging info Displays the configured syslog information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-115 OL-29557-04...
Page 140
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 3000 Series NX-OS System Management Command Reference...
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 3000 Series NX-OS System Management Command Reference -SM-117 OL-29557-04...
This command was introduced. Usage Guidelines You can use this command on all Cisco Nexus 3000 Series and Cisco Nexus 3100 Series switches. To be able to apply an ACL with a Tap Aggregation policy on an interface, you must run the mode tap-aggregation command.
This command was introduced. Usage Guidelines When you change the origin IP address, it impacts all the sessions. On a Cisco Nexus 3000 Series switch, only global origin IP address is supported. Note This command does not require a license.
After you create an ERSPAN session, you can describe the session and add interfaces and VLANs as sources and destinations. This command does not require a license. Examples This example shows how to create a SPAN session: switch# configure terminal switch(config)# monitor session 2 switch(config)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-120 OL-29557-04...
Page 145
Sets the time-to-live (TTL) value for an ERSPAN packet. mtu (ERSPAN) Sets the maximum transmission value (MTU) for ERSPAN packets. show monitor session Displays SPAN session configuration information. source (SPAN, Adds a SPAN source port. ERSPAN) Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-121 OL-29557-04...
100 switch(config)# This example shows how to delete a static MPLS label: switch# configure terminal switch(config)# no mpls strip label 100 switch(config)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-124 OL-29557-04...
Page 149
Clears dynamic label entries. dynamic mpls strip label-age Configures MPLS label aging. mpls strip dest-mac Configures the destination MAC address for stripped egress frames. show mpls strip labels Displays MPLS label configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-125 OL-29557-04...
Adds or deletes static MPLS labels. mpls strip dest-mac Configures the destination MAC address for stripped egress frames. show mpls strip labels Displays MPLS label configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-126 OL-29557-04...
Page 151
This example shows how to form a peer association with a peer: switch# configure terminal switch(config)# ntp peer 192.168.10.0 switch(config)# This example shows how to delete an association with a peer: switch# configure terminal switch(config)# no ntp peer 192.168.10.0 switch(config)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-127 OL-29557-04...
Page 152
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description ntp distribute Enables CFS distribution for NTP. show ntp Displays NTP information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-128 OL-29557-04...
Related Commands Command Description ntp distribute Enables CFS distribution for NTP. show ntp Displays NTP information. ntp commit Commits the NTP configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-129 OL-29557-04...
This example shows how to configure a peer access group for NTP: switch# configure terminal switch(config)# ntp access-group peer Admin_Group_123 switch(config)# This example shows how to remove an NTP peer access group: switch# configure terminal Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-130 OL-29557-04...
Page 155
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m switch(config)# no ntp access-group peer Admin_Group_123 switch(config)# Related Commands Command Description show ntp Displays the NTP access groups. access-groups Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-131 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-132 OL-29557-04...
Page 157
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 3000 Series NX-OS System Management Command Reference -SM-133 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-134 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-135 OL-29557-04...
Time accuracy is marginally reduced in NTP broadcast associations because information flows only one Note 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 3000 Series NX-OS System Management Command Reference -SM-136 OL-29557-04...
This example shows how to commit changes to the active NTP configuration: switch# configure terminal switch(config)# ntp commit switch(config)# Related Commands Command Description ntp distribute Enables CFS distribution for NTP. show ntp Displays NTP information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-137 OL-29557-04...
Command History Release Modification 6.0(2)U(2)1 This command was introduced. Usage Guidelines This command does not require a license. Examples This example shows how to disable NTP: switch# ntp disable Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-138 OL-29557-04...
This example shows how to distribute the active NTP configuration: switch# configure terminal switch(config)# ntp distribute switch(config)# Related Commands Command Description ntp commit Commits the NTP configuration changes to the active configuration. show ntp Displays NTP information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-139 OL-29557-04...
This example shows how to enable NTP logging: switch# configure terminal switch(config)# ntp logging switch(config)# This example shows how to disable NTP logging: switch# configure terminal switch(config)# no ntp logging switch(config)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-140 OL-29557-04...
Page 165
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description show ntp Displays the NTP logging status. logging-status show ntp statistics Displays the NTP statistics. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-141 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-142 OL-29557-04...
Page 167
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-143 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-144 OL-29557-04...
Page 169
Related Commands Command Description 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 3000 Series NX-OS System Management Command Reference -SM-145 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-146 OL-29557-04...
Page 171
Related Commands Command Description ntp multicast Configures an NTP multicast server on an interface. show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-147 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-148 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-149 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-150 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-151 OL-29557-04...
This example shows how to retry synchronization with the configured NTP servers: switch# ntp sync-retry switch# Related Commands Command Description ntp distribute Enables CFS distribution for NTP. show ntp Displays NTP information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-152 OL-29557-04...
This example shows how to remove the NTP trusted key: switch# configure terminal switch(config)# no ntp trusted-key 42 switch(config)# Related Commands Command Description show ntp trusted-keys Displays the status of NTP authentication. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-153 OL-29557-04...
5 switch(config-callhome)# This example shows how to disable a periodic inventory notification for Call Home: switch# configure terminal switch(config)# callhome switch(config-callhome)# no periodic-inventory notification interval 5 switch(config-callhome)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-154 OL-29557-04...
Page 179
Related Commands Command Description copy running-config Saves this configuration change. startup-config show callhome Displays Call Home configuration information. show running-config Displays the running configuration information for Call Home. callhome Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-155 OL-29557-04...
Saves this configuration change. startup-config show callhome Displays a summary of the Call Home configuration. streetaddress Configures the street address for the primary person responsible for the switch. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-156 OL-29557-04...
Page 181
Configures the source IP address for all PTP packets. ptp sync interval Configures the interval between PTP synchronization messages on an interface. ptp vlan Configures the PTP VLAN value on an interface. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-157 OL-29557-04...
This example shows how to remove the interval configuration for PTP messages from an interface: switch# configure terminal switch(config)# interface ethernet 1/5 switch(config-if)# no ptp announce interval 1 switch(config-if)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-158 OL-29557-04...
Page 183
Configures the source IP address for all PTP packets. ptp sync interval Configures the interval between PTP synchronization messages on an interface. ptp vlan Configures the PTP VLAN value on an interface. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-159 OL-29557-04...
1/5 switch(config-if)# no ptp delay-request minimum interval 3 switch(config-if)# Related Commands Command Description feature ptp Enables or disables PTP on the device. Enables or disables PTP on an interface. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-160 OL-29557-04...
Page 185
Configures the source IP address for all PTP packets. ptp sync interval Configures the interval between PTP synchronization messages on an interface. ptp vlan Configures the PTP VLAN value on an interface. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-161 OL-29557-04...
Configures the priority2 value to use when advertising this clock. ptp source Configures the source IP address for all PTP packets. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-162 OL-29557-04...
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 3000 Series NX-OS System Management Command Reference -SM-163 OL-29557-04...
Configures the priority1 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 3000 Series NX-OS System Management Command Reference -SM-164 OL-29557-04...
Configures the domain number to use for this clock. 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 3000 Series NX-OS System Management Command Reference -SM-165 OL-29557-04...
Page 190
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-166 OL-29557-04...
PTP communication. A Cisco Nexus 3000 Series switch must be synchronized on the Slave port with a sync log interval value of less than or equal to -3. Any Master ports on the switch that are connected to downlink Cisco Nexus 3000 Series switches must be configured for a sync log interval value that is less than or equal to -3.
Page 192
Configures the minimum interval allowed between PTP delay-request minimum interval messages when the port is in the master state. ptp vlan Configures the PTP VLAN value on an interface. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-168 OL-29557-04...
9 switch(config-if)# This example shows how to remove the PTP VLAN value from an interface: switch# configure terminal switch(config)# interface ethernet 1/5 switch(config-if)# no vlan 9 switch(config-if)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-169 OL-29557-04...
Page 194
Configures the minimum interval allowed between PTP delay-request minimum interval messages when the port is in the master state. ptp sync interval Configures the interval between PTP synchronization messages on an interface. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-170 OL-29557-04...
(Optional) Specifies an owner for the alarm. The name can be any alphanumeric string. Command Default None Command Modes Global configuration mode Command History Release Modification 5.0(3)U1(1) This command was introduced. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-171 OL-29557-04...
Page 196
Saves the running configuration to the startup configuration file. startup-config snmp-server enable Enables SNMP notifications on the switch. traps snmp-server user Configures an SNMP user. show rmon Displays information about RMON alarms and events. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-172 OL-29557-04...
1 owner test switch(config)# Related Commands Command Description copy running-config Saves the running configuration to the startup configuration file. startup-config snmp-server enable Enables SNMP notifications on the switch. traps Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-173 OL-29557-04...
Page 198
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description snmp-server user Configures an SNMP user. show rmon Displays information about RMON alarms and events. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-174 OL-29557-04...
(Optional) Specifies an owner for the alarm. The name can be any alphanumeric string. Command Default None Command Modes Global configuration mode Command History Release Modification 5.0(3)U1(1) This command was introduced. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-175 OL-29557-04...
Page 200
Saves the running configuration to the startup configuration file. startup-config snmp-server enable Enables SNMP notifications on the switch. traps snmp-server user Configures an SNMP user. show rmon Displays information about RMON alarms and events. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-176 OL-29557-04...
255 character in this format: abc@xyz.com. smtp-server Specifies the Simple Mail Transport Protocol server, which can be a DNS name or an IPv4 or IPv6 address. Defaults None Command Modes Job configuration Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-177 OL-29557-04...
Page 202
This example shows how to remove a scheduler job schedule: switch(config)# no scheduler schedule name daily Related Commands Command Description feature scheduler Enables the scheduler. show scheduler Displays scheduler information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-178 OL-29557-04...
This example shows how to configure the IPv4 address of the sFlow Agent. switch(config)# sflow agent-ip 192.0.2.3 switch(config)# copy running-config startup-config Related Commands Command Description feature sflow Enables sFlow. show sflow Displays sFlow information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-179 OL-29557-04...
This example shows how to configure the IPv4 address of the sFlow data collector that is connected to the management port. switch# configure terminal switch(config)# sflow collector-ip 192.0.2.5 vrf-management switch(config)# copy running-config startup-config Related Commands Command Description feature sflow Enables sFlow. show sflow Displays sFlow information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-180 OL-29557-04...
This example shows how to configure the destination port for the sFlow datagrams. switch# configure terminal switch(config)# sflow collector-port 7000 switch(config)# copy running-config startup-config [########################################] 100% switch(config)# Related Commands Command Description feature sflow Enables sFlow. show sflow Displays sFlow information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-181 OL-29557-04...
This example shows how to configure the sFlow poll interval for an interface. switch# configure terminal switch(config)# sflow counter-poll-interval 100 switch(config)# copy running-config startup-config Related Commands Command Description feature sflow Enables sFlow. show sflow Displays sFlow information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-182 OL-29557-04...
This example shows how to configure port channel 100 for the sFlow sampler. switch# configure terminal switch(config)# sflow data-source interface port-channel 100 switch(config)# copy running-config startup-config [########################################] 100% switch(config)# Related Commands Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-183 OL-29557-04...
Page 208
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description feature sflow Enables sFlow. show sflow Displays sFlow information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-184 OL-29557-04...
This example shows how to configure the maximum sampling size for the sFlow Agent. switch# configure terminal switch(config)# sflow maximum-sampled-size 200 switch(config)# copy running-config startup-config Related Commands Command Description feature sflow Enables sFlow. show sflow Displays sFlow information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-186 OL-29557-04...
This example shows how to set the sampling rate to 50,000. switch# configure terminal switch(config)# sflow sampling-rate 50000 switch(config)# copy running-config startup-config Related Commands Command Description feature sflow Enables sFlow. show sflow Displays sFlow information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-187 OL-29557-04...
: 08:00 (HH:MM) Distribution : Disabled switch# Related Commands Command Description callhome Configures a Call Home service. show callhome Displays Call Home information for a destination profile. destination-profile Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-188 OL-29557-04...
<--Output truncated--> switch# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-189 OL-29557-04...
Page 214
Related Commands Command Description destination-profile Creates a user-defined Call Home destination profile. show callhome Displays a summary of the Call Home configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-190 OL-29557-04...
Related Commands Command Description show callhome Displays Call Home configuration information. show running-config Displays the running configuration information for Call Home. callhome Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-191 OL-29557-04...
User configured commands for alert groups : alert-group configuration user-def-cmd show running-config switch# Related Commands Command Description alert-group Adds CLI show commands to a Call Home alert group. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-192 OL-29557-04...
Related Commands Command Description diagnostic bootup level Configures the bootup diagnostic level for a faster module bootup time. show diagnostic result Displays the results of the diagnostics tests. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-193 OL-29557-04...
1 Related Commands Command Description diagnostic bootup level Configures the bootup diagnostic level for a faster module bootup time. show diagnostic Displays the bootup diagnostics level. bootup level Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-194 OL-29557-04...
Displays information about a system policy. policy-state show event manager Displays information about the script policies. script system show running-config Displays information about running the configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-195 OL-29557-04...
Page 220
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description show event manager Displays information about the predefined system policies. system-policy show startup-config Displays information about the startup configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-196 OL-29557-04...
1 to 1. Defaults None Command Modes Any command mode Command History Release Modification 5.0(3)U3(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-197 OL-29557-04...
Page 222
Publisher : Platform Manager Default Action : None Name : fanabsent Description : Fan Absent Event Event Parameters : devicenum, time Publisher : Platform Manager Default Action : None Name : fanbad Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-198 OL-29557-04...
Page 223
Displays information about the running configuration for the Embedded Event Manager (EEM). show event manager Displays information about the predefined system policies. system-policy show startup-config Displays information about the startup configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-199 OL-29557-04...
Displays information about the configured environment variables. environment show event manager Displays information about the event manager event types. event-types show event manager Displays information about a system policy. policy-state Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-200 OL-29557-04...
Page 225
Displays information about the running configuration for the Embedded Event Manager (EEM). show event manager Displays information about the predefined system policies. system-policy show startup-config Displays information about the startup configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-201 OL-29557-04...
Displays the history of events for all policies. history events show event manager Displays information about the script policies. script system show running-config Displays information about the running configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-202 OL-29557-04...
Page 227
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description show event manager Displays information about the predefined system policies. system-policy show startup-config Displays information about the startup configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-203 OL-29557-04...
Displays information about the running configuration for the Embedded Event Manager (EEM). show event manager Displays information about the predefined system policies. system-policy show startup-config Displays information about the startup configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-204 OL-29557-04...
Displays all policies including advanced and the policies that cannot be overridden. Defaults None Command Modes Any command mode Command History Release Modification 5.0(3)U3(1) This command was introduced. Usage Guidelines This command does not require a license. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-205 OL-29557-04...
Page 230
Description : service memory usage event Overridable : Yes Name : __sysmgr_service_hap_reset Description : service hap reset event. check the services at fault and look for the cores Overridable : No --More-- switch# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-206 OL-29557-04...
Page 231
Displays information about the running configuration for the Embedded Event Manager (EEM). show startup-config Displays information about the startup configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-207 OL-29557-04...
This example shows how to display the IP addresses of the DNS servers that are used to resolve hostnames: switch# show hosts Related Commands Command Description ip domain-list Defines a list of domains. ip domain lookup Enables DNS-based hostname-to-address translation. ip domain-name Configures a name server. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-210 OL-29557-04...
This command was introduced. Examples This example shows how to display the console logging configuration: switch# show logging console Related Commands Command Description logging console Configures logging to the console. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-211 OL-29557-04...
Modification 5.0(3)U1(1) This command was introduced. Examples This example shows how to display the logging configuration: switch# show logging info Related Commands Command Description logging event Logs interface events. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-212 OL-29557-04...
This example shows how to display the last 42 lines of the log file: switch# show logging last 42 Related Commands Command Description logging logfile Configures the name of the log file used to store system messages. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-213 OL-29557-04...
This example shows how to display the messages in the log file that were timestamped within the span shown: switch# show logging logfile start-time 2008 mar 11 12:10:00 Related Commands Command Description logging logfile Configures logging to a log file. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-216 OL-29557-04...
5.0(3)U1(1) This command was introduced. Examples This example shows how to display the module logging configuration: switch# show logging module Related Commands Command Description logging module Configures module logging. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-217 OL-29557-04...
This command was introduced. Examples This example shows how to display the monitor logging configuration: switch# show logging monitor Related Commands Command Description logging monitor Configures logging on the monitor. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-218 OL-29557-04...
This example shows how to display the last 20 messages in the NVRAM log: switch# show logging nvram last 20 Related Commands Command Description logging level Enables logging messages from a defined facility. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-219 OL-29557-04...
(usually after 15 or 19 corrections). Also, an extra message gets printed when the parity error is injected. 5.0(3)U1(1) This command was introduced. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-220 OL-29557-04...
Page 245
[-n num]—Stream Editor. The optional -n num keyword and argument allow you to specify the • number of lines to print. Range: 0 to 2147483647. include [-i] [-x] [word]—Include the lines that match. • Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-221 OL-29557-04...
Page 246
Cisco router or switch. Data is logged to files stored in nonvolatile memory. When the onboard hardware is started up, a first record is made for each area monitored and becomes a base value for subsequent records.
Page 247
• Related Commands Command Description clear logging onboard Clears the OBFL entries in the persistent log. hw-module logging Enables or disabled OBFL entries based on the error type. onboard Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-223 OL-29557-04...
This example shows how to display the pending changes to the syslog server configuration: switch# show logging pending Related Commands Command Description logging abort Cancels the pending changes to the syslog server configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-224 OL-29557-04...
This example shows how to display the pending differences of the syslog server configuration: switch# show logging pending-diff Related Commands Command Description logging abort Cancels the pending changes to the syslog server configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-225 OL-29557-04...
This command was introduced. Examples This example shows how to display the logging session status: switch# show logging session status Related Commands Command Description logging timestamp Sets the logging time-stamp units. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-226 OL-29557-04...
This command was introduced. Examples This example shows how to display the syslog server configuration: switch# show logging server Related Commands Command Description logging server Configures a remote syslog server. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-227 OL-29557-04...
This example shows how to display the logging status: switch# show logging status Related Commands Command Description logging distribute Enables the distribution of the syslog server configuration to network switches using the Cisco Fabric Services (CFS) infrastructure. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-228 OL-29557-04...
This command was introduced. Examples This example shows how to display the logging time-stamp configuration: switch# show logging timestamp Related Commands Command Description logging timestamp Configures the logging time stamp granularity. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-229 OL-29557-04...
Page 256
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description monitor session Displays the contents of the startup configuration file. show running-config Displays the running configuration information for SPAN and ERSPAN monitor sessions. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-232 OL-29557-04...
This example shows how to display the NTP access group configuration: switch# show ntp access-groups -------------------------------------- Access List Type -------------------------------------- Admin_Group_123 Peer switch# Related Commands Command Description ntp access-group peer Configures an NTP access group. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-235 OL-29557-04...
Displays the status of all NTP authentication. tion-status ntp authentication-key Configures one or more keys that a time source must provide in its NTP packets in order for the device to synchronize to it. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-236 OL-29557-04...
This example shows how to display the NTP authentication status: switch# show ntp authentication-status Authentication enabled. switch# Related Commands Command Description ntp authenticate Enables NTP authentication. show ntp authentica- Displays the configured NTP authentication keys. tion-keys Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-237 OL-29557-04...
Related Commands Command Description ntp logging Enables NTP logging. show ntp authentica- Displays the status of NTP authentication. tion-status show ntp session status Displays the NTP distribution session information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-238 OL-29557-04...
This command was introduced. Examples This example shows how to display information about NTP peers: switch# show ntp peers Related Commands Command Description show ntp peer-status Displays status information about NTP peers. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-239 OL-29557-04...
This command was introduced. Examples This example shows how to display the peer status for NTP: switch# show ntp peer-status Related Commands Command Description show ntp peers Displays information about NTP peers. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-240 OL-29557-04...
NTP configuration: switch# show ntp pending-diff switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-241 OL-29557-04...
This example shows how to display the pending NTP configuration changes on all peers: switch# show ntp pending peers switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-242 OL-29557-04...
: Success Last Action Failure Reason : none switch# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-243 OL-29557-04...
Distribution : Disabled Last operational state: No session switch(config)# Related Commands Command Description show ntp source Displays information about the NTP source. show ntp peers Displays information about NTP peers. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-244 OL-29557-04...
This command does not require a license. Examples This example shows how to display the NTP source information: switch(config)# show ntp source Related Commands Command Description ntp source Configures the NTP source. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-245 OL-29557-04...
Command Description show startup-config Displays information about the startup NTP configuration of the switch. show running-config Displays information about the NTP configuration that is currently running on the switch. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-246 OL-29557-04...
This command was introduced. Examples This example shows how to display the statistics for NTP: switch# show ntp statistics local Related Commands Command Description clear ntp statistics Clears NTP statistics Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-247 OL-29557-04...
This command does not require a license. Examples This example shows how to display the distribution status for NTP. switch(config)# show ntp status Distribution : Enabled Last operational state: No session Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-248 OL-29557-04...
Usage Guidelines This command does not require a license. Examples This example shows how to display all the configured NTP trusted keys: switch(config)# show ntp trusted-keys Trusted Keys: switch(config)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-249 OL-29557-04...
Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-250 OL-29557-04...
Displays the state of foreign masters known to the PTP process. foreign-masters-record show ptp corrections Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-251 OL-29557-04...
Page 276
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-252 OL-29557-04...
This example shows how to display information about the state of foreign masters known to the PTP process for the Ethernet interface 1/5: switch# show ptp clock foreign-masters-record interface ethernet 1/5 Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-253 OL-29557-04...
Page 278
Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-254 OL-29557-04...
Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-255 OL-29557-04...
Page 281
Displays the last few PTP corrections. show ptp port Displays the status of the PTP port. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-257 OL-29557-04...
Delay request interval(log mean): 2 Peer mean path delay: 0 Announce interval(log mean): 1 Sync interval(log mean): -2 Delay Mechanism: End to End Peer delay request interval(log mean): 0 switch# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-258 OL-29557-04...
Page 283
Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. show ptp time-property Displays the properties of the PTP clock. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-259 OL-29557-04...
Displays the last few PTP corrections. show ptp parent Displays the properties of the PTP parent. show ptp port Displays the status of the PTP port. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-260 OL-29557-04...
Maximum allowed 32 bit or 64 bit alarms : 512 Number of 32 bit alarms configured : 0 Number of 64 bit hcalarms configured : 1 switch# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-261 OL-29557-04...
Page 286
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description rmon alarm Creates RMON alarms. rmon event Creates RMON events. rmon hcalarm Creates RMON high-capacity alarms. show running-config Displays the running configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-262 OL-29557-04...
Release Modification 5.0(3)U1(1) This command was introduced. Examples This example shows how to display information on the running configuration on a switch that runs Cisco NX-OS Release 5.0(3)U1(1): switch# show running-config !Command: show running-config !Time: Fri May 28 10:30:02 2010 version 5.0(3)U1(1)
Page 288
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m This example shows how to display the running configuration on a switch that runs Cisco NX-OS Release 5.0(3)U2(1) and shows the Control Plane Policing (CoPP) policy maps, hardware port modes,...
This example shows how to display the entire Call Home running configuration, including the default values: switch# show running-config callhome all Related Commands Command Description show callhome Displays Call Home configuration information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-265 OL-29557-04...
1.7 snmp-trap strdata "EEM detected server failure" event manager applet syslog-applet action 1.7 syslog priority critical msg cpu usage high event manager applet test_app event manager applet tracking-applet event track 20 state up switch# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-266 OL-29557-04...
Page 291
Displays information about the script policies. script system show event manager Displays information about the predefined system policies. system-policy show startup-config Displays information about the startup configuration for the Embedded Event Manager (EEM). Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-267 OL-29557-04...
Page 293
Displays the preprovisioned module information. show startup-config Displays the startup configuration without the preprovisioning information exclude-provision for offline interfaces. slot Configures a chassis slot for a predefined module. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-269 OL-29557-04...
!Time: Fri Aug 26 04:12:01 2011 version 5.0(3)U2(1) interface Ethernet1/5 speed auto switch# Related Commands Command Description copy running-config Copies the running configuration information to the startup configuration startup-config file. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-270 OL-29557-04...
ERSPAN destination session source ip 192.0.1.1 destination interface Ethernet1/2 switch# This example shows how to display detailed information on the running SPAN and ERSPAN configuration: switch# show running-config monitor all Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-271 OL-29557-04...
Page 296
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description monitor session Configures SPAN or ERSPAN sessions. show monitor session Displays information about SPAN or ERSPAN sessions. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-272 OL-29557-04...
5 ptp delay-request minimum interval 2 switch# This example shows how to display the entire PTP running configuration, including the default values: switch# show running-config ptp all Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-273 OL-29557-04...
Page 298
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description copy running-config Copies the PTP running configuration information to the startup startup-config configuration file. show startup-config Displays the startup configuration information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-274 OL-29557-04...
This command does not require a license. Examples This example shows how to display the scheduler configuration: switch# show scheduler config config terminal feature scheduler scheduler logfile size 16 switch# Related Commands Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-275 OL-29557-04...
Page 300
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description scheduler Configures maintenance jobs. feature scheduler Enables the scheduler feature for scheduling maintenance jobs. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-276 OL-29557-04...
This example shows how to display the SNMP community strings: switch# show snmp community Related Commands Command Description snmp-server Configures the community access string to permit access to the SNMP community protocol. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-279 OL-29557-04...
5.0(3)U1(1) This command was introduced. Examples This example shows how to display the SNMP contexts: switch# show snmp context Related Commands Command Description snmp-server context Configures an SNMP context. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-280 OL-29557-04...
This example shows how to display the SNMP engine ID: switch# show snmp engineID Related Commands Command Description show running-config Displays the running system configuration information. snmp-server user Configures a new user to a SNMP group. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-281 OL-29557-04...
This command was introduced. Examples This example shows how to display the SNMP groups: switch# show snmp group Related Commands Command Description show running-config Displays the running system configuration information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-282 OL-29557-04...
5.0(3)U1(1) This command was introduced. Examples This example shows how to display the SNMP host: switch# show snmp host Related Commands Command Description snmp-server host Configures an SNMP host. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-283 OL-29557-04...
This command was introduced. Examples This example shows how to display the SNMP sessions: switch# show snmp sessions Related Commands Command Description show running-config Displays the running system configuration information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-284 OL-29557-04...
This command was introduced. Examples This example shows how to display the SNMP traps: switch# show snmp trap Related Commands Command Description snmp trap link-status Enables SNMP link trap generation. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-285 OL-29557-04...
This example shows how to display information about a specific SNMP user: switch# show snmp user admin Related Commands Command Description snmp-server user Configures a new user to an SNMP group. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-286 OL-29557-04...
1 snmp-server user admin network-admin auth md5 0xd727e3e4ed39de2f32841ffa24e4234c priv 0xd727e3e4ed39de2f32841ffa24e4234c localizedkey <--Output truncated--> switch# Related Commands Command Description show running-config Displays the contents of the currently running configuration file. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-287 OL-29557-04...
Related Commands Command Description copy running-config Saves this configuration change. startup-config show callhome Displays Call Home configuration information. show running-config Displays the running configuration information for Call Home. callhome Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-288 OL-29557-04...
Displays the history of events for all policies. history events show event manager Displays information about a system policy. policy-state show event manager Displays information about the script policies. script system Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-289 OL-29557-04...
Page 314
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description show running-config Displays information about the running configuration for the Embedded Event Manager (EEM). show event manager Displays information about the predefined system policies. system-policy Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-290 OL-29557-04...
Preprovisions a module in a slot. show provision Displays the preprovisioned module information. show running-config Displays the running configuration excluding the preprovisioned features. exclude-provision slot Configures a chassis slot for a predefined module. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-291 OL-29557-04...
5 ptp delay-request minimum interval 2 switch# This example shows how to display the entire PTP startup configuration, including the default values: switch# show startup-config ptp all Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-292 OL-29557-04...
Page 317
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description copy running-config Copies the running configuration information to the startup configuration startup-config file. ptp source Configures the global source IP for PTP packets. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-293 OL-29557-04...
Enables VTP on the switch. vtp domain Configures the VTP administrative domain. vtp file Stores the VTP configuration in a file. vtp mode Configures a VTP device mode. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-294 OL-29557-04...
This example shows how to display the troubleshooting information for Call Home: switch# show tech-support callhome Related Commands Command Description show callhome Displays Call Home configuration information. show running-config Displays the running configuration information for Call Home. callhome Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-295 OL-29557-04...
1 type erspan-source switch(config-erspan-src)# no shut switch(config-erspan-src)# Related Commands Command Description monitor session Enters the monitor configuration mode. show monitor session Displays the virtual SPAN or ERSPAN configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-296 OL-29557-04...
5.0(3)U1(1) This command was introduced. Usage Guidelines You can configure the customer identification information that Cisco Smart Call Home should use. The service agreement includes the customer identification information, such as the customer ID, contract ID, and site ID. Examples...
SNMP drops the request and sends a system message. See the Cisco Nexus 3000 Series NX-OS Security Configuration Guide for more information on creating ACLs. The ACL applies to both IPv4 and IPv6 over UDP and TCP. After creating the ACL, assign the ACL to the SNMP community.
Page 323
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description show snmp community Displays the SNMP community strings. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-299 OL-29557-04...
This example shows how to remove an SNMP contact: switch# configure terminal switch(config)# no snmp-server contact DialSystemOperatorAtBeeper#1235 switch(config)# Related Commands Command Description show snmp Displays information about SNMP. snmp-server location Sets the system location string. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-300 OL-29557-04...
VRFs. Examples This example shows how to map the public1 context to the default VRF: switch# configure terminal switch(config)# snmp-server context public1 vrf default switch(config)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-301 OL-29557-04...
Page 326
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Related Commands Command Description show snmp Displays the SNMP status. show snmp context Displays information about SNMP contexts. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-302 OL-29557-04...
(Optional) Specifies the entity unrecognized module. fcdomain (Optional) Enables notifications for the Fibre Channel domain. fcns (Optional) Enables notifications for the name server. (Optional) Enables notifications for the fabric configuration server. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-303 OL-29557-04...
Page 328
(Optional) Specifies the unsupported member notification. Command Default All notifications Command Modes Global configuration mode Command History Release Modification 6.0(2)U3(1) The storm-control option was added. 5.0(3)U1(1) This command was introduced. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-304 OL-29557-04...
Page 329
Related Commands Command Description snmp-server enable Enables the Simple Network Management Protocol (SNMP) notifications traps link on link traps. show snmp trap Displays the SNMP notifications enabled or disabled. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-305 OL-29557-04...
IETF Link state down notification. • linkUp—Enables the IETF Link state up notification. Command Default Disabled Command Modes Global configuration mode Command History Release Modification 5.0(3)U1(1) This command was introduced. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-306 OL-29557-04...
Page 331
This example shows how to disable the SNMP link trap notification on the switch: switch# configure terminal switch(config)# no snmp-server enable traps link switch(config)# Related Commands Command Description show snmp trap Displays the SNMP notifications enabled or disabled. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-307 OL-29557-04...
This example shows how to disable all SNMP notifications on a VTP domain: switch(config)# no snmp-server enable traps vtp switch(config)# Related Commands Command Description show snmp trap Displays the SNMP notifications enabled or disabled. show vtp status Displays VTP information. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-308 OL-29557-04...
Related Commands Command Description snmp-server user Configures a new user to an SNMP group. show snmp sessions Displays the current SNMP sessions. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-309 OL-29557-04...
Data Encryption Standard (DES) packet encryption – (also called “privacy”) udp-port port (Optional) Specifies the UDP port of the host to use. The port range is from 0 to 65535. Command Default Disabled Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-310 OL-29557-04...
Page 335
192.168.0.10 my_acl_for_public switch(config)# This example shows how to send all inform requests to the host myhost.cisco.com using the community string my_acl_for_public: switch# configure terminal switch(config)# snmp-server enable traps switch(config)# snmp-server host myhost.cisco.com informs version 2c my_acl_for_public...
This example shows how to remove the system location string: switch# configure terminal switch(config)# no snmp-server location Building 3/Room 21 switch(config)# Related Commands Command Description snmp-server contact Sets the SNMP system contact (sysContact) string. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-312 OL-29557-04...
This example shows how to remove the mapping of an SNMPv2c community to an SNMP context: switch# configure terminal switch(config)# no snmp-server mib community-map my_acl_for_public context public1 switch(config)# Related Commands Command Description snmp-server Configures an SNMP community. community Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-313 OL-29557-04...
Page 338
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m Command Description snmp-server context Configures an SNMP context. show snmp Displays the SNMP status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-314 OL-29557-04...
This example shows how to disable one-time authentication for SNMP over a TCP session: switch# configure terminal switch(config)# no snmp-server tcp-session auth switch(config)# Related Commands Command Description show snmp Displays the SNMP status. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-315 OL-29557-04...
Command History Release Modification 5.0(3)U1(1) This command was introduced. Examples This example shows how to configure an SNMP user named authuser with authentication and privacy parameters: switch# configure terminal Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-316 OL-29557-04...
Page 341
This example shows how to delete an SNMP user: switch# configure terminal switch(config)# no snmp-server user authuser switch(config)# Related Commands Command Description show snmp user Displays information about one or more SNMP users. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-317 OL-29557-04...
1/5 switch(config-if)# no switchport switch(config-if)# snmp trap link-status switch(config-if)# This example shows how to enable SNMP link-state traps for a specific Layer 2 interface: switch# configure terminal Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-318 OL-29557-04...
Page 343
Related Commands Command Description no switchport Configures an interface as a Layer 3 routed interface. show snmp trap Displays the SNMP notifications, enabled or disabled. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-319 OL-29557-04...
A source port can be an Ethernet port, port channel, SAN port channel, or a VLAN port. It cannot be a destination port. For ERSPAN, if you do not specify both, rx, or tx, the source traffic is analyzed for both directions. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-320 OL-29557-04...
Page 345
ERSPAN) monitor session Creates a new SPAN session configuration. show monitor session Displays SPAN session configuration information. show running-config Displays the running configuration information of a SPAN session. monitor Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-321 OL-29557-04...
Description monitor session Creates a new SPAN session configuration. show monitor session Displays SPAN session configuration information. show running-config Displays the running configuration information of a SPAN session. monitor Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-322 OL-29557-04...
Related Commands Command Description contract-id Configures the contract number for the switch. copy running-config Saves this configuration change. startup-config show callhome Displays a summary of the Call Home configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-323 OL-29557-04...
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m switching-mode store-forward To enable store-and-forward switching mode on a Cisco NX-OS device, use the switching-mode store-forward command. To reenable cut-through switching on a Cisco NX-OS device, use the no form of this command. switching-mode store-forward...
This example shows how to configure the switch priority: switch# configure terminal switch(config)# callhome switch(config-callhome)# switch-priority 5 switch(config-callhome)# Related Commands Command Description show callhome Displays a summary of the Call Home configuration. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-326 OL-29557-04...
Page 351
Configures a descriptive string for the policy. event Configures the event statement for the policy. show event-manager Displays information about the status of the configured policy. policy state Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-327 OL-29557-04...
Related Commands Command Description action event-default Specifies that the default action for the event is to be performed when an EEM applet is triggered. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-328 OL-29557-04...
Page 353
This command was introduced. Examples This example shows how to configure the SMTP server for the Call Home service: switch# configure terminal switch(config)# callhome switch(config-callhome)# transport email smtp-server 192.0.2.10 use-vrf Red switch(config-callhome)# Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-329 OL-29557-04...
Displays Call Home configuration information. show callhome Displays information about the e-mail configuration for Call Home. transport-email transport email Configures the SMTP server address for Call Home. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-330 OL-29557-04...
Failed to start Verification: Session Database already locked, Verify/Commit in Progress. switch(config-s)# Related Commands Command Description commit Commits a session. configure session Creates a configuration session. show configuration Displays the contents of the session. session Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-331 OL-29557-04...
Enters the monitor configuration mode for configuring an ERSPAN session for analyzing traffic between ports. show monitor session Displays information about the Ethernet Switched Port Analyzer (SPAN) or ERSPAN monitor session. Cisco Nexus 3000 Series NX-OS System Management Command Reference -SM-332 OL-29557-04...