Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Removing a VM Service Port
This operation enables you to remove a VM service port.
Prerequisites
At least one virtual machine instance has been created in the storage system.
Procedure
- Go to the command-line interface (CLI).
- On the CLI, run the remove virtual_machine port vm_id=? vm_port_id=? command. Table 5-42 describes the related parameters.
- Confirm that all required parameters are correctly configured.
Example
Remove a physical port that has been added to a VM.
admin:/>remove virtual_machine port vm_id=1 vm_port_id=131328
WARNING: You are about to remove a port from a virtual machine. This operation will interrupt the related communication service on the virtual machine.
Suggestion: Before performing this operation, ensure that you have selected the correct virtual machine and port.
Have you read warning message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.