Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

host-name

Syntax

Hierarchy Level

Description

Set the hostname of the router or switch.

Options

hostname

Name of the router or switch.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.