VMware vSphere ESXi 7.0.x
VMware vSphere ESXi 8.0.x
The special characters are not correctly parsed in the removed operation causing the failure.
To managing host network from command line or documentation on esxcfg-vswitch Configuring Standard vSwitch (vSS) or virtual Distributed Switch (vDS) from the command line in ESXi