Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
First Published: 2013-04-09
Last Modified: 2013-04-09
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-29291-02

Advertisement

Table of Contents
loading

Summary of Contents for Cisco MDS 9000 Series

  • Page 1 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide First Published: 2013-04-09 Last Modified: 2013-04-09 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-29291-02...
  • Page 2 © 2008-2014 Cisco Systems, Inc. All rights reserved.
  • Page 3: Table Of Contents

    Serviceability Switched Port Analyzer Call Home Online Diagnostics Embedded Event Manager Manageability Simple Network Management Protocol Role-Based Access Control Cisco NX-OS Software Configuration Tools for Software Configuration Licensing Quality of Service Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 4 C H A P T E R 5 Information About the CLI Prompt Command Modes EXEC Command Mode Global Configuration Command Mode Interface Configuration Command Mode Subinterface Configuration Command Mode Saving and Restoring a Command Mode Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 5 Utility grep and egrep Utilities less Utility sed Utility sort Utility Redirecting show Command Output Using sscp Searching and Filtering from the --More-- Prompt Using the Command History Recalling a Command Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 6 Enabling a Modem Connection Downloading the Default Initialization String Configuring and Downloading a User-Specified Initialization String Initializing a Modem for a Powered-Up Cisco NX-OS Device Clearing Terminal Sessions Displaying Terminal and Session Information Default Settings for Terminal Display and Session Parameters...
  • Page 7 Information About Device File Systems, Directories, Files, and External Storage Devices File Systems Directories Files Working with External Storage Devices Formatting an External Flash Device Mounting or Unmounting a USB Drive External Storage Device Support Matrix Working with Directories Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 8 Downloading the Running Configuration From a Remote Server Downloading the Startup Configuration From a Remote Server Copying Configuration Files to an External Flash Memory Device Copying the Running Configuration from an External Flash Memory Device Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide viii OL-29291-02...
  • Page 9 High Availability for NTP Prerequisites for NTP Guidelines and Limitations for NTP Configuring NTP Enabling or Disabling the NTP Protocol Configuring an NTP Server and Peer Displaying and Clearing NTP Statistics Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 10 Configuring the Power Supply Mode About Crossbar Management Operational Considerations when Removing Crossbars Gracefully Shutting Down a Crossbar Provideing Backward Compatibility for Generation 1 Modules in Cisco MDS 9513 Directors About Module Temperature Monitoring Displaying Module Temperatures About Fan Modules...
  • Page 11 Configuring SSM and MSM Global Upgrade Delay Guidelines for Replacing SSMs and Supervisor Modules Recovering an SSM After Replacing Corrupted CompactFlash Memory Guidelines for Upgrading and Downgrading Cisco MDS NX-OS Releases Default Settings Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide...
  • Page 12 Contents Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 13: Document Conventions

    Preface This preface describes the audience, organization, and conventions of the Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide. It also provides information on how to obtain related documentation. • Audience, page xiii • Document Conventions, page xiii • Related Documentation, page xv •...
  • Page 14 Means reader take note. Notes contain helpful suggestions or references to material not covered in the Note manual. Means reader be careful. In this situation, you might do something that could result in equipment damage Caution or loss of data. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 15: Related Documentation

    Preface Related Documentation Related Documentation The documentation set for the Cisco MDS 9000 Series includes the following documents. To find a document online, use the Cisco MDS NX-OS Documentation Locator at: http://www.cisco.com/en/US/docs/storage/san_switches/mds9000/roadmaps/doclocater.htm Cisco DCNM documentation is available at the following URL: http://www.cisco.com/en/US/products/ps9369/tsd_products_support_series_home.html...
  • Page 16: Obtaining Documentation And Submitting A Service Request

    • Cisco DCNM for SAN Database Schema Reference Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, using the Cisco Bug Search Tool (BST), submitting a service request, and gathering additional information, see What's New in Cisco Product Documentation.
  • Page 17 Preface Obtaining Documentation and Submitting a Service Request To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's New in Cisco Product Documentation RSS feed. RSS feeds are a free service. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide...
  • Page 18 Preface Obtaining Documentation and Submitting a Service Request Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide xviii OL-29291-02...
  • Page 19: C H A P T E

    Guide and in the Cisco MDS 9000 Family Fabric Manager Configuration Guide. Those configuration guides remain available on Cisco.com and should be used for all software releases prior to MDS NX-OS Release 4.2(1). Each guide addresses the features introduced in or available in a particular release. Select and view the configuration guide that pertains to the software installed in your switch.
  • Page 20 Command-Line confirmation prompts. Interface, on page 37 Terminal colors Allowed changes to the 4.2(1) Understanding the colors used for CLI Command-Line elements in the terminal Interface, on page 37 display. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 21: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    New and Changed Information New and Changed Information Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 22: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    New and Changed Information New and Changed Information Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 23: Chapter

    Quality of Service , page 9 Software Compatibility The Cisco NX-OS software interoperates with Cisco products that run any variant of the Cisco IOS software. The Cisco NX-OS software also interoperates with any networking operating system that conforms to the IEEE and RFC compliance standards.
  • Page 24: Switched Port Analyzer

    GOLD, see the . Embedded Event Manager Cisco Embedded Event Manager (EEM) is a device and system management feature that helps you to customize behavior based on network events as they happen. For information about configuring EEM, see the .
  • Page 25: Cisco Nx-Os Software Configuration

    Cisco NX-OS Software Configuration Cisco NX-OS Software Configuration This section describes the tools you can use to configure Cisco NX-OS software, and provides an overview of the software configuration process with links to the appropriate chapters. Tools for Software Configuration You can use one of two configuration management tools to configure your SANs: •...
  • Page 26: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Tools for Software Configuration By configuring an IP address as a peer, the Cisco NX-OS device will obtain and provide time as required. The peer is capable of providing time on its own and is capable of having a server configured. If both of these instances point to different time servers, your NTP service is more reliable.
  • Page 27: Licensing

    ◦ NTP peer 10.10.10.1 Licensing The Cisco NX-OS software licensing feature allows you to access premium features on the device after you install the appropriate license for that feature. Any feature not included in a license package is bundled with the Cisco NX-OS software and is provided to you at no extra charge.
  • Page 28: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Overview Quality of Service Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 29: Using The Cisco Nx-Os Setup Utility

    Information About the Cisco NX-OS Setup Utility The Cisco NX-OS setup utility is an interactive command-line interface (CLI) mode that guides you through a basic (also called a startup) configuration of the system. The setup utility allows you to configure only enough connectivity for system management.
  • Page 30: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    SNMP access. If you enable IPv4 routing, the device uses the IPv4 route and the default network IPv4 address. If IPv4 routing is disabled, the device uses the default gateway IPv4 address. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 31: Prerequisites For The Setup Utility

    Initial Setup Routine The first time that you access a switch in the Cisco MDS 9000 Family, it runs a setup program that prompts you for the IP address and other configuration information necessary for the switch to communicate over the supervisor module Ethernet interface.
  • Page 32: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Confirm the password for user_name: user-password c) Assign the user role network-admin (network-operator is the default). Enter the user role [network-operator]: network-admin Step 6 Configure the read-only or read-write SNMP community string. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 33: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Enter no (no is the default) at the in-band management configuration prompt. Continue with in-band (VSAN1) management configuration? (yes/no) [no]: no b) Enter yes (yes is the default) to enable IPv4 routing capabilities. Enable ip routing capabilities? (yes/no) [y]: yes Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 34: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Configure the default domain name? (yes/no) [n]: yes Enter the default domain name. Default domain name: domain_name Step 11 Enter yes (yes is the default) to enable the SSH service. Enabled SSH service? (yes/no) [n]: yes Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 35: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Enter yes (yes is the default) to configure the switchport mode F. Configure default switchport mode F (yes/no) [n]: y Step 21 Enter on (off is the default) to configure the PortChannel auto-create state. Configure default port-channel auto-create state (on/off) [off]: on Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 36: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 37: Configuring In-Band Management

    Fibre Channel fabric. Note You can configure both in-band and out-of-band configuration together by entering Yes in both Step 10c and Step 10d in the following procedure. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 38: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Using the Cisco NX-OS Setup Utility Configuring In-Band Management SUMMARY STEPS 1. Power on the switch. Switches in the Cisco MDS 9000 Family boot automatically. 2. Enter the new password for the administrator. 3. Enter yes to enter the setup mode.
  • Page 39: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Enter no (yes is the default) at the configuration prompt to configure out-of-band management. Continue with Out-of-band (mgmt0) management configuration? [yes/no]: no Step 9 Enter yes (yes is the default) to configure the default gateway. Configure the default-gateway: (yes/no) [y]: yes Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 40: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Enter no (no is the default) to disable the Telnet service. Enable the telnet service? (yes/no) [y]: no Step 12 Enter yes (yes is the default) to enable the SSH service. Enabled SSH service? (yes/no) [n]: yes Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 41: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Enable full zoneset distribution (yes/no) [n]: no Disables the switch-wide default for the full zone set distribution feature. You see the new configuration. Review and edit the configuration that you have just entered. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 42: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    If you do not save the configuration at this point, none of your changes are updated the next time the switch Caution is rebooted. Type yes to save the new configuration. This ensures that the kickstart and system images are also automatically configured. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 43: Where To Go Next

    Using the Cisco NX-OS Setup Utility Where to Go Next Where to Go Next To become more familiar with the CLI, continue to . Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 44 Using the Cisco NX-OS Setup Utility Where to Go Next Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 45: Using Poweron Auto Provisioning

    About Power On Auto Provisioning When a Cisco MDS Series switch with POAP feature boots and does not find the startup configuration, the switch enters POAP mode and checks for a USB device (containing the configuration script file) in USB port 1.
  • Page 46: Poap Configuration Script

    The POAP configuration guidelines and limitations are as follows: • Only FAT32 USB is supported. (The file system on the USB should be FAT32). For both Cisco MDS 9700 and 9500 series switches, POAP is supported only on USB 1 Port.
  • Page 47: Network Infrastructure Requirements For Poap

    • The POAP feature does not require a license, and is enabled by default. • Note POAP is not supported through Cisco Data Center Network Management (DCNM). Network Infrastructure Requirements for POAP When there is no USB device with the required installation files, or the configuration files are not present in the USB, POAP requires the following network infrastructure: •...
  • Page 48: Setting Up The Network Environment To Use Poap

    ◦ The configuration file with the name conf_<serialnum>.cfg must be present in the USB. To obtain the serial number of the switch, run the show sprom backplane 1 command: switch# show sprom backplane 1 DISPLAY backplane sprom contents: Common block: Block Signature : 0xabab Block Version Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 49: Using A Dhcp Server

    Note Ensure that the POAP script identifies the switch. • Only FAT32 USB is supported. (The file system on the USB should be FAT32). For both Cisco Note MDS 9700 and 9500 series switches, POAP is supported only on USB 1 Port.
  • Page 50: The Poap Process

    You can download all the sample files for the POAP process from the following Note link: https://software.cisco.com/download/ release.html?mdfid=283453013&softwareid=282088132&release=6.2(11)&relind=AVAILABLE&rellifecycle=&reltype=latest Ensure that you select the correct version of the Cisco MDS NX-OS release before downloading the sample Note files. The POAP Process The POAP process involves the following phases:...
  • Page 51: The Power-Up Phase

    POAP. No user intervention is required for POAP to continue. The prompt that asks if you want to abort POAP Note remains available until the POAP process is complete. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 52: The Usb Discovery Phase

    35.) The DHCP client on the Cisco MDS switch uses the switch serial number in the client-identifier option to identify itself to the DHCP server. The DHCP server can use this identifier to send information, such as the IP address and script filename, back to the DHCP client.
  • Page 53: Script Execution Phase

    At that point, the configuration is applied to the switch. Note If script execution fails, the DHCP discovery process restarts. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 54: Post-Installation Reload Phase

    To verify the configuration after bootstrapping the device using POAP, use one of the following commands: Command Purpose show running-config Displays the running configuration. show startup-config Displays the startup configuration. For detailed information about these commands, see the Cisco MDS 9000 Family Command Reference. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 55: Understanding The Command-Line Interface

    Enabling or Disabling the CLI Confirmation Prompts, page 64 • Setting CLI Display Colors, page 64 • Sending Commands to Modules, page 65 • BIOS Loader Prompt, page 66 • Examples Using the CLI , page 66 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 56: Information About The Cli Prompt

    This section describes command modes in the Cisco NX-OS CLI. EXEC Command Mode When you first log in, the Cisco NX-OS software places you in EXEC mode. The commands available in EXEC mode include the show commands that display the device status and configuration information, the clear commands, and other commands that perform actions that you do not save in the device configuration.
  • Page 57: Interface Configuration Command Mode

    You must enable many features on a per-interface basis. Interface configuration commands modify the operation of the interfaces on the device, such as Ethernet interfaces or management interfaces (mgmt 0). For more information about configuring interfaces, see the Cisco Nexus interfaces guide for your device. SUMMARY STEPS 1.
  • Page 58: Subinterface Configuration Command Mode

    Saving and Restoring a Command Mode The Cisco NX-OS software allows you to save the current command mode, configure a feature, and then restore the previous command mode. The push command saves the command mode and the pop command restores the command mode.
  • Page 59: Command Mode Summary

    Ctrl-Z. Special Characters This table lists the characters that have special meaning in Cisco NX-OS text strings and should be used only in regular expressions or other special contexts. Table 3: Special Characters Character...
  • Page 60: Keystroke Shortcuts

    Exits to the previous command mode without removing the command string. Ctrl-K Deletes all characters from the cursor to the end of the command line. Ctrl-L Redisplays the current command line. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 61: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Displays the next command in the command history. Right arrow key Moves your cursor through the command string, either forward or backward, allowing you to edit the current Left arrow key command. Displays a list of available commands. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 62: Abbreviating Commands

    You might be in the wrong command mode or using incorrect syntax. This table lists examples of command abbreviations. Table 5: Examples of Command Abbreviations Command Abbreviation configure terminal conf t Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 63: Completing A Partial Command Name

    Identifying Your Location in the Command Hierarchy Some features have a configuration submode hierarchy nested more than one level. In these cases, you can display information about your present working context (PWC). SUMMARY STEPS 1. where detail Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 64: Using The No Form Of A Command

    Almost every configuration command has a no form that can be used to disable a feature, revert to a default value, or remove a configuration. The Cisco NX-OS command reference publications describe the function of the no form of the command whenever a no form is available.
  • Page 65: Configuring Cli Variables

    • Cannot have nested references through another variable • Can persist across switch reloads or exist only for the current session Cisco NX-OS supports one predefined variable: TIMESTAMP. This variable refers to the current time when the command executes in the format YYYY-MM-DD-HH.MM.SS.
  • Page 66: Configuring Persistent Cli Variables

    Configures the CLI persistent variable. The variable name is a case-sensitive, alphanumeric string and must begin with an alphabetic character. The maximum length is 31 Example: characters. switch(config)# cli var name testinterface ethernet 2/1 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 67: Command Aliases

    • Command alias configuration takes effect for other user sessions immediately. • The Cisco NX-OS software provides one default alias, alias, which is the equivalent to the show cli alias command that displays all user-defined aliases. • You cannot delete or change the default command alias alias.
  • Page 68: Defining Command Aliases

    Step 4 alias (Optional) Displays the command alias configuration. Example: switch# alias Step 5 copy running-config startup-config (Optional) Copies the running configuration to the startup configuration. Example: switch# copy running-config startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 69: Configuring Command Aliases For A User Session

    Configuring Command Aliases for a User Session You can create a command alias for the current user session that is not available to any other user on the Cisco NX-OS device. You can also save the command alias for future use by the current user account.
  • Page 70: Echoing Information To The Terminal

    Returns to the beginning of the text line. Inserts a horizontal tab character. Inserts a vertical tab character. Displays a backslash character. \nnn Displays the corresponding ASCII octal character. SUMMARY STEPS 1. echo [backslash-interpret] [text] Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 71: Delaying Command Action

    30 Context-Sensitive Help The Cisco NX-OS software provides context-sensitive help in the CLI. You can use a question mark (?) at any point in a command to list the valid input options. CLI uses the caret (^) symbol to isolate input errors. The ^ symbol appears at the point in the command string where you have entered an incorrect command, keyword, or argument.
  • Page 72: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    13:32:00 18 April ? <2000-2030> Enter the year (no abbreviation) switch# clock set 13:32:00 18 April Enters the correct syntax for the clock set command. switch# clock set 13:32:00 18 April 2008<CR> switch# Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 73: Understanding Regular Expressions

    Understanding the Command-Line Interface Understanding Regular Expressions Understanding Regular Expressions The Cisco NX-OS software supports regular expressions for searching and filtering in CLI output, such as the show commands. Regular expressions are case sensitive and allow for complex matching requirements. Special Characters You can also use other keyboard characters (such as ! or ~) as single-character patterns, but certain keyboard characters have special meanings when used in regular expressions.
  • Page 74: Anchoring

    Searching and Filtering show Command Output Often, the output from show commands can be lengthy and cumbersome. The Cisco NX-OS software provides the means to search and filter the output so that you can easily locate information. The searching and filtering options follow a pipe character (|) at the end of the show command.
  • Page 75: Filtering And Searching Keywords

    Include lines that match Filtering and Searching Keywords The Cisco NX-OS CLI provides a set of keywords that you can use with the show commands to search and filter the command output. This table lists the keywords for filtering and searching the CLI output.
  • Page 76: Diff Utility

    Removes diff temporary files from all sessions (past and present sessions) of all users. The Cisco NX-OS software creates temporary files for the most current output for a show command for all current and previous users sessions. You can remove these temporary files using the diff-clean command.
  • Page 77: Grep And Egrep Utilities

    You can use the less utility to display the contents of the show command output one screen at a time. You can enter less commands at the : prompt. To display all less commands you can use, enter h at the : prompt. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 78: Sed Utility

    -t delimiter Sorts using a specified delimiter. The default delimiter is the space character. Removes duplicate lines from the sort results. The sort output displays the duplicate lines. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 79: Redirecting Show Command Output Using Sscp

    The initial default is 1 line. If you use the optional lines argument, that value becomes the new default number of lines to display for this command. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 80: Using The Command History

    Repeats the previous command. Using the Command History The Cisco NX-OS software CLI allows you to access the command history for the current user session. You can recall and reissue commands, with or without modification. You can also clear the command history.
  • Page 81: Configuring The Cli Edit Mode

    You can control the commands that you recall from the CLI history using the Ctrl-P and Ctrl-N keystroke shortcuts. Cisco NX-OS software recalls all commands from the current command mode and higher command modes. For example, if you are working in global configuration mode, the command recall keystroke shortcuts recall both EXEC mode and global configuration mode commands.
  • Page 82: Enabling Or Disabling The Cli Confirmation Prompts

    Enabling or Disabling the CLI Confirmation Prompts For many features, the Cisco NX-OS software displays prompts on the CLI that ask for confirmation before continuing. You can enable or disable these prompts. The default is enabled.
  • Page 83: Sending Commands To Modules

    BIOS: version 1.10.6 system: version 4.2(1) [build 4.2(0.202)] --- 1,5 ---- ! RAM 516692 kB ! lc4 Software BIOS: version 1.10.6 system: version 4.2(1) [build 4.2(0.202)] *************** *** 12,16 **** Hardware Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 84: Bios Loader Prompt

    If a valid kickstart image is not found, the following BIOS loader prompt displays: loader> For information on how to load the Cisco NX-OS software from the prompt, see the Cisco Nexus <loader>...
  • Page 85: Using The System-Defined Timestamp Variable

    2/1 This example displays the run-script command execution output: switch# run-script testfile `configure terminal` `interface ethernet 2/1` `no shutdown` `end` `show interface ethernet 2/1 ` Ethernet2/1 is down (Link not connected) Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 86: Using The Sscp Utility To Redirect Show Command Output

    MyId@172.28.255.18's password: switch# show version | sscp MyConnection show_version_output switch# Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 87: Configuring Terminal Settings And Sessions

    Information About Terminal Settings and Sessions This section includes information about terminal settings and sessions. Terminal Session Settings The Cisco NX-OS software features allow you to manage the following characteristics of terminals: Terminal type Name used by Telnet when communicating with remote hosts...
  • Page 88: Console Port

    Specifies the transmission speed for the connection. Stop bits Specifies the stop bits for an asynchronous line. Configure your terminal emulator with 9600 baud, 8 data bits, 1 stop bit, and no parity. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 89: Virtual Terminals

    Virtual Terminals Virtual Terminals You can use virtual terminal lines to connect to your Cisco NX-OS device. Secure Shell (SSH) and Telnet create virtual terminal sessions. You can configure an inactive session timeout and a maximum sessions limit for virtual terminals.
  • Page 90: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Configures the timeout for an inactive session. The range is from 0 to 525600 minutes (8760 hours). A value of 0 minutes disables the session timeout. The default is 30 Example: minutes. switch(config-console)# exec-timeout 30 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 91: Configuring The Com1 Port

    You can set the following characteristics for the COM1 port: • Data bits • Flow control on the hardware • Parity • Speed • Stop bits Before You Begin Log in to the console port or COM1 port. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 92: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Step 6 speed {300 | 1200 | 2400 | 4800 | 9600 | 38400 | 57600 | Configures the transmit and receive speed. The default 115200} is 9600. Example: switch(config-com1)# speed 115200 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 93: Configuring Virtual Terminals

    Configuring Virtual Terminals This section describes how to configure virtual terminals on Cisco NX-OS devices. Configuring the Inactive Session Timeout You can configure a timeout for inactive virtual terminal sessions on a Cisco NX-OS device. SUMMARY STEPS 1. configure terminal 2.
  • Page 94: Configuring The Session Limit

    Copies the running configuration to the startup configuration. Example: switch(config)# copy running-config startup-config Configuring the Session Limit You can limit the number of virtual terminal sessions on your Cisco NX-OS device. SUMMARY STEPS 1. configure terminal 2. line vty 3. session-limit sessions 4. exit 5.
  • Page 95: Configuring Modem Connections

    Step 3 session-limit sessions Configures the maximum number of virtual sessions for the Cisco NX-OS device. The range is from 1 to 60. The default is 32. Example: switch(config-line)# session-limit 10 Step 4 Exits line configuration mode.
  • Page 96: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    (Optional) Displays the console and COM1 settings. Example: switch(config)# show line Step 6 (Optional) copy running-config startup-config Copies the running configuration to the startup configuration. Example: switch(config)# copy running-config startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 97: Downloading The Default Initialization String

    Configuring Terminal Settings and Sessions Downloading the Default Initialization String Downloading the Default Initialization String The Cisco NX-OS software provides a default initialization string that you can download for connecting with the modem. The default initialization string is ATE0Q1&D2&C1S0=1\015. Before You Begin Log in to the console port.
  • Page 98: Configuring And Downloading A User-Specified Initialization String

    Enters global configuration mode. Example: switch# configure terminal switch(config)# Step 2 Enter one of the following commands: Option Description line com1 Enters COM1 configuration mode. line console Enters console configuration mode. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 99: Initializing A Modem For A Powered-Up Cisco Nx-Os Device

    If you connect a modem to a powered-up physical device, you must initialize the modem before you can use Before You Begin After waiting until the Cisco NX-OS device has completed the boot sequence and the system image is running, connect the modem to either the COM1 port or the console port on the device.
  • Page 100: Clearing Terminal Sessions

    Example: switch# modem connect line com1 Related Topics Enabling a Modem Connection, on page 77 Clearing Terminal Sessions You can clear terminal sessions on the Cisco NX-OS device. SUMMARY STEPS 1. (Optional) show users 2. clear line name DETAILED STEPS...
  • Page 101: Default Settings For Terminal Display And Session Parameters

    The all keyword displays the default values for the user accounts. For detailed information about the fields in the output from these commands, see the Cisco Nexus command reference guide for your device. Default Settings for Terminal Display and Session Parameters This table lists the default settings for terminal displays and session parameters.
  • Page 102: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Default Settings for Terminal Display and Session Parameters Parameters Default COM1 session stop bits Virtual terminal inactive session timeout Disabled (0 minutes) Virtual terminal sessions limit Modem default initialization string ATE0Q1&D2&C1S0=1\015 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 103: Basic Device Management

    C H A P T E R Basic Device Management This chapter describes how to configure, manage, and verify the basic setting on your Cisco NX-OS device. • Information About Basic Device Management, page 85 • Changing the Device Hostname, page 87 •...
  • Page 104: Interface

    Interface Note If the management 10/100 Ethernet port (mgmt0) interface of the Cisco MDS 9700 Series switches has a preconfigured /0 IPv6 address that cannot be removed, use the write erase boot command to clear the complete configuration of the device and reload it. Perform this process before commissioning the device into production as this process is disruptive to user traffic if it is applied to the active supervisor of a system.
  • Page 105: Message-Of-The-Day Banner

    Telnet Server Connection The Telnet server is disabled by default on all switches in the Cisco MDS 9000 Family. You can enable the Telnet server if you do not require a secure SSH connection. However, if you require a secure SSH connection, you need to disable the default Telnet connection and then enable the SSH connection.
  • Page 106: Configuring The Management Interface

    You only need to configure the mgmt0 interface on the active supervisor module. When a supervisor Note module switchover occurs, the new active supervisor module uses the same configuration for the mgmt0 interface. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 107: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Dispalys the mgmt 0 interface information. Example: switch(config)# show interface mgmt 0 Step 6 copy running-config startup-config (Optional) Copies the running configuration to the startup configuration. Example: switch(config)# copy running-config startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 108: Configuirng The Default Gateway

    You can configure the MOTD to display before the login prompt on the terminal when a user logs in. The MOTD banner has the following characteristics: • Maximum of 80 characters per line Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 109: Configuring The Time Zone

    Copies the running configuration to the startup configuration. Example: switch# copy running-config startup-config Configuring the Time Zone You can configure the time zone to offset the device clock time from UTC. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 110: Configuring Summer Time (Daylight Saving Time)

    Configuring Summer Time (Daylight Saving Time) You can configure when summer time, or daylight saving time, is in effect for the device and the offset in minutes. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 111: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    (Optional) Displays the configured MOTD banner. Example: switch(config)# show clock detail Step 5 copy running-config startup-config (Optional) Copies the running configuration to the startup configuration. Example: switch# copy running-config startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 112: Manually Setting The Device Clock

    You can display information about users logged into the device and send messages to those users. Displaying Information about the User Sessions You can display information about the user session on the device. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 113: Sending A Message To Users

    80 alphanumeric characters and is case sensitive. Example: switch# send Reloading the device is 10 minutes! Enabling or Disabling a Telnet Server Connection You can enable or disable the Telnet server connection. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 114: Verifying The Device Configuration

    Displays the running configuration. show startup-config Displays the startup configuration. For detailed information about the fields in the output from these commands, see the Cisco Nexus command reference for your device. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 115: Default Settings For Basic Device Parameters

    Default Settings for Basic Device Parameters This table lists the default settings for basic device parameters. Table 15: Default Basic Device Parameters Parameters Default MOTD banner text User Access Verification Clock time zone Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 116: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Basic Device Management Default Settings for Basic Device Parameters Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 117: Using The Device File Systems, Directories, And Files

    This section describes the file systems, directories, files, and support provided to the external storage devices on devices. File Systems This topic provides information about the file system components supported on a Cisco MDS device. (The syntax for specifying a local file system is filesystem:[//modules/]. ) The default filesystem parameter is bootflash:.
  • Page 118: Directories

    You can download files, such as system image files, from remote servers using FTP, Secure Copy Protocol (SCP), Secure File Transfer Protocol (SFTP), and TFTP. You can also copy files from an external server to your device because your device can act as an SCP server. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 119: Working With External Storage Devices

    Mounting or Unmounting a USB Drive Mount or unmount a USB drive automatically by plugging or unplugging the drive from a Cisco MDS device. You can also use the mount or unmount command in either the user EXEC mode or the privileged EXEC mode to mount or unmount the device, respectively.
  • Page 120: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Switch Cisco MDS 8Gb No hardware — No hardware port No hardware No hardware Fabric Switch for port port port HP BladeSystem c-Class USB 2.0 or higher devices supported. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 121: Working With Directories

    To create a new directory, run the following command: mkdir [filesystem:[//module/]]directory Example: switch# mkdir test Displaying Directory Contents To display the contents of a directory, run the following command: dir [directory | filesystem:[//module/][directory]] Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 122: Deleting A Directory

    Deleting a Directory You can remove directories from the file systems on a Cisco MDS device. Note • Ensure that the directory is empty before you delete it. If the directory is not empty, you must delete all the files before you delete the directory.
  • Page 123: Copying A File

    • The copy command supports FTP, SCP, SFTP, TFTP, and HTTP protocols. Deleting a File If you specify a directory, the delete command deletes the entire directory and all of its contents. Caution Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 124: Displaying A File's Contents

    [filesystem:[//module/][directory/] | directory/]filename Example: switch# gzip show_tech After a file is compressed, it has a .gz suffix. Note • To uncompress a file, run the following command: gunzip [filesystem:[//module/][directory/] | directory/]filename .gz Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 125: Displaying The Last Lines In A File

    To find all the files beginning with the filename prefix in the default directory and in its subdirectories, run the following command: find filename-prefix Example: switch# find bgp_script Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 126: Working With Archive Files

    The verbose keyword specifies that the software should list the files as they are added to the archive. By default, the files are listed as they are added. Appending Files to an Archive File You can append files to an existing archive file on a device. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 127: Extracting Files From An Archive File

    Displaying the Filenames in an Archive File The archive filename is not case sensitive. Note To display the file names in an archive file, run the following command: tar list {bootflash: | volatile:}archive-filename Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 128: Examples Of Using A File System

    This example shows how to perform an In-Service Software Upgrade (ISSU) or In-Service Software Downgrade (ISSD) using a system image or kickstart image from a USB drive: switch# install all system usb1:m9300-s1ek9-mzg.6.2.13.FM.0.65.bin.S0 kickstart usb1:m9300-s1ek9-kickstart-mzg.6.2.13.FM.0.65.bin.S0 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 129: Working With Configuration Files

    Examples of Working with Configuration Files, page 123 Information About Configuration Files Configuration files contain the Cisco NX-OS software commands used to configure the features on a Cisco NX-OS device. Commands are parsed (translated and executed) by the Cisco NX-OS software when the system is booted (from the startup-config file) or when you enter commands at the CLI in a configuration mode.
  • Page 130: Managing Configuration Files

    You can copy a configuration file stored in the internal memory to a remote server as a backup or to use for configuring other Cisco NX-OS devices. SUMMARY STEPS 1. copy running-config scheme://server/[url /]filename 2. copy startup-config scheme://server/[url /]filename Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 131: Downloading The Running Configuration From A Remote Server

    Ensure that the permissions on the file are set correctly. Permissions on the file should be set to world-read. Ensure that your Cisco NX-OS device has a route to the remote server. The Cisco NX-OS device and the remote server must be in the same subnetwork if you do not have a router or a default gateway to route traffic between subnets.
  • Page 132: Downloading The Startup Configuration From A Remote Server

    Ensure that the permissions on the file are set correctly. Permissions on the file should be set to world-read. Ensure that your Cisco NX-OS device has a route to the remote server. The Cisco NX-OS device and the remote server must be in the same subnetwork if you do not have a router or a default gateway to route traffic between subnets.
  • Page 133: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Saves the running configuration file to the startup configuration file. Example: switch# copy running-config startup-config Step 5 show startup-config (Optional) Displays the running configuration. Example: switch# show startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 134: Copying Configuration Files To An External Flash Memory Device

    Related Topics Copying the Running Configuration from an External Flash Memory Device You can configure your Cisco NX-OS device by copying configuration files created on another Cisco NX-OS device and saved to an external flash memory device. Before You Begin Insert the external flash memory device into the active supervisor module.
  • Page 135: Copying The Startup Configuration From An External Flash Memory Device

    Related Topics Copying the Startup Configuration from an External Flash Memory Device You can recover the startup configuration on your Cisco NX-OS device by downloading a new startup configuration file saved on an external flash memory device. Before You Begin Insert the external flash memory device into the active supervisor module.
  • Page 136: Copying Configuration Files To An Internal File System

    Command or Action Purpose Step 1 copy running-config [filesystem:][directory/] | Copies the running-configuration file to internal memory. [directory/]filename The filesystem, directory, and filename arguments are case sensitive. Example: switch# copy running-config bootflash:sw1-run-config.bak Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 137: Rolling Back To A Previous Configuration

    Note switch# reload binary version of the startup configuration. Beginning with Cisco NX-OS 6.2(2), you can use the reload ascii command to copy an ASCII version of the configuration to the start up configuration when reloading the device. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide...
  • Page 138: Removing The Configuration For A Missing Module

    Displays the installed hardware for the device. Example: switch# show hardware Step 2 purge module slot running-config Removes the configuration for a missing module from the running configuration. Example: switch# purge module 3 running-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 139: Erasing A Configuration

    To remove the boot variables, running configuration, and the IP configuration on the management interface follow step-3 to step-5. SUMMARY STEPS 1. write erase boot 2. reload 3. write erase 4. write erase boot 5. reload Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 140: Verifying The Device Configuration

    Displays the running configuration. show startup-config Displays the startup configuration. For detailed information about the fields in the output from these commands, see the Cisco Nexus command reference for your device. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 141: Examples Of Working With Configuration Files

    By default, the reload command reloads the device from a binary version of the startup configuration. Beginning with Cisco NX-OS 6.2(2), you can use the reload ascii command to copy an ASCII version of the configuration to the start up configuration when reloading the device.
  • Page 142: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Working with Configuration Files Rolling Back to a Previous Configuration Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 143: C H A P T E

    The Cisco Discovery Protocol (CDP) is an advertisement protocol used by Cisco devices to advertise itself to other Cisco devices in the same network. CDP runs on the data link layer and is independent of Layer 3 protocols. Cisco devices that receive the CDP packets cache the information to make it accessible through the CLI and SNMP.
  • Page 144: High Availability For Cdp

    High Availability for CDP High Availability for CDP The Cisco NX-OS software supports stateless restarts for CDP. After a reboot or a supervisor module switchover, the Cisco NX-OS software applies the running configuration. For more information on high availability, see the .
  • Page 145: Enabling Or Disabling Cdp On An Interface

    (Optional) Displays CDP information for an interface. Example: switch(config-if)# show cdp interface ethernet 1/2 Step 5 copy running-config startup-config (Optional) Saves this configuration change. Example: switch(config-if)# copy running-config startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 146: Configuring Optional Cdp Parameters

    Displays the CDP interface status. show cdp neighbors {device-id | interface Displays the CDP neighbor status. interface-type slot/port} [detail] show cdp traffic interface interface-type slot/port Displays the CDP traffic statistics on an interface. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 147: Clearing Cdp Counters And Tables

    Table 17: CDP Default Settings Parameters Default Enabled globally and on all interfaces CDP version Version 2 CDP device ID Serial number CDP timer 60 seconds CDP hold timer 180 seconds Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 148: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    Configuring CDP Default Settings for CDP Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 149: Configuring Ntp

    By configuring an IP address as a peer, the Cisco NX-OS device will obtain and provide time as required. The peer is capable of providing time on its own and is capable of having a server configured. If both of these instances point to different time servers, your NTP service is more reliable.
  • Page 150: Cisco Mds 9000 Family Nx-Os Fundamentals Configuration Guide

    • Switch-1 IPv4 address-10.10.10.1 • Switch-1 NTP configuration ◦ NTP server 10.10.10.10 ◦ NTP peer 10.10.10.2 • Switch-2 IPv4 address-10.10.10.2 • Switch-2 NTP configuration ◦ NTP server 10.10.10.9 ◦ NTP peer 10.10.10.1 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 151: Ntp Configuration Distribution Using Cfs

    NTP Configuration Distribution Using CFS NTP Configuration Distribution Using CFS You can enable NTP fabric distribution for all Cisco MDS switches in the fabric. When you perform NTP configurations, and distribution is enabled, the entire server and peer configuration is distributed to all the switches in the fabric.
  • Page 152: Enabling Or Disabling The Ntp Protocol

    SUMMARY STEPS 1. configure terminal 2. ntp server {ip-address | ipv6-address | dns-name} 3. ntp peer {ip-address | ipv6-address | dns-name} 4. (Optional) show ntp peers 5. (Optional) copy running-config startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 153: Displaying And Clearing Ntp Statistics

    {peer | io | local | memory} Displays the NTP statistics. You can display the following NTP statistics: Example: • peer—NTP statistics for per peer. switch# show ntp statistics peers • io—NTP statistics for I/O devices. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 154: Distributing The Ntp Configuration Using Cfs

    Acquires a fabric lock and stores all future configuration changes in the pending database. Use the no form of the command Example: to disable NTP configuration distribution. The default is disabled. swtich(config)# ntp distribute Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 155: Committing Ntp Configuration Changes

    When you commit the NTP configuration changes, the Cisco NX-OS software applies the pending changes to the running configuration on the local Cisco MDS switch and to all the Cisco MDS switches in the fabric that can receive NTP configuration distributions. When you commit the NTP configuration changes without implementing the CFS session feature, the NTP configurations are distributed to all the switches in the fabric that have NTP distribution enabled.
  • Page 156: Discarding Ntp Configuration Changes

    Example: swtich(config)# ntp abort Step 3 show ntp session status (Optional) Displays the NTP configuration distribution session status information. Example: swtich(config)# show ntp session status Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 157: Releasing Fabric Session Lock On The Ntp Configuration

    Displays the NTP distribution status. show ntp timestamp status Displays if the timestamp check is enabled. NTP Example Configuration This example configures an NTP server: configure terminal ntp server 192.0.2.10 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 158: Default Settings For Ntp

    Configuring NTP Default Settings for NTP Default Settings for NTP This table lists the default settings for NTP parameters. Table 18: Default NTP Settings Disabled Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 159: C H A P T E

    NAME: "Slot 4", DESCR: "2x1GE IPS, 14x1/2Gbps FC Module" PID: DS-X9302-14K9 VID: 0.201, SN: JAB081605A5 NAME: "Slot 5", DESCR: "Supervisor/Fabric-1" PID: DS-X9530-SF1-K9 VID: 4.0, SN: JAB0747080H NAME: "Slot 6", DESCR: "Supervisor/Fabric-1" Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 160: Managing System Hardware

    Cisco Storage Area Networking Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright (c) 2003-2004 by Cisco Systems, Inc. All rights reserved. The copyright for certain works contained herein are owned by Cisco Systems, Inc. and/or other third parties and are used and distributed under license. Software BIOS: version 1.0.8...
  • Page 161: Displaying The Switch Serial Number

    Displaying the Switch Serial Number You can display the serial number of your Cisco MDS 9000 Family switch by looking at the serial number label on the back of the chassis (next to the power supply), or by using the show sprom backplane 1 command.
  • Page 162: Displaying Power Usage Information

    In response to this command, power supply capacity and consumption information is displayed for each module. In a Cisco MDS 9500 Series switch, power usage is reserved for both supervisors regardless of whether Note one or both supervisor modules are present.
  • Page 163: Power Supply Modes

    Cisco MDS 9000 Series Multilayer Switches support different number and capabilities of power supplies. The following describe the power modes that are available on the Cisco MDS 9000 Series Multilayer Switches. Not all the power modes are available on all the Cisco MDS 9000 Series Multilayer Switches.
  • Page 164 Scenario 3: If 3000 W is added as power supply 2, then the current capacity increases to 5000 W. Reason: 5000 W is twice the minimum (2500 W). This table describes how these scenarios differ. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 165 You decide to change the switch to redundant mode. Then the current capacity decreases to 2500 W and the configuration is rejected. Reason: 2500 W is less than the system usage (3000 W). This table describes these scenarios. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 166: Configuring The Power Supply Mode

    Configuring the Power Supply Mode You can configure power supply modes. SUMMARY STEPS 1. configure terminal 2. power redundancy-mode {combined | insrc-redundant | ps-redundant |redundant} 3. (Optional) show environment power 4. (Optional) copy running-config startup-config Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 167: About Crossbar Management

    • 4/44-port 8-Gbps Host-Optimized Fibre Channel module • Cisco MDS 9513 Fabric-2 Crossbar Switching module Note The new software features in Cisco MDS NX-OS Release 4.1(1b) and later are not supported in the Generation 1 hardware. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide...
  • Page 168: Operational Considerations When Removing Crossbars

    • 14/2-port Multiprotocol Services (MPS-14/2) module Operational Considerations when Removing Crossbars You can mix and match Generation 1 and Generation 2 hardware on the Cisco MDS 9500 Series Directors running Cisco MDS NX-OS software without compromising the integrity and availability of your SANs based on Cisco MDS 9500 Series Directors.
  • Page 169: Gracefully Shutting Down A Crossbar

    Provideing Backward Compatibility for Generation 1 Modules in Cisco MDS 9513 Directors To provide backward compatibility for a Generation 1 module in a Cisco MDS 9513 chassis, the active and backup Supervisor-2 modules are associated to a specific crossbar module. The Supervisor-2 module in slot 7 is associated with crossbar module 1, and Supervisor-2 module in slot 8 is associated with crossbar module 2.
  • Page 170: About Module Temperature Monitoring

    9513 that has only Generation 2 modules installed. About Module Temperature Monitoring Built-in automatic sensors are provided in all switches in the Cisco MDS 9000 Family to monitor your switch at all times. Each module (switching and supervisor) has four sensors: 1 (outlet sensor), 2 (intake sensor), 3 (onboard sensor), and 4 (onboard sensor).
  • Page 171: Displaying Module Temperatures

    • One or more fans fail within a fan module—Even with multiple fan failures, switches in the Cisco MDS 9000 Family can continue functioning. When a fan fails within a module, the functioning fans in the module increase their speed to compensate for the failed fan(s).
  • Page 172 If one or more fans fail within a fan module, the Fan Status LED turns red. A fan failure could lead to Note temperature alarms if not corrected immediately. The fan status is continuously monitored by the Cisco MDS NX-OS software. In case of a fan failure, the following action is taken: • System messages are displayed.
  • Page 173: About Clock Modules

    Figure 9: Cisco MDS 9513 Front Fan Module Numbering The rear fan module (DS-13SLT-FAN-R) on the Cisco MDS 9513 Director has only two fans. If a fan in the rear fan module fails, the State field in the show environment fan command output only displays "failure"...
  • Page 174: Displaying Environment Information

    Power Supply redundancy mode: redundant Total Power Capacity 919.38 Power reserved for Supervisor(s)[-] 220.08 Power reserved for Fan Module(s)[-] 0.00 Power currently used by Modules[-] 0.00 ------- Total Power Available 699.30 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 175: Default Settings

    Managing System Hardware Default Settings ------- Default Settings This table lists the default hardware settings Table 22: Default Hardware Parameter Settings Parameter Default Setting Power supply mode Redundant mode. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 176 Managing System Hardware Default Settings Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 177: C H A P T E

    SSI Boot Images, page 181 • Managing SSMs and Supervisor Modules, page 190 • Default Settings, page 194 About Modules This table describes the supervisor module options for switches in the Cisco MDS 9000 Family. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 178: Supervisor Modules

    • Cisco MDS 9513 Directors—Two supervisor modules, one in slot 7 (sup-1) and one in slot 8 (sup-2). When the switch powers up and both supervisor modules come up together, the active module is the one that comes up first.
  • Page 179 Managing Modules Supervisor Modules • Cisco MDS 9200 Series switches—One supervisor module that includes an integrated 16-port switching module. Module Terms Fixed or Relative Usage module-7 and module-8 Fixed usage for the Cisco MDS module-7 always refers to the 9513 Director...
  • Page 180: Switching Modules

    This section includes general information about replacing and using supervisor modules effectively. Replacing Supervisor Modules To avoid packet loss when removing a supervisor module from a Cisco MDS 9500 Series Director, take the supervisor modules out of service before removing the supervisor module.
  • Page 181: Standby Supervisor Module Boot Variable Version

    When updating software images on the standby supervisor module, verify that there is enough space available for the image using the dir bootflash://sup-standby/ command. It is a good practice to remove older versions of Cisco MDS NX-OS images and kickstart images. Standby Supervisor Module Boot Alert...
  • Page 182: Checking The State Of A Module

    Status column each time. The switching module goes through a testing and an initializing stage before displaying an ok status. This table describes the module states listed in the show module command output. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 183: Connecting To A Module

    • To display the standby supervisor module information. You cannot configure the standby supervisor module using this command. • To display the switching module portion of the Cisco MDS 9200 Series supervisor module which resides in slot 1. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide...
  • Page 184: Reloading Modules

    Reloading a Switch To reload the switch, issue the reload command without any options. When you issue this command, you reboot the switch (see the Cisco MDS 9000 NX-OS Release 4.1(x) and SAN-OS 3(x) Software Upgrade and Downgrade Guide. Power Cycling Modules You can power cycle any module in a chassis.
  • Page 185: Reloading Switching Modules

    In this example, the identified module resides in slot switch# reload module 9 force-dnld 1 00:00:46 switch %LC-2-MSG:SLOT9 LOG_LC-2-IMG_DNLD_COMPLETE: COMPLETED downloading of linecard image. Download successful... Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 186: Saving The Module Configuration

    3 The factory default configuration is applied. module referred to in Step 1. 4 The configuration saved in nonvolatile storage 4 You enter the reload command to reload the referred to in Step 1 is applied. switch. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 187: Purging Module Configurations

    Enter the purge module slot running-config command to delete the configuration in a specific module. Once you enter this command, the Cisco NX-OS software clears the running configuration for the specified slot. This command does not work on supervisor modules or on any slot that currently has a module. This command only works on an empty slot (where the specified module once resided).
  • Page 188: Identifying Module Leds

    Managing Modules Identifying Module LEDs Identifying Module LEDs This table describes the LEDs for the Cisco MDS 9200 Series integrated supervisor modules. Table 26: LEDs for the Cisco MDS 9200 Series Supervisor Modules Status Description Status Green All diagnostics pass. The module is operational (normal initialization sequence).
  • Page 189 Link is disabled by software. Flashing yellow A fault condition exists. No link. This table describes the LEDs for the Cisco MDS 9200 Series interface module. Table 27: LEDs on the Cisco MDS 9200 Series Interface Module Status Description Status Green All diagnostics pass.
  • Page 190 Traffic is flowing through port. No link or no traffic. This table describes the LEDs for the 16-port and 32-port switching modules, and the 4-port, 12-port, 24-port, and 48-port Generation 2 switching modules. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 191 Managing Modules Identifying Module LEDs Table 28: LEDs for the Cisco MDS 9000 Family Fibre Channel Switching Modules Status Description Status Green All diagnostics pass. The module is operational (normal initialization sequence). The module is booting or running diagnostics (normal initialization sequence).
  • Page 192 The LEDs on the supervisor module indicate the status of the supervisor module, power supplies, and the fan module. This table provides more information about these LEDs. Table 29: LEDs for the Cisco MDS 9500 Series Supervisor Modules Status Description...
  • Page 193 Link is up. No link. MGMT 10/100 Ethernet Activity Green Traffic is flowing through port. No link or no traffic. Compact Flash Green The external CompactFlash card is being accessed. No activity. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 194: Epld Images

    (EPLDs) that provide hardware functionalities in all modules. EPLD image upgrades are periodically provided to include enhanced hardware functionality or to resolve known issues. Refer to the Cisco MDS NX-OS Release Notes to verify if the EPLD has changed for the Cisco NX-OS image version being used.
  • Page 195 2 Verify that you have enough free space available on the active and standby supervisor memory devices that you plan to use, either bootflash: or slot0:. The download site on Cisco.com shows the size of the EPLD image file in bytes.
  • Page 196 * Supervisor/Fabric-1 DS-X9530-SF1-K9 ha-standby The show module command output shows that the standby supervisor is in slot 6. Use the attach command to access the supervisor module. switch# attach module 6 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 197 Curr Ver New Ver ------------------------------------------------------- XBUS IO 0x07 0x07 UD Flow Control 0x05 0x05 PCI ASIC I/F 0x05 0x05 PCI Bridge 0x05 0x07 WARNING: Upgrade process could take upto 15 minutes. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 198: Displaying Epld Image Versions

    2 epld bootflash:m9000-epld-2.1.2.img \ <------------------------------------------------------------progress twirl Module 2 EPLD upgrade is successful When you upgrade the EPLD module on Cisco MDS 9100 Series switches, you receive the following message: Note Data traffic on the switch will stop now!!
  • Page 199: Ssi Boot Images

    Fibre Channel switching mode by default. Note If you downgrade to a Cisco MDS SAN-OS release that does not support the SSM, you must power down the module. The boot variables for the SSM are lost. Installing the SSI Boot Image You can install the SSI boot image on the following modules: •...
  • Page 200 Step 4 Enter the install ssi command to install the SSI boot image on the SSM. As of Cisco SAN-OS Release 3.0(2), if the SSI boot image is located on bootflash: the install ssi command Note copies the SSI boot image to the modflash: on the SSM.
  • Page 201: Upgrading Or Downgrading The Ssi Boot Image

    Update the SSI boot image using one of the following methods: • If your switch is running Cisco MDS SAN-OS Release 2.0(1a) through Release 2.1(1a), configure the SSI boot variable to upgrade or downgrade the SSI boot image on the module.
  • Page 202: Verifying The Ssi Boot Image

    1. Log into the switch through the console port, an SSH session, or a Telnet session. 2. Enter the show version command to ensure that your switch is running Cisco MDS SAN-OS Release 2.1(1a) or later system and kickstart images.
  • Page 203 2 Verify that you have enough free space available on the active and standby supervisor memory devices which you plan to use, either bootflash: or slot0:. The download site on Cisco.com shows the size of the boot image file in bytes.
  • Page 204 12288 Jan 01 00:01:06 1980 lost+found/ 14765056 Mar 21 15:35:06 2005 m9500-sf1ek9-kickstart-mz.2.1.1.bin 15944704 Apr 06 16:46:04 2005 m9500-sf1ek9-kickstart-mz.2.1.1a.bin 48063243 Mar 21 15:34:46 2005 m9500-sf1ek9-mz.2.1.1.bin 48036239 Apr 06 16:45:41 2005 m9500-sf1ek9-mz.2.1.1a.bin Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 205 4 Copy the EPLD image file from the FTP server to the bootflash: or slot0: device in the active supervisor module. The following example shows how to copy to bootflash: switch# copy ftp://10.1.7.2/m9000-epld-4.1.1b.img bootflash:m9000-epld-4.1.1b.img Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 206: Using The Install Ssi Command

    Issue a show module command to verify the status of the module. 3. Verify the Cisco MDS NX-OS release running on the switch and the location and name of the SSI boot image on the switch.
  • Page 207 Upgrading or Downgrading the SSI Boot Image Note the slot number for later reference. Step 3 Verify the Cisco MDS NX-OS release running on the switch and the location and name of the SSI boot image on the switch. Step 4 Install the SSI image on the SSM.
  • Page 208: Managing Ssms And Supervisor Modules

    1. configure terminal 2. [no] ssm upgrade delay seconds 3. (Optional) copy running-config startup-config DETAILED STEPS Command or Action Purpose Step 1 configure terminal Enters global configuration mode. Example: switch# configure terminal switch(config)# Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 209: Guidelines For Replacing Ssms And Supervisor Modules

    Recovering an SSM After Replacing Corrupted CompactFlash Memory As of Cisco MDS NX-OS Release 4.1(1a) and SAN-OS Release 2.1(2), you can use the CompactFlash memory (modflash:) on the SSM to store the SSI image. If the modflash: on the SSM is replaced, the SSM might not initialize.
  • Page 210: Guidelines For Upgrading And Downgrading Cisco Mds Nx-Os Releases

    2 Guidelines for Upgrading and Downgrading Cisco MDS NX-OS Releases Consider the following guidelines when upgrading and downgrading the Cisco MDS NX-OS software on a switch containing an SSM: Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide...
  • Page 211 Manager GUI to upgrade SSMs once it has been installed. • If you downgrade to a Cisco MDS NX-OS release that does not support the SSM, you must power down the module. The boot variables for the module are lost.
  • Page 212: Default Settings

    • No value for location. System clock No value for system clock time. In-band (VSAN 1) interface IP address, subnet mask, and broadcast address assigned to the VSAN are set to 0.0.0.0. Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 213 Table 32: Default Supervisor Module Settings Parameter Default Initial state when installed • Power-down state on switches with Cisco MDS SAN-OS Release 2.1(1a) and earlier installed. • Fibre Channel switching mode on switches with Cisco MDS SAN-OS Release 2.1(2) and NX-OS Release 4.1(1b), or later installed and SSMs...
  • Page 214 Managing Modules Default Settings Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02...
  • Page 215 COM1 port description settings optional parameters COM1 ports 73, 77, 83 verifying configuration configuring settings characters default settings special enabling modem connections Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02 IN-1...
  • Page 216 EDLD images POAP process 32, 33, 34, 35, 36 downgrading DHCP phase post-installation reload phase description power up phase egrep utility script execution phase filtering show command output using POAP Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide IN-2 OL-29291-02...
  • Page 217 LEDs grep utility descriptions keywords less utility less utility filtering show command output sed utility searching show command output show command output licensing support loader> prompt description Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02 IN-3...
  • Page 218 See also POAP clearing a session privileged EXEC mode clearing statistics 135, 139 summary configuration distribution prompts, See confirmation prompts configuring a server, example configuring peer default settings Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide IN-4 OL-29291-02...
  • Page 219 Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide OL-29291-02 IN-5...
  • Page 220 See also hostname syntax checking, See context-sensitive help variables, See CLI variables system hardware virtual terminals 71, 75, 76, 83 default settings configuring configuring session limits default settings settings Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide IN-6 OL-29291-02...

Table of Contents