Overview
Use this task to configure domain names in the /etc/hosts file for enabling Zero Touch Deployment (ZTD) and Plug and Play (PNP) of FAR devices with Cisco IoT FND and TPS servers. This ensures hostname resolution and proper communication within the IoT network environment.
When onboarding Cisco IoT FND, configure domain names in the /etc/hosts file. Use this configuration for the Zero Touch Deployment (ZTD) and Plug and Play (PNP) of FAR devices. The domain name resolves the FND or TPS hostname to an IP address, facilitating communication with Cisco IoT FND.
Use the following instructions to configure hostnames in FND and TPS servers:
Procedure
| 1. | Edit hostname in the /etc/hosts file . Example:
This displays the /etc/hosts file, allowing you to edit it by adding or updating hostnames with their corresponding IP addresses. |
|
| 2. | Enter the domain name for the host IP address separated by a space or a tab. Example:
|
|
| 3. | Save the changes by selecting Y and exit. |
|
| 4. | Validate the updated hostname using the following command: Example:
The updated hostname is displayed along with the corresponding IP address. |
|
| 5. | To view the hostnames with the corresponding IP addresses, use the following command: Example:
|
You've successfully configured hostnames on Cisco IoT FND and TPS servers.
What to do next
Configure NTP servers and IP host entries.