In this demo, we will set up our vNIC templates and assign them to our LAN Connectivity policy.
Templates are reusable objects that will help In building these vnic’s for our virtual infrastructure so we will create two templates – ETHA and ETHB for our fabrics.
Create ETHA vNIC template
Go to LAN > Policies > vNIC Templates > Create vNIC templates
Provide these details for the first vnic
Name: ETHA
Fabric id: Fabric A
Template type - Updating template
Provide these details for the first vnic
- Choose native vlan as 1 - this is cisco default
- Select all other vlans
- MTU - 9000
- Under MAC Pool - select the MAC-ID-POOLA
Finally, click Finish to save config
Our vMNIC template is now ready
Create ETHB vNIC template
Provide these details for the first vnic
Name: ETHB
Fabric id: Fabric B
Template type - Updating template
Provide these details for the first vnic
- Choose native vlan as 1 - this is cisco default
- Select all other vlans
- MTU - 9000
- Under MAC Pool - select the MAC-ID-POOLB
Finally, click finish to save config
Our ETHA & ETHB vNIC templates are now ready.
Create LAN Connectivity Policies
This combines the templates we created previously into a policy which we can just attach to servers via a service profile so let’s take a look at how its done.
Go to LAN > Policies > LAN Connectivity Policies
Give LAN Connectivity Policy a name and Click Add to join our first ETH to this adapter.
Give our first vNIC as name as ETH1. Ensure Use vNIC template option is checked
Select the vNIC template as ETHA
Select the adapter policy as VMware
Our first Ethernet adapter is linked to the Lan connectivity policy
Repeat the same for our second NIC ETH2
Our two virtual ethernet cards are now linked
Our Lan connectivity policy is created
See now our lan connectivity profile has both our vnic templates linked
Add new VLAN to a server via Connectivity Policies
Let’s now add new VLANs as below and see how it gets distributed via this connection profile
Go to the vMNIC templates A
Choose the option to Modify VLAN and all our new VLANs in
Choose the fabric to where the VLAN belongs.