Table Of Contents
Cisco Nexus 7000 Series NX-OS Getting Started with Virtual Device Contexts, Release 4.1
Creating and Initializing a VDC
Obtaining Documentation and Submitting a Service Request
Cisco Nexus 7000 Series NX-OS Getting Started with Virtual Device Contexts, Release 4.1
First Published: December 19, 2008
Updated: January 8, 2009
Part Number: OL-18692-01This document describes the procedure for getting started with virtual device contexts (VDCs) on an NX-OS device.
This publication includes the following topics:
•
Creating and Initializing a VDC
•
Obtaining Documentation and Submitting a Service Request
Introduction to VDCs
VDCs partition a single physical device into multiple logical devices that provides fault isolation, management isolation, address allocation isolation, service differentiation domains, and adaptive resource management. You can manage a VDC instance within a physical device independently. Each VDC appears as a unique device to the connected users. A VDC runs as a separate logical entity within the physical device, maintains its own unique set of running software processes, has its own configuration, and can be managed by a separate administrator.
For more information about working with VDCs using the NX-OS software, see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide, Release 4.1.
Creating and Initializing a VDC
This section describes how to create and initialize a VDC.
To create and initialize a VDC, follow these steps:
Step 1
Log in to the default VDC with a username that has the network-admin role.
Step 2
Enter configuration mode and create the VDC using the default settings.
switch# configure terminalswitch(config)# vdc MyVDCNote: VDC creation is a time consuming process, please wait until the command completesswitch(config-vdc)#Step 3
(Optional) Allocate interfaces to the VDC.
Note
When you allocate an interface to a VDC, the interface configuration is lost.
switch(config-vdc)# show vdc membershipvdc_id: 1 vdc_name: switch interfaces:Ethernet2/1 Ethernet2/2 Ethernet2/3Ethernet2/4 Ethernet2/5 Ethernet2/6Ethernet2/7 Ethernet2/8 Ethernet2/9Ethernet2/10 Ethernet2/11 Ethernet2/12Ethernet2/13 Ethernet2/14 Ethernet2/15Ethernet2/16 Ethernet2/17 Ethernet2/18Ethernet2/19 Ethernet2/20 Ethernet2/21Ethernet2/22 Ethernet2/23 Ethernet2/24Ethernet2/25 Ethernet2/26 Ethernet2/27Ethernet2/28 Ethernet2/29 Ethernet2/30Ethernet2/31 Ethernet2/32 Ethernet2/33Ethernet2/34 Ethernet2/35 Ethernet2/36Ethernet2/37 Ethernet2/38 Ethernet2/39Ethernet2/40 Ethernet2/41 Ethernet2/42Ethernet2/43 Ethernet2/44 Ethernet2/45Ethernet2/46 Ethernet2/47 Ethernet2/48switch(config-vdc)# allocate interface ethernet 2/11-14Moving ports will cause all config associated to them in source vdc to be removed. Are you sure you want to move the ports? [yes] yesStep 4
Verify the VDC configuration.
switch(config-vdc)# show vdc MyVDCvdc_id vdc_name state mac------ -------- ----- ----------2 MyVDC active 00:00:00:00:00:00Step 5
Switch to the new VDC and enter the VDC admin user account password.
switch(config-vdc)# switchto vdc MyVDC---- System Admin Account Setup ----Enter the password for "admin": <password>Confirm the password for "admin": <password>Step 6
(Optional) Execute the setup script for your VDC.
Note
You can bypass the setup script and execute it later from within the VDC using the setup command.
---- Basic System Configuration Dialog VDC: 3 ----This setup utility will guide you through the basic configuration ofthe system. Setup configures only enough connectivity for managementof the system.Please register Cisco Nexus 7000 Series devices promptly with yoursupplier. Failure to register may affect response times for initialservice calls. Cisco Nexus 7000 Series devices must be registered to receiveentitled support services.Press Enter at anytime to skip a dialog. Use ctrl-c at anytimeto skip the remaining dialogs.Would you like to enter the basic configuration dialog (yes/no): yesStep 7
When you finish the setup script, or bypass it, you enter your new VDC.
Cisco Nexus Operating System (NX-OS) SoftwareTAC support: http://www.cisco.com/tacCopyright (c) 2002-2008, Cisco Systems, Inc. All rights reserved.The copyrights to certain works contained in this software areowned by other third parties and used and distributed underlicense. Certain components of this software are licensed underthe GNU General Public License (GPL) version 2.0 or the GNULesser General Public License (LGPL) Version 2.1. A copy of eachsuch license is available athttp://www.opensource.org/licenses/gpl-2.0.php andhttp://www.opensource.org/licenses/lgpl-2.1.phpswitch-MyVDC#
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at:
http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html
Subscribe to the What's New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free service and Cisco currently supports RSS version 2.0.
CCDE, CCENT, Cisco Eos, Cisco HealthPresence, the Cisco logo, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, 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 Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iPhone, iQuick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, 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. (0812R)
© 2008-2009 Cisco Systems, Inc. All rights reserved.

