The CSR for vSphere instructions are located here: http://www.cisco.com/c/en/us/td/docs/routers/csr1000/software/configuration/csr1000Vswcfg/installesxi.html
Your VM will need to be attached to a port group that is on VLAN 2 using either virtual switch tagging or external switch tagging.
You can refer to my YouTube video for more details on virtual switching and VLAN tagging.










