Changing the domain-name on Juniper Junos

In this lesson, I will show you how you can add or change a domain-name on the Juniper router. This is sometimes required by your company that the Juniper belongs to the domain of that company.

Let’s move forward – first let’s see if the router has already a domain name set on it:

root@Juniper# show

## Last changed: 2024-02-06 14:31:12 UTC

version 12.1X44.5;

system {

host-name Juniper;

root-authentication {

encrypted-password “$1$qFS2OEKp$gXfJyeQG9MAAQIsdwk5Vg0”; ## SECRET-DATA

}

name-server {

208.67.222.222;

208.67.220.220;

}

services {

ssh {

protocol-version v2;

}

telnet;

xnm-clear-text;

web-management {

http {

interface vlan.0;

}

https {

system-generated-certificate;

—(more)—

Normally, if there is a domain name it will be shown on the 1st page of the “show” command, meaning that there is no domain name on this router.

Let’s add one, I will choose Juniper.local.

root@Juniper# set system domain-name Juniper.local

[edit]

root@Juniper# commit

This way you can add the domain name.

Finally, let’s issue a show to see if the domain name that we have added is shown now:

root@Juniper# show

## Last changed: 2024-02-06 14:39:51 UTC

version 12.1X44.5;

system {

host-name Juniper;

domain-name Juniper.local;

Indeed, it is shown now 😊

That’s all what you need to know about the domain name, see you in the upcoming lessons.

Course Content

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

About