Download Print this page

Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs

Advertisement

Quick Links

Table of Contents
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Cisco Nexus 5000 Series Switch CLI
Software Configuration Guide
Software Release 4.0(1a)N1
January 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-16597-01

Advertisement

Table of Contents
loading

  Related Manuals for Cisco AJ732A - Cisco MDS 9134 Fabric Switch

  Summary of Contents for Cisco AJ732A - Cisco MDS 9134 Fabric Switch

  • Page 1 S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 5000 Series Switch CLI Software Configuration Guide Software Release 4.0(1a)N1...
  • Page 2 S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE.
  • Page 3: Table Of Contents

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C O N T E N T S Preface Audience...
  • Page 4 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuration Fundamentals Using the Command-Line Interface C H A P T E R...
  • Page 5 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Additional Switch Configuration 3-13 Assigning a Switch Name...
  • Page 6 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Installing the License Key File Backing Up License Files Identifying License Features in Use...
  • Page 7 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Verifying VLAN Configuration Configuring Private VLANs C H A P T E R...
  • Page 8 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring MST C H A P T E R Information About MST...
  • Page 9 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Understanding STP Port Types 10-2 Understanding Bridge Assurance...
  • Page 10 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Understanding Access VLANs 12-3 Understanding the Native VLAN ID for Trunk Ports...
  • Page 11 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Switch Security Features Configuring AAA 16-1...
  • Page 12 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring the Global RADIUS Transmission Retry Count and Timeout Interval 17-9 Configuring the RADIUS Transmission Retry Count and Timeout Interval for a Server...
  • Page 13 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring SSH and Telnet 19-1 C H A P T E R...
  • Page 14 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Creating a MAC ACL 20-10 Changing a MAC ACL...
  • Page 15 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Clearing a Locked Session 21-9 CFS Regions...
  • Page 16 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Verifying a Session 23-3 Committing a Session...
  • Page 17 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Prerequisites for Call Home 26-5 Configuration Guidelines and Limitations...
  • Page 18 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Assigning SNMP Switch Contact and Location Information 27-11 Verifying SNMP Configuration...
  • Page 19 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring Virtual Interfaces 30-1 C H A P T E R...
  • Page 20 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring Egress Policies 31-14 SAN Switching...
  • Page 21 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring Switch Priority 33-4 About fcdomain Initiation...
  • Page 22 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m NPV Mode 34-2 Server Interfaces...
  • Page 23 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Interfaces in a SAN Port Channel 36-8 About Interface Addition to a SAN Port Channel...
  • Page 24 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring and Managing Zones 38-1 C H A P T E R...
  • Page 25 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Zone and Zone Set Analysis 38-24 Default Settings...
  • Page 26 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m About Hello Time Intervals 40-6 Configuring Hello Time Intervals...
  • Page 27 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Displaying FDMI 41-4 RSCN...
  • Page 28 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Switch Interoperability 43-9 About Interop Mode...
  • Page 29 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Port Security Activation 45-5 Activating Port Security...
  • Page 30 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m About Fabric Binding Activation and Deactivation 46-4 Activating Fabric Binding...
  • Page 31 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring SPAN 49-2 Creating and Deleting a SPAN Session...
  • Page 32 Contents S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 5000 Series Switch CLI Software Configuration Guide OL-16597-01...
  • Page 33 S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Preface This preface describes the audience, organization, and conventions of the Cisco Nexus 5000 Series Switch CLI Software Configuration Guide.
  • Page 34: Document Conventions

    Preface S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Chapter Title Description...
  • Page 35: Obtaining Documentation And Submitting A Service Request

    Preface Obtaining Documentation and Submitting a Service Request S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The following are related Cisco Nexus 5000 Series documents: Cisco Nexus 5000 Series CLI Software Configuration Guide, Release 4.0 Cisco Nexus 5000 Series Fabric Manager Software Configuration Guide, Release 4.0...
  • Page 36 Preface Obtaining Documentation and Submitting a Service Request S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 5000 Series Switch CLI Software Configuration Guide OL-16597-01...
  • Page 37: New Technologies In The Cisco Nexus 5000 Series

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Product Overview The Cisco Nexus 5000 Series is a family of top-of-rack switches for the data center.
  • Page 38: Chapter 1 Product Overview

    Chapter 1 Product Overview New Technologies in the Cisco Nexus 5000 Series S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m IEEE 802.3x link-level flow control allows a congested receiver to signal the far end to pause the data transmission for a short period of time.
  • Page 39: Virtual Interfaces

    Chapter 1 Product Overview Cisco Nexus 5000 Series Switch Hardware S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Virtual Interfaces When FCoE is enabled, a physical Ethernet cable carries traffic for a logical Fibre Channel connection.
  • Page 40: Fibre Channel Interfaces

    Chapter 1 Product Overview Cisco Nexus 5000 Series Switch Software S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The Nexus 5020 switch has 40 fixed 10-Gigabit Ethernet ports equipped with SFP+ interface adapters.
  • Page 41: Fcoe And Fibre Channel Switching

    Chapter 1 Product Overview Cisco Nexus 5000 Series Switch Software S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m FCoE and Fibre Channel Switching Cisco Nexus 5000 Series switches support data center I/O consolidation (IOC) by providing FCoE interfaces (to the servers) and native Fibre Channel interfaces (to the SAN).
  • Page 42: Switch Management

    Chapter 1 Product Overview Cisco Nexus 5000 Series Switch Software S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Ethanalyzer Ethanalyzer is a Cisco NX-OS protocol analyzer tool based on the Wireshark (formerly Ethereal) open source code.
  • Page 43: Network Security Features

    Chapter 1 Product Overview Typical Deployment Topologies S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m This section includes the following topics: Configuring with CLI, XML Management Interface, or SNMP, page 1-7 •...
  • Page 44: Ethernet Tor Switch Topology

    Chapter 1 Product Overview Typical Deployment Topologies S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Ethernet TOR Switch Topology The Cisco Nexus 5000 Series switch can be deployed as a 10-Gigabit Ethernet top-of-rack (TOR) switch, with uplinks to the data center LAN distribution layer switches.
  • Page 45: Ioc Topology

    Chapter 1 Product Overview Typical Deployment Topologies S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m IOC Topology Figure 1-3 shows a typical I/O consolidation (IOC) scenario for the Cisco Nexus 5000 Series switch.
  • Page 46: Supported Standards

    Chapter 1 Product Overview Supported Standards S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Supported Standards Table 1-1 lists the standards supported by the Cisco Nexus 5000 Series switches.
  • Page 47: Configuration Fundamentals

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m A R T Configuration Fundamentals...
  • Page 48 S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m...
  • Page 49: Accessing The Command Line Interface

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Using the Command-Line Interface This chapter describes the command-line interface (CLI) and CLI command modes.
  • Page 50: C H A P T E R 2 Using The Command-Line Interface

    Chapter 2 Using the Command-Line Interface Using the CLI S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Alternatively, to make an SSH connection to the switch, use the following command: Command Purpose...
  • Page 51: Cli Command Hierarchy

    Chapter 2 Using the Command-Line Interface Using the CLI S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m You can abbreviate commands and keywords by entering just enough characters to make the command unique from other commands.
  • Page 52 Chapter 2 Using the Command-Line Interface Using the CLI S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m clock Manage the system clock configure...
  • Page 53: Configuration Mode Commands

    Chapter 2 Using the Command-Line Interface Using the CLI S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuration Mode Commands Configuration mode allows you to make changes to the existing configuration.
  • Page 54: Using Commands

    Chapter 2 Using the Command-Line Interface Using Commands S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m privilege Command privilege parameters prompt...
  • Page 55: Entering Command Sequences

    Chapter 2 Using the Command-Line Interface Using Commands S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m If you are having trouble entering a command, check the system prompt and enter the question mark (?) for a list of available commands.
  • Page 56 Chapter 2 Using the Command-Line Interface Using Commands S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m switch(config)# do terminal session-timeout 0 switch(config)# In this example, terminal session-timeout is an EXEC mode command.
  • Page 57: Using Cli Variables

    Chapter 2 Using the Command-Line Interface Using CLI Variables S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Table 2-3 Common Configuration Submodes (continued) Submode Name...
  • Page 58: Using Command Aliases

    Chapter 2 Using the Command-Line Interface Using Command Aliases S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m 0 CRC, 0 unknown class 0 too long, 0 too short...
  • Page 59: Command Scripts

    Chapter 2 Using the Command-Line Interface Command Scripts S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The following example shows how to display the command aliases defined on the switch: switch# alias CLI alias commands...
  • Page 60: Using Cli Variables In Scripts

    Chapter 2 Using the Command-Line Interface Command Scripts S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Transmit B2B Credit is 255 Receive B2B Credit is 16 Receive data field Size is 2112...
  • Page 61: Setting The Delay Time

    Chapter 2 Using the Command-Line Interface Command Scripts S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m ------------------------------------------------------------------------------- Interface Vsan...
  • Page 62 Chapter 2 Using the Command-Line Interface Command Scripts S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 5000 Series Switch CLI Software Configuration Guide 2-14 OL-16597-01...
  • Page 63: Image Files On The Switch

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Configuring the Switch This chapter describes basic switch configuration functions.
  • Page 64: Chapter 3 Configuring The Switch

    Chapter 3 Configuring the Switch Image Files on the Switch S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Boot Sequence, page 3-2 •...
  • Page 65: Console Settings

    Chapter 3 Configuring the Switch Image Files on the Switch S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 3-1 Boot Sequence Power...
  • Page 66: Upgrading The Switch

    Chapter 3 Configuring the Switch Upgrading the Switch S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Upgrading the Switch Users with the network-admin role can upgrade the software image on the switch.
  • Page 67 Chapter 3 Configuring the Switch Upgrading the Switch S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m switch# dir bootflash: 5910 Jun 17 14:48:28 2008...
  • Page 68: Downgrading From A Higher Release

    Chapter 3 Configuring the Switch Downgrading from a Higher Release S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Provides a prompt to allow you to continue or abort the installation.
  • Page 69: Initial Configuration

    Chapter 3 Configuring the Switch Initial Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Prior to downgrading to a specific release, check the release notes for the current release installed on the Note switch, to ensure that your hardware is compatible with the specific release.
  • Page 70: Initial Setup

    Chapter 3 Configuring the Switch Initial Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Before you can configure a switch, follow these steps: Step 1 Verify the following physical connections for the new Cisco Nexus 5000 Series switch:...
  • Page 71: Default Login

    Chapter 3 Configuring the Switch Initial Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m SSH service on the switch (optional).
  • Page 72 Chapter 3 Configuring the Switch Initial Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Enter the password for admin: password If a password is weak (short, easy-to-decipher), your password configuration is rejected.
  • Page 73 Chapter 3 Configuring the Switch Initial Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Mgmt0 IPv4 address: ip_address Enter yes (yes is the default) to configure the IPv4 default gateway (recommended).
  • Page 74: Changing The Initial Configuration

    Chapter 3 Configuring the Switch Accessing the Switch S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Enter no (no is the default) if you are satisfied with the configuration.
  • Page 75: Additional Switch Configuration

    Chapter 3 Configuring the Switch Additional Switch Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Out-of-band access—You can use Telnet or SSH to access a Cisco Nexus 5000 Series switch or use •...
  • Page 76: Adjusting For Daylight Saving Time Or Summer Time

    Chapter 3 Configuring the Switch Additional Switch Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The clock command changes are saved across system resets.
  • Page 77: Ntp Configuration

    Chapter 3 Configuring the Switch NTP Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Command Purpose Step 1...
  • Page 78: Ntp Configuration Guidelines

    Chapter 3 Configuring the Switch NTP Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Time synchronization happens when several frames are exchanged between clients and servers.
  • Page 79: Configuring Ntp

    Chapter 3 Configuring the Switch NTP Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m IPv4 address–10.10.10.10 –...
  • Page 80: Enabling Ntp Distribution

    Chapter 3 Configuring the Switch NTP Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Committing NTP Configuration Changes, page 3-18 •...
  • Page 81: Management Interface Configuration

    Chapter 3 Configuring the Switch Management Interface Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Releasing Fabric Session Lock If you have performed an NTP fabric task and have forgotten to release the lock by either committing or discarding the changes, an administrator can release the lock from any switch in the fabric.
  • Page 82: About The Mgmt0 Interface

    Chapter 3 Configuring the Switch Management Interface Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m About the mgmt0 Interface The mgmt0 interface on Cisco NX-OS devices provides out-of-band management, which enables you to manage the device by its IPv4 or IPv6 address.
  • Page 83: Shutting Down The Management Interface

    Chapter 3 Configuring the Switch Managing the Switch Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA full-duplex, 1000 Mb/s...
  • Page 84: Saving A Configuration

    Chapter 3 Configuring the Switch Using Switch File Systems S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Saving a Configuration Use the copy running-config startup-config command to save the new configuration into nonvolatile storage.
  • Page 85: Displaying The Current Directory

    Chapter 3 Configuring the Switch Using Switch File Systems S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m This command exchanges the current directory to the root directory on the bootflash: file system: switch# cd bootflash: This example changes the current directory to the mystorage directory that resides in the current...
  • Page 86: Moving Files

    Chapter 3 Configuring the Switch Using Switch File Systems S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m switch# rmdir bootflash:test This is a directory.
  • Page 87: Displaying File Contents

    Chapter 3 Configuring the Switch Using Switch File Systems S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m This example shows how to delete a file from the current working directory: switch# delete dns_config.cfg This example deletes the entire bootflash: directory and all its contents:...
  • Page 88 Chapter 3 Configuring the Switch Using Switch File Systems S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Usage for volatile:// 266240 bytes used 20705280 bytes free...
  • Page 89: Licensing Terminology

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Managing Licenses This chapter describes how to manage licenses on a Cisco Nexus 5000 Series switch.
  • Page 90: Chapter 4 Managing Licenses

    Chapter 4 Managing Licenses Licensing Model S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Proof of purchase—A document entitling its rightful owner to use licensed features on one switch •...
  • Page 91: License Installation

    Chapter 4 Managing Licenses License Installation S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Table 4-1 Feature-Based Licenses (continued) Feature License...
  • Page 92: Performing A Manual Installation

    Chapter 4 Managing Licenses Obtaining the License Key File S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Performing a Manual Installation All Cisco Nexus 5000 Series licenses are factory-installed.
  • Page 93 Chapter 4 Managing Licenses Installing the License Key File S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m To install a license key file in any switch, perform this task: Step 1 Log into the switch through the console port of the active supervisor.
  • Page 94: Backing Up License Files

    Chapter 4 Managing Licenses Backing Up License Files S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Backing Up License Files All installed license files can be backed up as a .tar file in the user specified location.
  • Page 95 Chapter 4 Managing Licenses Uninstalling Licenses S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m If you are using an evaluation license and would like to install a new permanent license, you can do so without service disruption and before the evaluation license expires.
  • Page 96: Updating Licenses

    Chapter 4 Managing Licenses Updating Licenses S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Updating Licenses If your license is time bound, you must obtain and install an updated license.
  • Page 97: License Transfers Between Switches

    Chapter 4 Managing Licenses License Transfers Between Switches S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The grace period stops if you disable a feature you are evaluating, but if you enable that feature again without a valid license, the grace period countdown continues from when it had stopped.
  • Page 98: Verifying The License Configuration

    Chapter 4 Managing Licenses Verifying the License Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Verifying the License Configuration To display the license configuration information, perform one of the following tasks: Command...
  • Page 99: Lan Switching

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m A R T LAN Switching...
  • Page 100 S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m...
  • Page 101: Information About Ethernet Interfaces

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Configuring Ethernet Interfaces This section describes the configuration of the Ethernet interfaces on a Cisco Nexus 5000 Series switch.
  • Page 102: About The Unidirectional Link Detection Parameter

    Chapter 5 Configuring Ethernet Interfaces Information About Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Slot 3 includes the ports on the lower expansion module (if populated).
  • Page 103 Chapter 5 Configuring Ethernet Interfaces Information About Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 5-1 Unidirectional Link Device A...
  • Page 104: About Interface Speed

    Chapter 5 Configuring Ethernet Interfaces Information About Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m About Interface Speed A Cisco Nexus 5000 Series switch has a number of fixed 10-Gigabit ports, each equipped with SFP+ interface adapters.
  • Page 105: About Mtu Configuration

    Chapter 5 Configuring Ethernet Interfaces Configuring Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Caution When you enable the port debounce timer the link up and link down detections are delayed, resulting in a loss of traffic during the debounce period.
  • Page 106: Configuring Interface Speed

    Chapter 5 Configuring Ethernet Interfaces Configuring Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Command Purpose Step 3...
  • Page 107: Configuring The Cisco Discovery Protocol

    Chapter 5 Configuring Ethernet Interfaces Configuring Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The following example shows how to set the speed for a 1-Gigabit Ethernet port: switch# configure terminal switch(config)# interface ethernet 1/4...
  • Page 108: Configuring The Debounce Timer

    Chapter 5 Configuring Ethernet Interfaces Configuring Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m This example shows how to configure CDP characteristics: switch# configure terminal switch(config)# cdp timer 50...
  • Page 109: Configuring The Description Parameter

    Chapter 5 Configuring Ethernet Interfaces Configuring Ethernet Interfaces S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m This example shows how to enable the debounce timer and set the debounce time to 1000 milliseconds for an Ethernet interface: switch# configure terminal...
  • Page 110: Displaying Interface Information

    Chapter 5 Configuring Ethernet Interfaces Displaying Interface Information S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The following example shows how to disable an Ethernet port: switch# configure terminal switch(config)# interface ethernet 1/4...
  • Page 111 Chapter 5 Configuring Ethernet Interfaces Displaying Interface Information S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Auto-mdix is turned on Rate mode is dedicated Switchport monitor is off...
  • Page 112: Default Physical Ethernet Settings

    Chapter 5 Configuring Ethernet Interfaces Displaying Interface Information S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The following example shows how to display a brief interface status (some of the output has been removed for brevity): switch# show interface brief...
  • Page 113 Chapter 5 Configuring Ethernet Interfaces Displaying Interface Information S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Parameter Default Setting Encapsulation...
  • Page 114 Chapter 5 Configuring Ethernet Interfaces Displaying Interface Information S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 5000 Series Switch CLI Software Configuration Guide 5-14 OL-16597-01...
  • Page 115: Chapter 6 Configuring Vlans

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Configuring VLANs You can use virtual LANs (VLANs) to divide the network into separate logical areas.
  • Page 116: Understanding Vlan Ranges

    Chapter 6 Configuring VLANs Information About VLANs S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 6-1 shows VLANs as logical networks.
  • Page 117: Creating, Deleting, And Modifying Vlans

    Chapter 6 Configuring VLANs Information About VLANs S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Table 6-1 describes the details of the VLAN ranges.
  • Page 118: Configuring A Vlan

    Chapter 6 Configuring VLANs Configuring a VLAN S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Commands entered in the VLAN configuration submode are immediately executed.
  • Page 119: Entering The Vlan Submode And Configuring The Vlan

    Chapter 6 Configuring VLANs Configuring a VLAN S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m You can also create and delete VLANs in the VLAN configuration submode.
  • Page 120: Adding Ports To A Vlan

    Chapter 6 Configuring VLANs Verifying VLAN Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Adding Ports to a VLAN After you have completed the configuration of a VLAN, assign ports to it.
  • Page 121 Chapter 6 Configuring VLANs Verifying VLAN Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Eth1/32, Eth1/33, Eth1/34 Eth1/35, Eth1/36, Eth1/37 Eth1/38, Eth1/39, Eth1/40...
  • Page 122 Chapter 6 Configuring VLANs Verifying VLAN Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 5000 Series Switch CLI Software Configuration Guide OL-16597-01...
  • Page 123: Chapter 7 Configuring Private Vlans

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Configuring Private VLANs This chapter shows you how to configure private VLANs.
  • Page 124: Primary And Secondary Vlans In Private Vlans

    Chapter 7 Configuring Private VLANs About Private VLANs S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 7-1 Private VLAN Domain Primary...
  • Page 125: Understanding Private Vlan Ports

    Chapter 7 Configuring Private VLANs About Private VLANs S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Understanding Private VLAN Ports The types of private VLAN ports are as follows: Promiscuous—A promiscuous port belongs to the primary VLAN.
  • Page 126 Chapter 7 Configuring Private VLANs About Private VLANs S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 7-2 Private VLAN Traffic Flows Promiscuous port...
  • Page 127: Understanding Broadcast Traffic In Private Vlans

    Chapter 7 Configuring Private VLANs Configuring a Private VLAN S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Use the show command to verify that the association is operational.
  • Page 128: Configuration Guidelines For Private Vlans

    Chapter 7 Configuring Private VLANs Configuring a Private VLAN S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuration Guidelines for Private VLANs, page 7-6 •...
  • Page 129: Configuring A Vlan As A Private Vlan

    Chapter 7 Configuring Private VLANs Configuring a Private VLAN S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Configuring a VLAN as a Private VLAN To create a private VLAN, you first create a VLAN, and then configure that VLAN to be a private VLAN.
  • Page 130: Configuring An Interface As A Private Vlan Host Port

    Chapter 7 Configuring Private VLANs Configuring a Private VLAN S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Enter a secondary-vlan-list or use the add keyword with a secondary-vlan-list to associate •...
  • Page 131: Configuring An Interface As A Private Vlan Promiscuous Port

    Chapter 7 Configuring Private VLANs Configuring a Private VLAN S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m We recommend that you enable BPDU Guard on all interfaces configured as a host ports.
  • Page 132: Verifying Private Vlan Configuration

    Chapter 7 Configuring Private VLANs Verifying Private VLAN Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Command Purpose Step 3...
  • Page 133 Chapter 7 Configuring Private VLANs Verifying Private VLAN Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m community community community...
  • Page 134 Chapter 7 Configuring Private VLANs Verifying Private VLAN Configuration S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Cisco Nexus 5000 Series Switch CLI Software Configuration Guide 7-12 OL-16597-01...
  • Page 135: Information About Rapid Pvst+

    S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m C H A P T E R Configuring Rapid PVST+ The Spanning Tree Protocol (STP) was implemented to provide a loop-free network.
  • Page 136: Information About Rapid Pvst

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Understanding STP RSTP, Rapid PVST+, and MST are all extensions of the original IEEE 802.1D STP (see Chapter 9,...
  • Page 137: Understanding The Bridge Id

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The unique switch identifier Media Access Control (MAC) address of the switch that is associated •...
  • Page 138: Understanding Bpdus

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m STP MAC Address Allocation Note Extended system ID and MAC address reduction is always enabled on the software.
  • Page 139 Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The identifier of the transmitting port •...
  • Page 140: Understanding Rapid Pvst

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 8-2 Spanning Tree Topology RP = Root Port...
  • Page 141 Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Rapid PVST+ uses point-to-point wiring to provide rapid convergence of the spanning tree.
  • Page 142: Figure

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m The TCA flag is used only when the switch is interacting with switches that are running legacy 802.1D Note STP.
  • Page 143: Protocol Timers

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 8-4 Proposal and Agreement Handshaking for Rapid Convergence Switch A...
  • Page 144: Port Roles

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Table 8-2 Rapid PVST+ Protocol Timers Variable...
  • Page 145: Port States

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Figure 8-5 Sample Topology Demonstrating Port Roles Bridge_ID=1...
  • Page 146 Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m When you enable Rapid PVST+, every port in the software, VLAN, and network goes through the blocking state and the transitory states of learning at power up.
  • Page 147: Synchronization Of Port Roles

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Incorporates the end station location information into its address database.
  • Page 148: Detecting Unidirectional Link Failure

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m After ensuring that all of the ports are synchronized, the switch sends an agreement message to the designated switch that corresponds to its root port.
  • Page 149: Port Cost

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m When a designated port detects a conflict, it keeps its role, but reverts to a discarding state because disrupting connectivity in case of inconsistency is preferable to opening a bridging loop.
  • Page 150: Rapid Pvst+ And Ieee 802.1Q Trunks

    Chapter 8 Configuring Rapid PVST+ Information About Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Port Priority If a loop occurs and multiple ports have the same path cost, Rapid PVST+ considers the port priority when selecting which LAN port to put into the forwarding state.
  • Page 151: Rapid Pvst+ Interoperation With 802.1S Mst

    Chapter 8 Configuring Rapid PVST+ Configuring Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m If the switch receives an 802.1D BPDU after the port migration-delay timer has expired, it assumes that it is connected to an 802.1D switch and starts using only 802.1D BPDUs.
  • Page 152: Enabling Rapid Pvst+ Per Vlan

    Chapter 8 Configuring Rapid PVST+ Configuring Rapid PVST+ S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m Changing the spanning tree mode disrupts traffic because all spanning tree instances are stopped for the Note previous mode and started for the new mode.
  • Page 153: Configuring The Root Bridge Id

    Chapter 8 Configuring Rapid PVST+ Configuring Rapid PVST+ S e n d f e e d b a c k t o