# LLDP
config system glocal
set lldp-transmission enable
set lldp-reception enable
end
execute cfg save
diag lldptx restart
diag user device list
# 不想自動存檔就改一下
set cfg-save ?
# 在EVE查到期日
sh system status
# 看IP
sh system interface
# ping
execute ping
#
sh full-config // 某些地方 sh all-settings
# back to ftp
execute backup full-config ftp 檔名自取 IP 帳 密
在EVE裡如果試用期到了, 把它做備份再把這台NODE砍了新增一台即可.
# 還原預設值
execute formatlogdisk
今天(2021-02-21)和屁股弄了一下eve-ng, 一時卻忘了forti怎麼設IP....XD
forti預設的帳號:admin 密碼:空白
記錄一下
https://help.fortinet.com/fdb/5-0-0/html/source/tasks/t_network_configuration_cli.html
config system interface
edit port1
set ip 192.168.100.159 255.255.255.0
set allowaccess ping https ssh
end
config system dns
set primary 8.8.8.8
set secondary 8.8.4.4
end
config system route
edit 1
set device port1
set gateway 172.30.62.254
end
config system ntp
set server time.stdtime.gov.tw
set status enable
end