?
Solved

vmware

Posted on 2010-09-06
2
Medium Priority
?
351 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:Eprs_Admin
2 Comments
 
LVL 1

Accepted Solution

by:
62mkv earned 2000 total points
ID: 33609883
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
 

Author Comment

by:Eprs_Admin
ID: 33609987
Thanks my friend.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
This article will explain How to fix Broken backup chain in Veeam Backup & Replication.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question