Korenix Technology Co., Ltd.
Industrial
Layer 3 Managed Ethernet Switch
_____________________________________________________________________________
Industrial Layer 3 Managed Ethernet SwitchUser Manual
Page: 638/1568
6.27.2
Configuration Commands
6.27.2.1
ip hosts
This command creates a static entry in the DNS table that maps a host name to an IP address.
There are maximum 8 entries for IPv4 and 8 entries for IPv6.
Syntax
ip host <name> <ipaddr>
no ip host <name>
<name> -
Host name.
<ipaddr> -
IPv4 or IPv6 address of the host.
<no> -
Remove the corresponding name to IP address mapping entry.
Default Setting
None
Command Mode
Global Config
6.27.2.2
clear hosts
This command clears the entire static host name-to-address mapping table.
Syntax
clear hosts
Default Setting
None
Command Mode
Privileged Exec