默认方式输出日志时,可通过命令或页面方式进行操作,二选一即可:
命令方式:
配置日志接收主机是10.0.1.1,端口514
info-center loghost 10.0.0.1 514
开启信息中心,开启后防火墙才会输出日志
info-center enable
![](https://danteng.org/wp-content/uploads/2020/03/1584429258657.png)
页面方式:
日志–>日志配置–>Syslog配置中新建日志主机。
![](https://danteng.org/wp-content/uploads/2020/03/1584429258669.png)
填写日志主机IP,端口号,选择语言。
![](https://danteng.org/wp-content/uploads/2020/03/1584429258677.png)
日志–>日志配置–>信息中心中开启信息中心开关。
![](https://danteng.org/wp-content/uploads/2020/03/1584429258685.png)
开启后,防火墙将向日志中心服务器发送日志。
本文链接地址: https://danteng.org/quidway-usg-5120-syslog-configure/