Hi;
VDC is exactly like you have multiple separate switches. And for interconnectivity of switches you can connect & configure either L2 or L3 links as per design.
To configure the VDC you need to first create VDC and allocate the interface.
N7K-VDCA (config)# vdc N7K-VDCA
N7K-VDCA (config-vdc)# allocate interface e1/1-8, e2/1-8
N7K-VDCA (config)# vdc N7K-VDCB
N7K-VDCA (config-vdc)# allocate interface e1/9-16, e2/9-16
Physical connect the VDCA & VDCB (i.e L2 Trunk)
N7K-VDCA(config)# interface E1/1
N7K-VDCA(config-if)# description ** Connected to VDCB ***
N7K-VDCA(config-if)# switchport
N7K-VDCA(config-if)# switchport mode trunk
N7K-VDCA(config-if)# switchport trunk allowed vlan 1-10
N7K-VDCA(config-if)# no shut
N7K-VDCA(config)#switchto vdc N7K-VDCB
N7K-VDCB(config-if)#interface E1/8
N7K-VDCB(config-if)# description ** Connected to VDCA ***
N7K-VDCB(config-if)# switchport
N7K-VDCB(config-if)# switchport mode trunk
N7K-VDCB(config-if)# switchport trunk allowed vlan 1-10
N7K-VDCB(config-if)# no shut
Please find the below as requested:
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/nx-os/virtual_device_context/configuration/guide/b-7k-Cisco-Nexus-7000-Series-NX-OS-Virtual-Device-Context-Configuration-Guide.html
Thanks & Best regards;