11.2.2 Configuring the system hostname
- <Structure of this section>
(1) Setting the hostname to be assigned to IPv4 address
- Points to note
-
The example below shows how to map a host name to an IPv4 address.
Command examples
-
(config)# ip host WORKPC1 192.168.0.1
Maps the host name WORKPC1 to the device whose IPv4 address is 192.168.0.1.
(2) Setting the hostname to be assigned to IPv6 address
- Points to note
-
The example below shows how to map a host name to an IPv6 address.
Command examples
-
(config)# ipv6 host WORKPC2 2001:db8:3::1234
Sets the hostname WORKPC2 on the device with IPv6 address 2001:db8:3::1234.