tpvm config hostname

Configures the Hostname for a Third-Party VM (TPVM).

Syntax

tpvm config hostname hostname

Command Default

None

Parameters

hostname
TPVM Hostname.

Modes

Privileged EXEC mode

Usage Guidelines

no form of this command is not available. To reset hostname to its default value of tpvm, use the hostname command from within the TPVM context. For more information, see hostname (tpvm mode).

The length of the Hostname should be between 1 to 64 characters. The starting letter should be an alphabet.

The allowed characters are alphabets (a-z), numbers(0-9), “.”(dot), and “-“(hyphen).
Note

Note

Configuring TPVM hostname from the SLX device is not recommended when EFA is deployed. Doing so will cause unknown state for the EFA and could lead to EFA downtime. To change the TPVM Hostname, use the procedures provided in EFA documentation. Refer EFA documents for hostname restrictions and format.

Examples

Example to update the hostname in TPVM

device# tpvm config hostname tpvm