# hostname

#### Syntax

hostname hostname

no hostname

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Sets the name for the router; this hostname subsequently appears in the router CLI prompt. The no version removes the hostname from the router.

| Note: In Domain Map Tunnel Configuration mode, this command has been replaced by the clear suspicious-control-flow-detection command and may be removed completely from Domain Map Tunnel Configuration mode in a future release.

#### Options

- hostname—String of up to 63 characters (no spaces)

#### Mode

Global Configuration