REVIEW- VDC Part 1
Important Points – VDC ( Part 1)
• VDC stands for Virtual Device Context
• We can virtually divide a physical Nexus chassis in to multiple virtual chassis i.e. VDC.
Each VDC means a different switch( virtually). You can run all commands in each
Switches ( VDCs).
• You have to use cables between VDCs if you want to form trunk or any connection for
transferring data because VDCs mean different switches. Physically – It will appear as a
loop if both VDCs are part of same physical chassis.
• Creation, Deletion, Modification of VDCs can be done from Default VDC only.
• By default – a physical complete chassis is known as DEFAULT VDC or ADMIN VDC
• User should have VDC-admin privileges to do changes in your VDC. To be able to
operate all VDCs- you need to be “Network-Admin”
• Command “Show VDC” is used to list all of the available VDCs.
• Supervisor engine defines the no. of VDCs we can create in Nexus 7K Switch.
• For Sup1- we can create 4 VDCs including “default vdc”
• For Sup2- Total of 5VDCs can be created- out of which one will be default VDC.
• You can verify the Supervisor Engines using “Show module” command.
• We move switchports in to other VDCs from Default VDC. So if let’s say you moved port
eth3/4 in to VDC 4 then e3/4 administration will happen from VDC4.
• If you want to move port ETH3/4 back to Default VDC from VDC4- then this operation
can only happen from “admin or default vdc” i.e. not from VDC4
• User of VDC 3 cannot “view or operate” ports of VDC4.
• Use the command “ Show vdc membership” to view port allocation in each VDCs.
Admin can view memberships of all VDCs.
• Control Plane i.e. CPU, memory is divided between each VDCs.
• Users of VDC3 will consider other VDCs as different switches- even though all are
physically on same chassis.
• If you want to “move or switch” between VDCs – Then use the command “ Switchto
VDC VDC-NUMBER” . You do not have to do Telnet or SSH or Console. So this is very
important command.
• In case you want to return to your own VDC, then use the command “ Switchback”
• Remember that you can’t upgrade the IOS or Update License from “Non-default VDC”
• If any global change is made- It will have impact on all VDCs. So “network-admin”
should cautiously make changes.
Creating & Configuring VDCs
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 terminal
Switch(config)# vdc MyVDC
Note: Creating VDC, one moment please ...
Switch(config-vdc)#
Step 3 :
Allocate interfaces to the VDC. Switch(config-vdc)# allocate interface ethernet 2/1-11
Step 4 :
Verify the VDC configuration.
Switch(config-vdc)# show vdc MyVDC
vdc_id vdc_name state mac
2 MyVDC active 00:00:00:00:00:00
Step 5 :
Switch to the new VDC Switch(config-vdc)# switchto vdc MyVDC
Commands we learned So far
Show VDC
Show module
Switchto VDC VDC-Number
Switchback