Command Reference DNS Module Commands
Configuration
Examples
Ruijie(config)# ip host switch 192.168.5.243
Related
Commands
Command Description
show hosts
Shows the DNS related configuration
information.
Platform
Description
N/A
clear host
Use this command to clear the dynamically learned host name in privileged user mode.
clear host [ host-name ]
Parameter
Description
Parameter Description
host-name
Deletes the dynamically learned host. “*” denotes to clear all the
dynamically learned host names.
Defaults
N/A
Command
Mode
Privileged EXEC mode.
Usage Guide You can obtain the mapping record of the host name buffer table in two ways: 1) the ip host static
configuration, 2) the DNS dynamic learning. Execute this command to delete the host name records
learned by the DNS dynamically.
Configuration
Examples
The following configuration will delete the dynamically learned mapping records from the host
name-IP address buffer table.
clear host *
Related
Commands
Command Description
show hosts
Shows the host name buffer table.
Platform
Description
N/A