Thursday, September 29, 2016

NEXUS 1000V - VSM Basic Configuration


Enable network−segmentation−manager and http−server
chrisb2−hyperv#
chrisb2−hyperv# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.
chrisb2−hyperv(config)# feature network−segmentation−manager
chrisb2−hyperv(config)# feature http−server
chrisb2−hyperv(config)#

1. Create an IP pool for your VLAN. These are the IPs that you assign to your VMs. They need to be defined, but they are only used if SCVMM provides automation.
# nsm ip pool template VLAN124
# ip address 14.17.124.80 14.17.124.250
# network 14.17.124.0 255.255.255.0
# default−router 14.17.124.254

2.  Create a logical network. You only need one logical network unless you have something like a DMZ.
# nsm logical network chrisb2−CALO

3. Create a network segment pool. Make it a member of the logical network.
# nsm network segment pool chrisb2−RTP
# member−of logical network chrisb2−CALO

4. Create multiple segments, one for each access VLAN.
# nsm network segment pool chrisb2−RTP
# member−of logical network chrisb2−CALO

5. Create multiple segments, one for each access VLAN.
# nsm network segment chrisb2−124
# member−of network segment pool chrisb2−RTP
# switchport access vlan 124
# ip pool import template ip_pool_124
# publish network segment
# switchport mode access


6. Create a port−profile for the VMs. There is no need to access a VLAN here. Remember that the port−profile is simply a collection of policies.

# port−profile type vethernet defaultAccess
# no shutdown
# state enabled
# publish port−profile

7. Create a Network Segmentation Manager (NSM) uplink. The allow network segment pool command tells SVCMM that these segments are allowed out this uplink. This is needed for the host in order to see your segments.

# nsm network uplink UPLINK
# switchport mode trunk
# publish network uplink
# allow network segment pool chrisb2−RTP

8. Modify the created port−profile with any needed policies, such as port−channels.
# port−profile type Ethernet UPLINK
# channel−group auto mode on mac−pinning