Cisco Cisco ASR 5000
Exec Mode Commands (D-S)
▀ host
▄ Command Line Interface Reference, StarOS Release 18
4118
host
Used to resolve the IP address or logical host name information via a DNS query.
Product
All
Privilege
Security Administrator, Administrator, Operator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
host { host_name | host_ip_address }
host_name
|
host_ip_address
Specifies the host for which IP information is to be displayed.
host_name
: Specifies the logical host name for which the IP address is to be displayed (via DNS lookup).
This is an alphanumeric string of 1 through 127 characters.
host_ip_address
: Specifies the IP address for which the associated logical host name(s) are to be
displayed (via reverse DNS lookup) using IPv4 dotted-decimal notation.
Usage
Verify DNS information which affects connections and packet routing.
Example
The following commands will resolve the host information for
remoteABC
and
10.2.3.4
respectively.
host remoteABC
host 10.2.3.4