Solved

vmware

Posted on 2010-09-06
2
329 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 500 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

856 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