beautypg.com

Show hosts – Allied Telesis AT-S95 CLI User Manual

Page 143

background image

IP Addressing Commands

Page 143

Example

The following example deletes all entries from the host name-to-address mapping.

show hosts

The show hosts Privileged EXEC mode command displays the default domain name, a list of name server hosts,
the static and the cached list of host names and addresses.

Syntax

show hosts [name]

Parameters

name — Specifies the host name. (Range: 1 - 158 characters)

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC mode

User Guidelines

There are no user guidelines for this command.

Example

The following example displays host information.

console# clear host dhcp *

console# show hosts

System name: Device

Default domain is gm.com, sales.gm.com, usa.sales.gm.com(DHCP)

Name/address lookup is enabled

Name servers (Preference order): 176.16.1.18 176.16.1.19

Configured host name-to-address mapping:

Host

Addresses

----

---------

accounting.gm.com

176.16.8.8 176.16.8.9 (DHCP)

Cache:

TTL(Hours)

Host

Total

Elapsed

Type

Addresses