Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Host name

The name of the vRouter is set by using the system host-name command. A system name can include letters, numbers, and hyphens (-).

The following table shows how to set the name of the system to R1. To set the system host name, perform the following steps in configuration mode.

Table 1. Setting the host name of the system
Step Command
Set the host name of the system.
vyatta@vyatta# set system host-name 
Commit the change. The command prompt changes to reflect the change.
vyatta@vyatta# commit
Show the configuration.
vyatta@vyatta# show system host-name
 host-name R1