Clear host – Asante Technologies 40240/40480-10G User Manual

Page 648

Advertising
background image

Command Usage

Servers or other network devices may support one or more connections via
multiple IP addresses. If more than one IP address is associated with a host
name using this command, a DNS client can try each address in succession,
until it establishes a connection with the target device.

Example

This example maps two address to a host name.

Console(config)#ip host rd5 192.168.1.55 10.1.0.55

Console(config)#end

Console#show hosts

Hostname

rd5

Inet address

10.1.0.55 192.168.1.55

Alias

Console#

clear host

This command deletes entries from the DNS table.

Syntax

clear host {name | *}

• name - Name of the host. (Range: 1-127 characters)

* - Removes all entries.

Default Setting

None

Command Mode

Privileged Exec

Example

This example clears all static entries from the DNS table.

Console(config)#clear host *

Console(config)#

38-2

Domain Name Service Commands

38

Advertising