Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

host-name

Syntax

host-name hostname;

Hierarchy Level

[edit system]

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

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.

Published: 2012-12-07