====== Juniper JUNOS Bacic Configuration ======
Juniper JUNOS 乾淨的系統基本要設定的東西
===== Basic Config =====
system {
host-name HOSTNAME_you_want;
domain-name IF_NEED;
time-zone Asia/Taipei;
name-server {
2001:4860:4860::8888;
8.8.8.8;
8.8.4.4;
}
syslog {
user * {
any emergency;
}
host 1.1.1.1 {
any any;
facility-override local5;
}
file messages {
any notice;
authorization info;
}
source-address 2.2.2.2;
}
ntp {
server 140.112.2.189; // ntp.ntu.edu.tw
server 220.130.158.71; // tock.stdtime.gov.tw
}
}
set system host-name HOSTNAME_you_want
set system domain-name IF_NEED
set system time-zone Asia/Taipei
set system name-server 2001:4860:4860::8888
set system name-server 8.8.8.8
set system name-server 8.8.4.4
set system syslog user * any emergency
set system syslog host 1.1.1.1 any any
set system syslog host 1.1.1.1 facility-override local5
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog source-address 2.2.2.2
set system ntp server 140.112.2.189
set system ntp server 220.130.158.71