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

show host

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show host hostname
<routing-instance mgmt_junos>
<server server-name>

Syntax (Junos OS Evolved)

content_copy zoom_out_map
show host hostname
<routing-instance mgmt_junos>
<server server-name>

Syntax

Description

Display Domain Name System (DNS) hostname information.

Options

hostname

Hostname or address.

routing-instance mgmt_junos

(Optional) Side host server that is running.

server server-name

(Optional) Name server to use.

Additional Information

The show host command displays the raw data received from the name server.

Required Privilege Level

view

Sample Output

show host

content_copy zoom_out_map
user@host> show host device             
device.example.net has address 192.0.2.0

user@host> show host 192.0.2.0             
Name: device.example.net
Address: 192.0.2.0
Aliases:

Release Information

Command introduced before Junos OS Release 7.4.

routing-instance mgmt_junos option introduced in Junos OS Evolved Release 18.3R1.

routing-instance mgmt_junos option introduced in Junos OS Release 19.2R1.

footer-navigation