Fortinet MR1 manual Ip hosts, Clear hosts, Syntax Ip host name ipaddr no ip host name

Models: MR1

1 640
Download 640 pages 32.63 Kb
Page 352
Image 352

6.5.2Configuration Commands

6.5.2.1ip hosts

This command creates a static entry in the DNS table that maps a host name to an IP address.

Syntax

ip host <name> <ipaddr> no ip host <name>

<name> - Host name.

<ipaddr> - IP address of the host.

<no> - Remove the corresponding name to IP address mapping entry.

Default Setting

None

Command Mode

Privileged Exec

6.5.2.2clear hosts

This command clears the entire static host name-to-address mapping table.

Syntax

clear hosts

Default Setting

None

352

Page 352
Image 352
Fortinet MR1 manual Ip hosts, Syntax Ip host name ipaddr no ip host name, Syntax Clear hosts Default Setting