Industry vSwitch (IvS) supports Parallel Redundancy Protocol (PRP) that can be used with industrial ethernet called Profilnet. There are two types of PRP node, Single Attached Node (SAN) and Dual Attached Node (DAN). Each PRP node (SAN or DAN) will use a single VLAN for Profinet communication.
The question is how to know the VLAN ID of the PRP node.
4.2.x
In order to get the info, you can follow the steps below:
- Get the MAC address of the NIC that is connected Profinet network
- Login to the ESXi Host via SSH
- Run and find the DvsPortset name for the MAC address
net-stats -l
- Run and find Switch ID (swID) for the DvsPortset
nsxcli -c get ens switch list
- Run and find the entry for the MAC address in the node table output
nsxcli -c get ens prp node <swID>
- Check vlanID field that shows VLAN ID for the PRP node