Solved

vmware

Posted on 2010-09-06
2
328 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

777 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