If necessary, you can configure the virtual switch as well as the physical network device. In this case, create the virtual switch as in Step 2, and do not delete the physical device (skip Step 3). You must then configure the virtual switch with either a static IP address or a dynamic IP address. You can obtain a dynamic IP address from a DHCP server. For additional information and an example of this case, see Configuring a Virtual Switch and the Service Domain for NAT and Routing.
primary# ifconfig -a
primary# ifconfig vsw0 plumb
primary# ifconfig nxge0 down unplumb
primary# ifconfig vsw0 IP-of-nxge0 netmask netmask-of-nxge0 broadcast + up
primary# ifconfig vsw0 dhcp start
primary# mv /etc/hostname.nxge0 /etc/hostname.vsw0 primary# mv /etc/dhcp.nxge0 /etc/dhcp.vsw0