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

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Description

Set the hostname of the router or switch.

Options

hostnameName 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.