beautypg.com

Clear dns cache, Clear host, Clear dns cache clear host – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 640

background image

584

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002651-02

27

Domain Name Service Commands

Example
This example maps an IPv6 address to a host name.

Console(config)#ipv6 host rd6 2001:0db8:1::12

Console(config)#end

Console#show hosts

No. Flag Type IP Address TTL Domain

---- ---- ------- -------------------- ----- -------------------------------

0 2 Address 192.168.1.55 rd5

1 2 Address 2001:DB8:1::12 rd6

Console#

clear dns cache

This command clears all entries in the DNS cache.

Command Mode
Privileged Exec

Example

Console#clear dns cache

Console#show dns cache

No. Flag Type IP Address TTL Domain

------- ------- ------- --------------- ------- --------

Console#

clear host

This command deletes dynamic entries from the DNS table.

Syntax

clear host {name | *}

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

* - Removes all entries.

Default Setting
None

Command Mode
Privileged Exec

Command Usage
Use the

clear host

command to clear dynamic entries, or the

no

ip host

command to clear static

entries.

Example
This example clears all dynamic entries from the DNS table.

Console(config)#clear host *

Console(config)#