Model
# EX2200
Basic Config
[1]
CMD > 9600 8 N 1 > username > password
[2]
# 基本設定
cli
configure
# 編輯system這一個目錄
edit system
===
# 變更設備名稱
set host-name "Your_Device"
# 變更設備所屬網域名稱
set domain-name "Your_Domain"
# 設定root管理員的密碼
set root-authentication "Your_Password"
# 設定時區
set time-zone "Asia/Taipei"
# 設定NTP Server
set ntp server "192.168.1.1"
# 設定DNS
set name-server "192.168.1.1"
===
# 結構會長成這樣
system {
host-name Your_Device;
domain-name Your_Domain;
root-authentication {
plain-text-password "Your_Password";
}
time-zone Asia/Taipei;
name-server {
192.168.1.1;
}
ntp {
server 192.168.1.1;
}
}
===
# 檢查語法是否正確
commit check
# 套用設定,若10分鐘內沒輸入commit,系統會自動rollback 1
commit confirmed "10"
# 確認並套用
commit
Check
# 看系統層級的架構
show system
# 看set指令
show | display set
# 在配置模式下查看ntp
run show ntp associations