ExamGecko
Question list
Search
Search

Related questions











Question 1 - 5V0-41.21 discussion

Report
Export

Which esxcli command lists the firewall configuration on ESXi hosts?

A.
esxcli network firewall ruleset list
Answers
A.
esxcli network firewall ruleset list
B.
vsipioct1 getrules -filter <filter-name>
Answers
B.
vsipioct1 getrules -filter <filter-name>
C.
esxcli network firewall rules
Answers
C.
esxcli network firewall rules
D.
vsipioct1 getrules -f <filter-name>
Answers
D.
vsipioct1 getrules -f <filter-name>
Suggested answer: A

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.

https://docs.vmware.com/en/VMwarevSphere/6.7/com.vmware.vcli.ref.doc/esxcli_network_firewall_ruleset.html

asked 16/09/2024
Ivan Ramirez
28 questions
NextNext
User
Your answer:
0 comments
Sorted by

Leave a comment first