Pete's Packet

Limitless

Nexus 1000v initial setup

Posted by Peter Kurdziel on October 27, 2009

For installation see: 1000V demo video’s
Part 1 – VSM Install
http://vimeo.com/5719299
Part 2 – Connecting the VSM to vCenter
http://vimeo.com/5721462
Part 3 – Configuring Uplink Port Profiles
http://vimeo.com/5746855
Part – - Installing the VEM
http://vimeo.com/5792424

Connecting the Nexus 100v to Vmware virtual center:

N1KV-1# config t

N1KV-1(config)# svs conn vc
N1KV-1(config-svs-conn)# remote ip add 192.168.189.128 <— IP address of VCenter

N1KV-1(config-svs-conn)# protocol vmware-vim <— this is the only protocol available

N1KV-1(config-svs-conn)# vmware dvs datacenter-name DC <— the datacenter name
N1KV-1(config-svs-conn)# connect <——————-connect to Vcenter
Note: Command execution in progress..please wait

Configuring uplink port profiles:

N1KV-1# config t
N1KV-1(config)# port-Profile system-uplink
N1KV-1(config-port-prof)# sw mo tr
N1KV-1(config-port-prof)# sw tr all vlan add 51,52
N1KV-1(config-port-prof)# no shut
N1KV-1(config-port-prof)# channel-group auto sub-group cdp <– if you use multiple physical NICs.
 

N1KV-1(config-port-prof)# system vlan 51,52 <—add the control and packet vlans created in vsphere.

N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)# capability uplink
N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)# vmware port-group
N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)# state enabled <— enable

N1KV-1(config)# vlan 53   <—- define a new vlan for VMs to use.
N1KV-1(config-vlan)# name VM-Data
N1KV-1(config-vlan)# exit
 
N1KV-1(config)# port-profile data-uplink < — for data traffic
N1KV-1(config-port-prof)# sw mo tr
N1KV-1(config-port-prof)# sw tr all vla add 53
N1KV-1(config-port-prof)# no shut

N1KV-1(config-port-prof)# channel-group auto sub-group cdp <– if you use multiple physical NICs.
N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)#
N1KV-1(config-port-prof)# vmware port-group
N1KV-1(config-port-prof)# state enabled  <— pushes the port profile to the vcentr server
Note: Processing command..

N1KV-1(config)# port-profile Test-VM < —- for VM traffic
 
N1KV-1(config-port-prof)# sw mo acc
N1KV-1(config-port-prof)# sw acc vlan 53 <— defined earlier VM-Data traffic
N1KV-1(config-port-prof)# no shut
N1KV-1(config-port-prof)# vmware port-group
N1KV-1(config-port-prof)# tate enabled  <— pushes the port profile to the vcentr server
Note: Processing command..
N1KV-1(config-port-prof)# end

You will need to install the VEM – Virtual Ethernet Modules and install the vem code in vsphere.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.