How to add a new VLAN on Cisco Nexus 1000 vSwitch on VMware with Cisco UCS
Example :- I have a new VLAN requirement to be added in my VMware environment
Step-1
Add VLAN on Cisco UCS (configure in LAN option on cisco UCS)
Step-2
Allow VLAN on the Server NIC (Configure on server profile)
Step 3
Create Vlan on Nexus1000V switch which you want to make available on Virtual Machines for example VLAN 21 for new application.
>conf t
>vlan 21
>name newapp
Step-4
Add a Port profile for vethernet
port-profile type vethernet 21_Newapp
> vmware port-group
> switchport mode access
>switchport access vlan 21
>no shutdown
>state enabled
Step-5
Add a port profile Ethernet for uplink which is having the original server.
>port-profile type ethernet VM-uplink-10G
>vmware port-group
>switchport mode trunk
>switchport trunk allowed vlan 2,21
>channel-group auto mode on mac-pinning
>no shutdown
>state enabled
step-6
Assign the VM NIC to 21_newapp VLAN and check the connectivity.