Options

purpose of "hostname" and "domain-name"

m4rtinm4rtin Member Posts: 170
It's elementary to configure a hostname and domain-name for a router or switch:
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#hostname R1
R1(config)#ip domain-name example.org
R1(config)#end
R1#

However, what is the use of "hostname" and "domain-name". Hostname is useful for identifying the device(on the CLI or for example over CDP), both "hostname" and "domain-name" are used for identifying host SSH public key, but what else? Could somebody name additional uses for domain-name in IOS?

Comments

Sign In or Register to comment.