Sunday, August 7, 2016

Cisco Nexus 1000v - VMware ESXi

# show module
# show module
# svs conn vc remote ip address 10.95.5.150

protocol vmware-vim vmware dvs datacenter-name Phx-DC-Lab connect end copy run start

config t
port-profile system-uplink
switchport mode trunk
switchport trunk allowed vlan add 51,52
no shutdown
channel-group auto sub-group cdp system
vlan 51,52
capacity uplink vmware port-group
state enabled
exit

show vlan
vlan 53 name VM-Data
exit

port-profile data-uplink
sw mode trunk
switchport trunk allowed vlan add 53
no shut
capacity uplink channel-group auto sub-group cdp
vmware port-group
state enabled
exit

port-profile test-vm
sw mode access
sw access vlan 53
no shut
vmware port-group
state enabled
end copy run start
show module
exit