Hostname and Domain Name

The router's hostname and domain name are used in the creation of RSA key pairs. You must configure both of these items prior to generating RSA keys. The commands that you need to issue are

Router(config)# hostname name
Router(config)# ip domain-name name

The following example configures a hostname of reno and a domain name of

Router(config)# hostname reno
reno(config)# ip domain-name

Notice that the router prompt changed to reno after a hostname was configured.

Hostname-to-IP-Address Mapping

You need to configure a static Domain Name System (DNS) entry on the router for each CA that you plan to use. You create this mapping because some of the digital certificate commands on the ...

Get SECUR Exam Cram™ 2 (Exam 642-501) now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.