Clear host dhcp, Show hosts, Clear host dhcp show hosts – Allied Telesis AT-S95 CLI User Manual
Page 141

IP Addressing Commands
Page 129
Example
The following example deletes all entries from the host name-to-address cache.
clear host dhcp
The clear host dhcp Privileged EXEC mode command deletes entries from the host name-to-address mapping
received from Dynamic Host Configuration Protocol (DHCP).
Syntax
clear host dhcp {name | *}
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.
Console# clear host *
Console# clear host dhcp *