set system host-name (Juniper Command)

The set system host-name command defines the name of the device, as displayed (among other places) in the command prompt. For example:

[email protected]juniper> configure
[email protected]# set system host-name router-4
[email protected]# commit
commit complete
[email protected]#

Cisco Equivalent

The Cisco equivalent of the set system host-name command is:

cisco# hostname router-5

See also