beautypg.com

2 configuration commands, 1 ip hosts, 2 clear hosts – Fortinet MR1 User Manual

Page 352

background image

352

6.5.2 Configuration Commands

6.5.2.1 ip hosts

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

Syntax

ip host
no ip host

- Host name.

- IP address of the host.

- Remove the corresponding name to IP address mapping entry.

Default Setting

None

Command Mode

Privileged Exec

6.5.2.2 clear hosts

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

Syntax

clear hosts

Default Setting

None