启动防火墙:systemctl start firewalld
关闭防火墙:systemctl stop firewalld
重启防火墙:systemctl restart firewalld
查看防火墙状态:systemctl status firewalld
开机禁用防火墙:systemctl disable firewalld
开机启用防火墙:systemctl enable firewalld
查看服务是否开机启动:systemctl is-enabled firewalld
查看已启动的服务:systemctl list-unit-files|grep enabled
查看启动失败的服务:systemctl --failed