home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show host

Displays host information for hosts that can be reached by the system.

show host { lookup hostname | lookup ipv4 | name | date | os }
lookup hostname
Shows the canonical name and IP address plus any configured aliases recorded in the name server for the host with the specified host name.
lookup ipv4
Shows the canonical name and IP address plus any configured aliases recorded in the name server for the host with the specified IP address.
date
Shows the date and time according to the system clock.
name
Shows the name of this system.
os
Shows details about the operating system of the system.

Operational mode

Use this command to view information configured for the host.

The following example shows how to display information about the R2 host.

vyatta@R1:~$ show host lookup R2
R2.Vyatta.com            A        10.1.0.3
vyatta@R1:~$

                

The following example shows how to display the name of the R1 host.


vyatta@R1:~$ show host name
R1
vyatta@R1:~$

                

The following example shows how to display the date and time according to the system clock.

vyatta@R1:~$ show host date
Mon Jan 21 17:28:47 PST 2008
vyatta@R1:~$

                

The following example shows how to display information about the host operating system.

vyatta@R1:~$ show host os
Linux R1 2.6.23-1-486-Vyatta #1 SMP Tue Jan 15 02:00:31 PST 2008 i686 
GNU/Linux
vyatta@R1:~$