Welcome back at the series of installing the Cisco Nexus 1000V on SCVMM. In first post we downloaded the VMM Providers, build and deployed the VSM template. In the previous post we ran the first configuration for the HA setup of the VSM Virtual machines. Today we are going to look at the configuration of the switch.
It’s worth noting that if you used to build logical networks, IP Pools, port profiles etc. in VMM you actually are going to perform all those steps now in the configuration of the Cisco Nexus Switch. Let’s take a look at some commands and map them to the SCVMM Fabric as we used to know them. Let’s build a simple switch configuration in the VSM:
(I will explain it like we do this normally in SCVMM console) Open a ssh connection to your VSM.
Enter Configuration mode:
config t
Define the logical network:
nsm logical network SysCtr
Create the site under the logical network:
nsm network segment pool SysCtr
member-of logical network SysCtr
Define an IP Pool:
nsm ip pool template VLAN1_IP_Pool
ip address 10.134.4.100 10.134.4.150
network 10.134.4.0 255.255.255.0
default-router 10.134.4.1
Configure vlan and subnet to the site:
nsm network segment Vlan1
member-of network segment pool SysCtr
switchport mode access
switchport access vlan 1
ip pool import template VLAN1_IP_Pool
publish network segment
Create a Port Profile for the virtual machines:
port-profile type vethernet SysCtr-Network
state enabled
no shutdown
publish port-profile
Create an uplink profile:
port-profile type ethernet Uplink_Profile
channel-group auto mode on mac-pinning
no shutdown
state enabled
Connect the network site to the uplink proifile:
nsm network uplink UplinkProfile
import port-profile Uplink_Profile
allow network segment pool SysCtr
publish network uplink
exit
Save the configuration:
copy r s
When we are going to upload this configuration into the switch I assume the VSM VM’s are connected on a separate hyper-v switch and will not be moved behind Nexus switch. (It is possible to do so but you need to add some more rules to support this. This will be discussed in separate blog posts)
In the next blog post we are going to connect the switch to SCVMM. When we do so the configuration above will be loaded automatically and the logical networks etc. will be automatically created.