
Chapter 4: Utility Commands
241
clear host
Use this command to delete entries from the host name-to-address cache. This
command clears the entries from the DNS cache maintained by the software.
This command clears both IPv4 and IPv6 entries.
show hosts
Use this command to display the default domain name, a list of name server
hosts, the static and the cached list of host names and addresses. The parameter
name
ranges from 1-255 characters.
This command displays both IPv4 and IPv6
entries.
Mode
Global Config
Format
clear host {
name
| all}
Mode
Privileged EXEC
Field
Description
name
A particular host entry to remove. The parameter
name
ranges from 1-255 characters.
all
Removes all entries.
Format
show hosts
[name]
Mode
Privileged EXEC
User EXEC
Field
Description
Host Name
Domain host name.
Default Domain
Default domain name.
Default Domain List
Default domain list.
Domain Name
Lookup
DNS client enabled/disabled.
Содержание CN1610
Страница 3: ......
Страница 27: ...24 CLI Line Editing Conventions List available commands keywords or parameters Key Sequence Description ...
Страница 31: ...28 Accessing the CLI ...
Страница 309: ...306 Remote Monitoring Commands ...
Страница 473: ...470 Port Mirroring Commands 100 ...
Страница 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Страница 607: ...604 IPv6 Management Commands ...