Name

ip domain-name — global

Synopsis

ip domain-name domain
no ip domain-name domain
            

Configures

Domain name completion

Default

None

Description

This command sets the domain name that the router will use to complete any unqualified domain names. See also ip domain-list.

Example

Here, all unqualified hostnames are taken to be in the mydomain.com domain:

ip domain-name mydomain.com

Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.