文件操作 - snmptrap.xml
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/firewalld/services/snmptrap.xml
编辑文件内容
<?xml version="1.0" encoding="utf-8"?> <service> <short>SNMPTRAP</short> <description>SNMP traps enable an agent to notify the management station of significant events by way of an unsolicited SNMP message.</description> <port protocol="tcp" port="162"/> <port protocol="udp" port="162"/> </service>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件