Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 4.1 First Published: 12/19/2008 Last Modified: 07/22/2009
Total Page:16
File Type:pdf, Size:1020Kb
Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 4.1 First Published: 12/19/2008 Last Modified: 07/22/2009 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-18698-01 THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS. THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California. NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0910R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. © 2010 Cisco Systems, Inc. All rights reserved. CONTENTS Preface xi Audience xi Document Organization xi Document Conventions xii Related Documentation for Nexus 7000 Series NX-OS Software xiii Obtaining Documentation and Submitting a Service Request xiv New and Changed Information 1 New and Changed Information 1 Overview 3 Software Compatibility 3 Common Software Throughout the Data Center 3 Modular Software Design 5 Virtual Device Contexts 5 Serviceability 5 Switched Port Analyzer 5 Ethanalyzer 5 Call Home 5 Online Diagnostics 6 Embedded Event Manager 6 NetFlow 6 Manageability 6 Simple Network Management Protocol 6 Configuration Verification and Rollback 6 Role-Based Access Control 7 Connectivity Management Processor 7 Cisco NX-OS Device Configuration Methods 7 Traffic Routing, Forwarding, and Management 7 Ethernet Switching 7 Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 4.1 OL-18698-01 iii Contents IP Routing 8 IP Services 8 IP Multicast 8 Quality of Service 9 Network Security 9 Cisco TrustSec 9 Additional Network Security Features 9 Licensing 10 Supported Standards 10 Using the Cisco NX-OS Setup Utility 17 Information About the Cisco NX-OS Setup Utility 17 Prerequisites for the Setup Utility 19 Setting Up Your Cisco NX-OS Device 19 Where to Go Next 24 Additional References for the Setup Utility 24 Related Documents for the Setup Utility 24 Understanding the Command-Line Interface 25 Information About the CLI Prompt 26 Command Modes 26 EXEC Command Mode 26 Global Configuration Command Mode 26 Interface Configuration Command Mode 27 Subinterface Configuration Command Mode 27 Saving and Restoring a Command Mode 28 Exiting a Configuration Command Mode 28 Command Mode Summary 29 Special Characters 31 Keystroke Shortcuts 31 Abbreviating Commands 34 Completing a Partial Command Name 34 Identifying Your Location in the Command Hierarchy 35 Using the no Form of a Command 35 Configuring CLI Variables 36 About CLI Variables 36 Configuring CLI Session-Only Variables 37 Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 4.1 iv OL-18698-01 Contents Configuring Persistent CLI Variables 37 Command Aliases 38 About Command Aliases 38 Defining Command Aliases 38 Command Scripts 39 Running a Command Script 39 Echoing Information to the Terminal 40 Delaying Command Action 41 Context-Sensitive Help 41 Understanding Regular Expressions 42 Special Characters 42 Multiple-Character Patterns 43 Anchoring 43 Searching and Filtering show Command Output 44 Filtering and Searching Keywords 44 grep and egrep Utilities 45 less Utility 46 sed Utility 46 sort Utility 46 Searching and Filtering from the --More-- Prompt 47 Using the Command History 49 Recalling a Command 49 Controlling CLI History Recall 49 Displaying the Command History 49 BIOS Loader Prompt 50 Examples Using the CLI 50 Defining Command Aliases 50 Using CLI Session Variables 50 Using the System-Defined Timestamp Variable 51 Running a Command Script 51 Additional References for the CLI 52 Related Documents for the CLI 52 Feature History for the CLI 52 Configuring Terminal Settings and Sessions 53 Information About Terminal Settings and Sessions 53 Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 4.1 OL-18698-01 v Contents Terminal Session Settings 53 Console Port 54 COM1 Port 54 Virtual Terminals 54 Modem Support 54 Virtualization Support for Configuration Files 55 Licensing Requirements for Terminal Settings and Sessions 55 Configuring the Console Port 55 Configuring the COM1 Port 57 Configuring Virtual Terminals 58 Configuring the Inactive Session Timeout 58 Configuring the Session Limit 59 Configuring Modem Connections 60 Enabling a Modem Connection 60 Downloading the Default Initialization String 61 Configuring and Downloading a User-Specified Initialization String 62 Initializing a Modem for a Powered-Up Cisco NX-OS Device 64 Clearing Terminal Sessions 64 Displaying Terminal and Session Information 65 Default Settings for File System Parameters 65 Additional References for Terminal Settings and Sessions 65 Related Documents for Terminal Settings and Sessions 65 Basic Device Management 67 Information About Basic Device Management 67 Device Hostname 67 Message-of-the-Day Banner 68 Device Clock 68 Time Zone and Summer Time (Daylight Saving Time) 68 User Sessions 68 Virtualization Support for Basic Device Management 68 Licensing Requirements for Basic Device Management 68 Changing the Device Hostname 68 Configuring the MOTD Banner 69 Configuring the Time Zone 70 Configuring Summer Time (Daylight Saving Time) 71 Cisco Nexus 7000 Series NX-OS Fundamentals Configuration Guide, Release 4.1 vi OL-18698-01 Contents Manually Setting the Device Clock 72 Managing Users 72 Displaying Information about the User Sessions 73 Sending a Message to Users 73 Verifying the Device Configuration 73 Default Settings for Basic Device Parameters 74 Additional References for Basic Device Management 74 Related Documents for Basic Device Management 74 Feature History for Basic Device Management 74 Using the Device File Systems, Directories, and Files 75 Information About the Device File Systems, Directories, and Files 75 File Systems 75 Directories 77 Files 77 Virtualization Support for File Systems 77 Licensing Requirements for File Systems, Directories, and Files 77 Formatting External Flash Devices 77 Working with Directories 78 Identifying the Current Directory 78 Changing the Current Directory 78 Creating a Directory 79 Displaying Directory Contents 79 Deleting a Directory 80 Accessing Directories