Page 1
Cisco Nexus 3548 Switch NX-OS System Management Command Reference First Published: April 2013 Last Modified: May 2016 Cisco Systems, Inc. www.cisco.com Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices.
Page 2
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks.
Page 3
C O N T E N T S Preface Audience Document Conventions Related Documentation Documentation Feedback Obtaining Documentation and Submitting a Service Request New and Changed Information System Management Commands Book Title...
Preface This preface describes the audience, organization, and conventions of the Cisco Nexus 3548 Switch NX-OS System Management Command Reference . It also provides information on how to obtain related documentation. This preface includes the following sections: Audience, page 1 •...
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 following URL: http://www.cisco.com/en/US/products/ps11541/prod_release_notes_list.html...
Cisco technical documentation: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html Subscribe to the What’s New in Cisco Product Documentation as an RSS feed and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free service. Cisco currently supports RSS Version 2.0.
3548 Switch 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 Table 1 summarizes the new and changed features for release 6.x and tells you where they are...
System Management Commands This chapter describes the Cisco NX-OS system management commands available on the Cisco Nexus 3548 switch. The internal CLI commands are not supported on the Cisco Nexus Series switches. Note Cisco Nexus 3548 Switch NX-OS System Management Command Reference...
Page 12
System Management Commands abort (Call Home) abort (Call Home) To discard Call Home configuration changes and release the Cisco Fabric Services (CFS) lock, use the abort command. abort Syntax Description This command has no arguments or keywords. Command Default None...
Page 13
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 15
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 17
Enables the default action of the policy being overridden. action reload Specifies the action of reloading the Cisco Nexus 3548 switch 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.
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 19
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 21
System Management Commands action policy-default Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Usage Guidelines This command does not require a license. Examples This example shows how to specify the action of reloading the Cisco Nexus 3548 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...
Page 23
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 25
Enables the default action of the policy being overridden. action reload Specifies the action of reloading the Cisco Nexus 3548 switch 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.
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 27
Enables the default action of the policy being overridden. action reload Specifies the action of reloading the Cisco Nexus 3548 switch 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 28
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 29
“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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 30
System Management Commands callhome callhome To configure the Cisco Smart Call Home service and enter the callhome configuration mode, use the callhome command. callhome Syntax Description This command has no arguments or keywords. Command Default None Command Modes Global configuration mode...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Examples This example shows how to clear the buffer monitoring data: switch(config)# clear hardware profile buffer monitor switch(config)# Related Commands Command Description show hardware buffer Displays buffer monitoring data. monitor Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
This command was introduced. 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Command Modes EXEC mode Command History Release Modification 5.0(3)A1(1) This command was introduced. Examples This example shows how to discard the NTP Cisco Fabric Services (CFS) distribution session in progress: switch# clear ntp session switch# Related Commands Command Description show ntp Displays NTP information.
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
This command does not require a license. Examples This example shows how clear the scheduler log file: switch# configure terminal switch(config)# clear scheduler logfile switch(config)# Related Commands Command Description show scheduler Displays the scheduler configuration. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Related Commands Command Description feature ptp Enables PTP on the switch. show ptp clock Displays the PTP clock information. show running-config Displays the PTP running system configuration information. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 43
System Management Commands commit (Call Home) 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. commit Syntax Description This command has no arguments or keywords.
Page 44
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 45
5.0(3)A1(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...
Page 46
5.0(3)A1(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...
Page 47
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 48
A Local SPAN session switch(config-monitor)# This example shows how to add a description for an ERSPAN session: switch# configure terminal switch(config)# monitor session 9 type erspan-source switch(config-erspan-src)# description An ERSPAN session switch(config-erspan-src)# Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 49
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 source (SPAN session) Configures a source SPAN port. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 50
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 51
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 52
Supervisor-Hardware—Supervisor-related events • 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 53
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 54
System Management Commands destination-profile (Call Home) The Cisco Nexus 3548 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. Table 1-1 lists each Call Home message level keyword.
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 56
System Management Commands distribute (Call Home) distribute (Call Home) To enable Call Home distribution using Cisco Fabric Services (CFS), use the distribute command. To disable Call Home distribution, use the no form of this command. distribute no distribute Syntax Description This command has no arguments or keywords.
Page 57
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 58
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 59
(Call Home) 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. enable...
Page 60
System Management Commands enable (Call Home) 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Configures the priority1 value to use when advertising this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
System Management Commands feature scheduler 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. feature scheduler no feature scheduler Syntax Description This command has no arguments or keywords.
Page 63
Enter configuration commands, one per line. End with CNTL/Z. switch(config)# monitor session 1 switch(config-monitor)# source interface Ethernet 1/7 rx switch(config-monitor)# filter ip 10.1.1.1 255.255.255.0 20.1.1.1 255.255.255.0 switch(config-monitor)# destination interface Ethernet 1/48 switch(config-monitor)# no shut switch(config-monitor)# Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
384 kilobytes and a sampling value of 5000 nanoseconds. switch# configure terminal switch(config)# hardware profile buffer monitor multicast switch(config)# hardware profile buffer monitor threshold 384 switch(config)# hardware profile buffer monitor multicast sampling 5000 Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 66
Command Description Related Commands show hardware profile Displays information about whether warp mode is enabled and displays the buffer monitor host, unicast, multicast, and Layer 2 TCAM sizes. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
6.0(2)A8(1) This command was introduced. Usage Guidelines You must reload the Cisco Nexus 3548 switch after enabling the normal mode and also to revert to the factory default from normal mode. Examples This example shows how to enable normal mode:...
Page 68
System Management Commands hardware profile forwarding-mode normal Related Commands Command Description show hardware profile Displays the forwarding-mode status (normal/warp) and the IPv4 and forwarding-mode multicast, table size. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
The option of changing the TCAM carve value was introduced. Usage Guidelines You must reload the Cisco Nexus 3548 switch after enabling the warp mode and also to revert to the factory default from warp mode. In warp mode, these features are not supported: IP redirect, Egress Routed Access Control Lists (RACLs), Port Access Control Lists (PACLs), and Equal-cost Multipathing (ECMP).
Page 70
(copy r s) and reload! switch(config)# Related Commands Command Description show hardware profile Displays the warp mode status and the host, unicast, multicast, and Layer 2 forwarding-mode TCAM sizes. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 71
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
This example shows how to configure the IP domain list for the default VRF to use the management 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 Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 73
System Management Commands ip domain-list 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 76
Related Commands 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 77
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 79
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 80
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
System Management Commands logging distribute 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
This example shows how to enable logging messages from the AAA facility that have a severity level of 2 or higher: switch# configure terminal switch(config)# logging level aaa 2 switch(config)# Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 88
System Management Commands logging level Related Commands Command Description show logging level Displays the facility logging level configuration. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 90
System Management Commands logging logfile Related Commands Command Description show logging logfile Displays the log file. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Set a specified severity level or use the default. 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Examples This example shows how to enable monitor log messages: switch# configure terminal switch(config)# logging monitor switch(config)# Related Commands Command Description show logging monitor Displays the status of monitor logging. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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)A1(1) This command was introduced. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 94
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
This command was introduced. Usage Guidelines When you change the origin IP address, it impacts all the sessions. On a Cisco Nexus 3548 Switch switch, only global origin IP address is supported. Note This command does not require a license.
This example shows how to create a SPAN session: switch# configure terminal switch(config)# monitor session 2 switch(config)# This example shows how to enter the monitor configuration mode for configuring SPAN session number 9 for analyzing traffic between ports: Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 98
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 99
: rx : Eth1/5 tx : Eth1/5 both : Eth1/5 source VLANs : rx : destination ports : Eth1/39 Legend: f = forwarding enabled, l = learning enabled Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 101
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 102
System Management Commands Related Commands Command Description ntp distribute Enables CFS distribution for NTP. show ntp Displays NTP information. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
System Management Commands ntp abort ntp abort To discard the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress, use the ntp abort command. ntp abort Syntax Description This command has no arguments or keywords. Command Default...
Specifies 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
System Management Commands ntp commit ntp commit To apply the pending configuration pertaining to the Network Time Protocol (NTP) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the ntp commit command. ntp commit Syntax Description This command has no arguments or keywords.
System Management Commands ntp distribute ntp distribute To enable Cisco Fabric Services (CFS) distribution for Network Time Protocol (NTP), use the ntp distribute command. To disable this feature, use the no form of this command. ntp distribute no ntp distribute Syntax Description This command has no arguments or keywords.
This 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 108
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 109
(Call Home) 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 110
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 111
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 113
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 115
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Configures the domain number to use for this clock. ptp priority2 Configures the priority2 value to use when advertising this clock. show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Configures the domain number to use for this clock. ptp priority1 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 120
System Management Commands ptp source Command Description show ptp brief Displays the PTP status. show ptp clock Displays the properties of the local clock. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
PTP communication. A Cisco Nexus 3548 Switch 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 3548 Switch switches must be configured for a sync log interval value that is less than or equal to -3.
Page 122
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 123
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 124
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
(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)A1(1) This command was introduced. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 126
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 128
System Management Commands rmon event Command Description snmp-server user Configures an SNMP user. show rmon Displays information about RMON alarms and events. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
(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)A1(1) This command was introduced. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 130
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 131
: rx : Eth1/3 Eth1/7 tx : both : source VLANs : rx : 100 destination ports : Eth1/48 Legend: f = forwarding enabled, l = learning enabled Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 133
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 address. Defaults None Command Modes Job configuration Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 134
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
: 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 137
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
This command was introduced. Examples The following example shows how to display summary information for each buffer block and for all of the buffers combined: switch# show hardware profile buffer monitor summary Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
This example shows how to display the warp mode status and the host, unicast, multicast, and Layer 2 TCAM sizes. switch(config)# show hardware profile forwarding-mode switch(config)# Related Commands Command Description [no] hardware profile Enables warp mode. forwarding-mode warp Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Release Modification 5.0(3)A1(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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Modification 5.0(3)A1(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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
The date and time arguments for the starttime and endtime keywords are entered as the date month/day/year (mm/dd/yy), followed by a hyphen, and the time in 24-hour format in hours:minutes:seconds (HH:MM:SS). For example: starttime 03/17/08-15:01:57 • Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 159
[-i] [-x] [word]—Include the lines that match. • -i—Ignores the case difference when comparing the strings. – -x—Prints only the lines where the match is a whole line. – word—Specifies for the expression. – Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 160
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 161
MEMORY::MB:: [#10] PARITY Error: RPM 0, HW entry: rpm addr 0x2ee, vld 1, mac 0x300be27, fid 5, adj 0, rsvd 0, lid 8, lif 23, non existent 0, local 1 Sun Jun 21 22:57:42 2015@716882 Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 162
0x2ee Index 12000 has been marked invalid to prevent it from being used again 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
: Eth1/21 Legend: f = forwarding enabled, l = learning enabled switch# This example shows how to display a range of SPAN sessions: switch# show monitor session range 1-4 Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 170
VLANs switch# 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
5.0(3)A1(1) This command was introduced. Examples This example shows how to display the NTP time-stamp status: switch# show ntp timestamp-status Related Commands Command Description Configures the NTP peers and servers. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 177
System Management Commands show ptp clock 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 179
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 182
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 184
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 187
System Management Commands show rmon 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Release Modification 5.0(3)A1(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)A1(1): switch# show running-config !Command: show running-config !Time: Fri May 28 10:30:02 2010 version 5.0(3)A1(1)
Page 189
System Management Commands show running-config This example shows how to display the running configuration on a switch that runs Cisco NX-OS Release 5.0(3)A1(1) and shows the Control Plane Policing (CoPP) policy maps, hardware port modes, and access control list (ACL) ternary content addressable memory (TCAM) changes:...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 192
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
!Time: Fri Aug 26 04:12:01 2011 version 5.0(3)A1(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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 195
System Management Commands show running-config monitor Related Commands Command Description monitor session Configures SPAN or ERSPAN sessions. show monitor session Displays information about SPAN or ERSPAN sessions. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Modification 5.0(3)A1(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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Modification 5.0(3)A1(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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Ethernet1/5 ptp vlan 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 209
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 212
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 213
5.0(3)A1(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 3548 Switch NX-OS Security Configuration Guide for more information on creating ACLs. The ACL applies to IPv4 over UDP and TCP. After creating the ACL, assign the ACL to the SNMP community.
Page 215
System Management Commands snmp-server community Related Commands Command Description show snmp community Displays the SNMP community strings. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 218
System Management Commands snmp-server context Related Commands Command Description show snmp Displays the SNMP status. show snmp context Displays information about SNMP contexts. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
(Optional) Enables notifications for the Fibre Channel domain. fcns (Optional) Enables notifications for the name server. (Optional) Enables notifications for the fabric configuration server. fctrace (Optional) Enables notifications for the route to an N port. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 220
Global configuration mode Command History Release Modification 5.0(3)A1(1) This command was introduced. Usage Guidelines The snmp-server enable traps command enables both traps and informs, depending on the configured notification host receivers. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 221
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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)A1(1) This command was introduced. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 223
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 227
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 230
System Management Commands snmp-server mib community-map Command Description snmp-server context Configures an SNMP context. show snmp Displays the SNMP status. Cisco Nexus 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Global configuration mode Command History Release Modification 5.0(3)A1(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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 233
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 235
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 236
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 237
Configures a destination SPAN port. 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 238
Command 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 239
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 240
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 241
Description description 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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 243
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 244
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 245
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...
Page 246
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 3548 Switch NX-OS System Management Command Reference OL-27851-02...