mhops
Enthusiast
Enthusiast

Would be possible through this approach to add just a specific vNIC of a VM that has 2 or more vNICs?

In my scenario, I have 1 Firewall VM that has 4 vNICs configured and I would like to add just one of them. With the provided code, I was able to add all the vNIC on the vspanSession at once.

I have been trying to implement something like that but no success:

The condition to select the single vNIC in the VM could be based in either:

  • - the device number ( for example the vNIC 1 ) 
    or
  • - the network port group the vNIC it's connected to. ( for example PortGroup VLAN 100 )


That seems possible?

Thanks a lot :slightly_smiling_face: