Hostnames allow devices to be identified by network administrators over a network or the Internet.

Applying Names Example

Let's use an example of three switches connected together in a network, spanning three different floors.

To create a naming convention for switches, take into consideration the location and the purpose of the devices.

For example, in the figure we have named the three switches as Sw-Floor-1, Sw-Floor-2, and Sw-Floor-3.

In the network documentation, we would include these names, and the reasons for choosing them, to ensure continuity in our naming convention as devices are added.

Once the naming convention has been identified, the next step is to apply the names to the devices using the CLI.