92
set host-name
Description Changes a host's nickname.
Syntax
set host-name id host new-nickname [profile standard|openvms|hp-ux]
Parameters id host
The ID or nickname of the host to rename.
new-nickname
A new nickname for the host. The name is case sensitive, cannot include a comma, double quote, or
backslash, and can have a maximum of 15 bytes. A name that includes a space must be enclosed in
double quotes.
profile standard|openvms|hp-ux
Optional.
• standard: The host allows LUN 0 to be assigned to a mapping. This is the default.
• openvms: The host does not allow LUN 0 to be assigned to a mapping.
• hp-ux: The host allows LUN 0 to be assigned to a mapping and uses Flat Space Addressing.
Example Change a host's nickname to MyHost and its profile to HP-UX:
# set host-name id Host1 MyHost profile hp-ux
Success: Command completed successfully. - The host was renamed.
See also • show hosts
Komentáře k této Příručce