Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Configuring the Domain Name for the Router or Switch

For each router or switch, you should configure the name of the domain in which the router or switch is located. This is the default domain name that is appended to hostnames that are not fully qualified.

To configure the domain name, include the domain-name statement at the [edit system] hierarchy level:

[edit system]domain-name domain-name;

The following example shows how to configure the domain name:

[edit]user@host# set system domain-name company.net[edit]user@host# show
system {domain-name company.net;}

Published: 2013-08-15