1. 程式人生 > >FortiGate日誌設定

FortiGate日誌設定

1.預設

  FGT5HD3916802737 # config log syslogd setting

  FGT5HD3916802737 (setting) # show

  config log syslogd setting

  end

 

  FGT5HD3916802737 (setting) # show full-configuration

  config log syslogd setting

      set status disable

  end

2.開啟

  FGT5HD3916802737 (setting) # set status enable

  FGT5HD3916802737 (setting) # show full-configuration

  config log syslogd setting

      set status enable

      set server ''

      set reliable disable

      set port 514

      set csv disable

      set facility local7

      set source-ip ''

  end

3.1)設定伺服器

  FGT5HD3916802737 (setting) # set server "10.160.25.99"

  FGT5HD3916802737 (setting) # show full-configuration

  config log syslogd setting

      set status enable

      set server "10.160.25.99"

      set reliable disable

      set port 514

      set csv disable

      set facility local7

      set source-ip ''

  end

  2)設定伺服器2

  conf log syslogd2 sett

4.設定日誌源IP

  FGT5HD3916802737 (setting) # set source-ip 0.0.0.0

  FGT5HD3916802737 (setting) # show full-configuration

  config log syslogd setting

      set status enable

      set server "10.160.25.99"

      set reliable disable

      set port 514

      set csv disable

     set facility local7

      set source-ip "0.0.0.0"

  end