HP BL680c XenServer Administrator's Guide 4.1.0 - Page 93
VLAN commands, 4.22. VM commands
UPC - 884420396314
View all HP BL680c manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 93 highlights
Command line interface Parameter Name Description Type single-letter military timezone indicator, for example, Z for UTC (GMT) 5.4.20.1. vif-create vif-create vm-uuid=UUID of the VM device=see below network-uuid=UUID of the network the VIF will connect to [mac=MAC address ] Create a new VIF on a VM. Appropriate values for the device field are listed in the parameter allowed-VIF-devices on the specified VM. Before any VIFs exist there, the allowable values are integers from 0-15. The mac parameter is the standard MAC address in the form aa:bb:cc:dd:ee:ff. If you leave it unspecified, an appropriate random MAC address will be created. You can also explicitly set a random MAC address by specifying mac=random. 5.4.20.2. vif-destroy vif-destroy uuid=UUID of VIF Destroy a VIF. 5.4.20.3. vif-plug vif-plug uuid=UUID of VIF Attempt to attach the VIF while the VM is in the running state. 5.4.20.4. vif-unplug vif-unplug uuid=UUID of VIF Attempts to detach the VIF from the VM while it is in the running state. 5.4.21. VLAN commands Commands for working with VLANs (virtual networks). To list and edit virtual interfaces, refer to the PIF commands, which have a VLAN parameter to signal that they have an associated virtual network (see Section 5.4.10, "PIF commands"). For example, to list VLANs you need to use xe pif-list. 5.4.21.1. vlan-create vlan-create pif-uuid=UUID of PIF vlan=VLAN tag network-uuid=UUID of network Create a new VLAN on a XenServer Host. 5.4.21.2. vlan-destroy vlan-destroy uuid=UUID of PIF mapped to VLAN Destroy a VLAN. Requires the UUID of the PIF that represents the VLAN. 5.4.22. VM commands Commands for controlling VMs and their attributes. 87