install
#yum install firewalld
operation
#service firewalld start
#service firewalld status
#service firewalld disable
#service firewalld stop
info&&config
#firewall-cmd --version
#firewall-cmd --help
#firewall-cmd –state
#firewall-cmd --get-zones
#firewall-cmd --get-default-zone
#firewall-cmd --list-all-zone
#firewall-cmd --zone=public --list-ports
#ptables -L -n
# firewall-cmd --reload
#firewall-cmd --get-active-zones
#firewall-cmd --get-zone-of-interface=eth0
operation service
#firewall-cmd –add-service=ssh
#firewall-cmd –query-service=ssh
#firewall-cmd –remove-service=ssh
operation port
#firewall-cmd --zone=public --add-port=80/tcp
#firewall-cmd --reload
#firewall-cmd --zone=public --query-port=80/tcp
#firewall-cmd --zone=public --remove-port=80/tcp