5V0-41.21 · Question #37
Which esxcli command lists the firewall configuration on ESXi hosts?
The correct answer is A. esxcli network firewall ruleset list. This command allows you to display the current firewall ruleset configuration on an ESXi host. It will show the ruleset names, whether they are enabled or disabled, and the services and ports that the ruleset applies to. For example, you can use the command "esxcli network…
Question
Which esxcli command lists the firewall configuration on ESXi hosts?
Options
- Aesxcli network firewall ruleset list
- Bvsipioct1 getrules -filter <filter-name>
- Cesxcli network firewall rules
- Dvsipioct1 getrules -f <filter-name>
How the community answered
(42 responses)- A81% (34)
- B12% (5)
- C2% (1)
- D5% (2)
Explanation
This command allows you to display the current firewall ruleset configuration on an ESXi host. It will show the ruleset names, whether they are enabled or disabled, and the services and ports that the ruleset applies to. For example, you can use the command "esxcli network firewall ruleset list" to list all the firewall rulesets on the host. You can also use the command "esxcli network firewall ruleset rule list -r <ruleset_name>" to display detailed information of the specific ruleset, where <ruleset_name> is the name of the ruleset you want to display. It's important to note that you need to have access to the ESXi host's command-line interface (CLI) and have appropriate permissions to run this command.
Topics
Community Discussion
No community discussion yet for this question.