13.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 3ffe:501:811:ff45::87ff:fec0:3890
Maps the host name WORKPC2 to the device whose IPv6 address is 3ffe:501:811:ff45::87ff:fec0:3890.