beautypg.com

Show hosts – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 145

background image

IP Addressing Commands

Page 144

Parameters

name — Specifies the host entry to be removed. (Range: 1-158 characters

)

* — Removes all entries.

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC mode

User Guidelines

This command deletes the host name-to-address mapping temporarily until the next renew of the IP address.

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)