Domain search order
You can specify a list of domains for the system to use to complete an unqualified host name. To define this list, specify the order in which domains are searched by using the system domain-search command.
The system domain-search command requires that you enter each domain name separately, specified in the order you want them searched. A domain name can include letters, numbers, hyphens (-), and periods (.).
The following table shows how to direct the system to attempt domain completion in the following order: first, mydomain.com; second, mydomain.net; and last mydomain.org.
To specify the domain search order, perform the following steps in configuration mode.
Step | Command |
---|---|
Specify the first domain name. |
|
Specify the second domain name. |
|
Specify the third domain name. |
|
Commit the change. |
|
Show the configuration. |
|