Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

static-host-mapping

date_range 30-May-24

Syntax

content_copy zoom_out_map
static-host-mapping {
    hostname {
        alias [ aliases ];
        inet [ addresses ];
        inet6 [ addresses];
        sysid system-identifier;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit system]

Description

(Optional) Statically map a hostname to one or more IP addresses and aliases, and configure an International Organization for Standardization (ISO) system identifier (system ID).

Default

If you do not statically map the hostname, the mapping is generated dynamically, based on the system configuration. For instance, if you omit the static-host-mapping hostname sysid statement, the IS-IS system ID is dynamically generated from the host portion of the ISO address configured on the loopback interface (lo0) and is mapped to the host-name statement configured at the [edit system] hierarchy level.

Options

alias alias

Alias for the hostname.

hostname

Fully qualified hostname.

inet address

IP address. You can specify one or more IP addresses for the host.

sysid system-identifier

ISO system identifier (system ID). This is the 6-byte portion of the Intermediate System-to-Intermediate System (IS-IS) network service access point (NSAP). We recommend that you use the host’s IP address represented in binary-coded decimal (BCD) format. For example, the IP address 208.197.169.18 is 2081.9716.9018 in BCD.

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.

Statement introduced in Junos OS Release 11.1. for the QFX Series.

footer-navigation