vmware

Hi Experts,
I study for the exam VCP41.
Now I have two questions but they are the same ?

1. To list the current firewall settings which command you use ?
A: esxcfg-firewall -d
B: esxcfg-firewall -l
C: esxcfg-firewall -q
D: esxcfg-firewall -u

2. What command is used to list the services controlled by the firewall ?
A: esxcfg-firewall -c
B: esxcfg-firewall -s
C: esxcfg-firewall -q
D: esxcfg-firewall -o

The two questions are the same ?
The answer for 1. is C
The answer for 2. is B

Are these answers are right ? Please help me to find the correct answers.
Eprs_AdminSystem ArchitectAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
62mkvConnect With a Mentor Commented:
http://vmware-land.com/esxcfg-help.html :

-q      Lists current settings
-q <service>      Lists settings for the specified service
-q incoming|outgoing      Lists settings for non-required incoming/outgoing ports
-s      Lists known services
-l      Loads current settings
-r      Resets all options to defaults
-e <service>      Allows specified service through the firewall (enables)
-d <service>      Blocks specified service (disables)
-o <port, tcp|udp,in|out,name>      Opens a port
-c <port, tcp|udp,in|out>      Closes a port previously opened by –o
-h      Displays command help
-allowincoming      Allow all incoming ports
-allowoutgoing      Allow all outgoing ports
-blockincoming      Block all non-required incoming ports (default value)
-blockoutgoing      Block all non-required outgoing ports (default value)

so obviously the ansers are:
1. C
2. B

and "no the questions are not the same"
0
 
Eprs_AdminSystem ArchitectAuthor Commented:
Thanks my friend.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.