n3s0 || journal

Configure Hostname On Juniper

Posted on 1 min

Netadmin

Table of Contents

Summary


cli
configure
edit system
[edit system]
root@juniper#
set host-name lab-srx220-r01
commit
commit complete

[edit system]
root@lab-srx220-r01#
show system
host-name lab-srx220-r01;
time-zone America/Chicago;
root-authentication {
    encrypted-password "REDACTED"; ## SECRET-DATA
}
name-server {
    1.1.1.1;
    1.0.0.1;
}
services {
    ssh;
    telnet;
    xnm-clear-text;
    web-management {
        http {
            interface vlan.0;
        }
        https {
            system-generated-certificate;
            interface vlan.0;
        }
    }
    dhcp {
        router {                        
            192.168.1.1;
        }
        pool 192.168.1.0/24 {
            address-range low 192.168.1.2 high 192.168.1.254;
        }
        propagate-settings ge-0/0/0.0;
    }
}
syslog {
    archive size 100k files 3;
    user * {
        any emergency;
    }
    file messages {
        any notice;
        authorization info;
    }
    file interactive-commands {
        interactive-commands error;
    }
    file LOG-Accepted-Traffic {
        any any;
                                        
[edit]