5 Replies Latest reply on Oct 23, 2010 6:09 PM by lamw

    vicfg-firewall?

    JamesConaway Enthusiast

      VCAP-DCA Objective 7.2 : Configure and Maintain ESX Firewall

       

      • Identify vicfg-firewall commands

       

      Is this a typo in the blueprint? Shouldn't it read esxcfg-firewall?

       

      I can't find anything on vicfg-firewall.

       

       

       

      If I am right I will be surprised I am the first to point this out...

        • 1. Re: vicfg-firewall?
          lamw Guru
          VMware EmployeesCommunity Warriors

          This is not a typo, vicfg-* commands are part of the vCLI which are the remote version of the esxcfg-* commands found on the classic ESX Server Console. If you install vCLI or use VMware vMA, you'll notice both vicfg-* and esxcfg-* commands. The esxcfg-* are just symbolic links to the vicfg-* commands. The documentation is correct

           

           

           

           

          =========================================================================

          William Lam

          VMware vExpert 2009,2010

          VMware VCP3,4

          VMware VCAP4-DCA

          VMware scripts and resources at: http://www.virtuallyghetto.com/

          Twitter: @lamw

          vGhetto Script Repository

          Getting Started with the vMA (tips/tricks)

          Getting Started with the vSphere SDK for Perl

          VMware Code Central - Scripts/Sample code for Developers and Administrators

          VMware Developer Community

           

          http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

           

          If you find this information useful, please award points for "correct" or "helpful".

          • 2. Re: vicfg-firewall?
            JamesConaway Enthusiast

            vi-admin@TMPLABVMA /$ vma-help

            Welcome to vma-help

             

            For general documentation see http://www.vmware.com/go/vma

             

            For help on the vSphere Authentication Component (vi-fastpass)

            run 'vma-help <cmd>' Possible commands are:

            vifp vifptarget vilogger

             

             

             

            For help on vSphere CLI commands run 'vma-help <cmd>'. Possible commands are:

            esxcfg-advcfg esxcfg-cfgbackup esxcfg-dns esxcfg-dumppart

            esxcfg-iscsi esxcfg-module esxcfg-mpath esxcfg-mpath35

            esxcfg-nas esxcfg-nics esxcfg-ntp esxcfg-rescan esxcfg-route

            esxcfg-scsidevs esxcfg-snmp esxcfg-syslog esxcfg-user

            esxcfg-vmknic esxcfg-volume esxcfg-vswitch esxcli resxtop

            svmotion vicfg-advcfg vicfg-cfgbackup vicfg-dns vicfg-dumppart

            vicfg-iscsi vicfg-module vicfg-mpath vicfg-mpath35 vicfg-nas

            vicfg-nics vicfg-ntp vicfg-rescan vicfg-route vicfg-scsidevs

            vicfg-snmp vicfg-syslog vicfg-user vicfg-vmknic vicfg-volume

            vicfg-vswitch vifs vihostupdate vihostupdate35 viperl-support

            vmkfstools vmware-cmd

            vi-admin@TMPLABVMA /$ vicfg-firewall

            -bash: vicfg-firewall: command not found

            vi-admin@TMPLABVMA /$

             

             

             

            C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>dir

            Volume in drive C is SYS

            Volume Serial Number is 3EB1-FEC8

             

            Directory of C:\Program Files (x86)\VMware\VMware vSphere CLI\bin

             

            09/03/2010  09:59 AM    <DIR>          .

            09/03/2010  09:59 AM    <DIR>          ..

            04/28/2010  03:06 PM             9,992 esxcfg-advcfg.pl

            04/28/2010  03:06 PM             9,196 esxcfg-cfgbackup.pl

            04/28/2010  03:06 PM             9,460 esxcfg-dns.pl

            04/28/2010  03:06 PM            13,030 esxcfg-dumppart.pl

            04/28/2010  03:06 PM             7,127 esxcfg-module.pl

            04/28/2010  03:06 PM            20,230 esxcfg-mpath.pl

            04/28/2010  03:06 PM             8,604 esxcfg-nas.pl

            04/28/2010  03:06 PM             9,694 esxcfg-nics.pl

            04/28/2010  03:06 PM             7,424 esxcfg-ntp.pl

            04/28/2010  03:06 PM             2,987 esxcfg-rescan.pl

            04/28/2010  03:06 PM            13,806 esxcfg-route.pl

            04/28/2010  03:06 PM            22,354 esxcfg-scsidevs.pl

            04/28/2010  03:06 PM            10,326 esxcfg-snmp.pl

            04/28/2010  03:06 PM             4,969 esxcfg-syslog.pl

            04/28/2010  03:06 PM            37,169 esxcfg-user.pl

            04/28/2010  03:06 PM            27,121 esxcfg-vmknic.pl

            04/28/2010  03:06 PM            11,123 esxcfg-volume.pl

            04/28/2010  03:06 PM            36,835 esxcfg-vswitch.pl

            04/28/2010  03:06 PM            45,568 esxcli.exe

            07/15/2010  03:09 PM             1,007 esxcli.exe.log

            07/21/2010  12:06 PM                 0 esxcli.log

            04/28/2010  03:06 PM         1,356,872 esxcli.zip

            04/28/2010  03:06 PM             8,305 EULA

            04/28/2010  03:06 PM            80,295 EULA.rtf

            04/28/2010  03:06 PM            37,244 open_source_licenses.txt

            04/28/2010  03:06 PM         2,109,440 python25.dll

            04/28/2010  03:06 PM            32,522 svmotion.pl

            04/28/2010  03:06 PM                29 vcli.bat

            04/28/2010  03:06 PM             9,992 vicfg-advcfg.pl

            04/28/2010  03:06 PM            12,078 vicfg-authconfig.pl

            04/28/2010  03:06 PM             9,196 vicfg-cfgbackup.pl

            04/28/2010  03:06 PM             9,460 vicfg-dns.pl

            04/28/2010  03:06 PM            13,030 vicfg-dumppart.pl

            04/28/2010  03:06 PM            16,485 vicfg-hostops.pl

            04/28/2010  03:06 PM            27,513 vicfg-ipsec.pl

            04/28/2010  03:06 PM            73,498 vicfg-iscsi.pl

            04/28/2010  03:06 PM             7,127 vicfg-module.pl

            04/28/2010  03:06 PM            20,230 vicfg-mpath.pl

            04/28/2010  03:06 PM            18,475 vicfg-mpath35.pl

            04/28/2010  03:06 PM             8,604 vicfg-nas.pl

            04/28/2010  03:06 PM             9,694 vicfg-nics.pl

            04/28/2010  03:06 PM             7,424 vicfg-ntp.pl

            04/28/2010  03:06 PM             2,987 vicfg-rescan.pl

            04/28/2010  03:06 PM            13,806 vicfg-route.pl

            04/28/2010  03:06 PM            22,354 vicfg-scsidevs.pl

            04/28/2010  03:06 PM            10,326 vicfg-snmp.pl

            04/28/2010  03:06 PM             4,969 vicfg-syslog.pl

            04/28/2010  03:06 PM            37,169 vicfg-user.pl

            04/28/2010  03:06 PM            27,121 vicfg-vmknic.pl

            04/28/2010  03:06 PM            11,123 vicfg-volume.pl

            04/28/2010  03:06 PM            36,835 vicfg-vswitch.pl

            04/28/2010  03:06 PM            18,155 vifs.pl

            04/28/2010  03:06 PM            24,230 vihostupdate.pl

            04/28/2010  03:06 PM            13,785 vihostupdate35.pl

            04/28/2010  03:06 PM            38,468 vmkfstools.pl

            04/28/2010  03:06 PM            60,531 vmware-cmd.pl

            04/28/2010  03:06 PM             4,608 w9xpopen.exe

            57 File(s)      4,502,002 bytes

            2 Dir(s)   1,601,589,248 bytes free

             

            C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-firewall.pl

            'vicfg-firewall.pl' is not recognized as an internal or external command,

            operable program or batch file.

             

            C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>

             

             

             

             

             

             

             

             

             

            What am I missing?

            • 3. Re: vicfg-firewall?
              lamw Guru
              Community WarriorsVMware Employees

              I'm sorry, you're correct, the command is in reference to the classic ESX Service Console command which is esxcfg-firewall, this command does not exists for the vCLI nor does it apply to ESXi. It is a typo and it's only referring to ESX

               

               

               

               

              =========================================================================

              William Lam

              VMware vExpert 2009,2010

              VMware VCP3,4

              VMware VCAP4-DCA

              VMware scripts and resources at: http://www.virtuallyghetto.com/

              Twitter: @lamw

              vGhetto Script Repository

              Getting Started with the vMA (tips/tricks)

              Getting Started with the vSphere SDK for Perl

              VMware Code Central - Scripts/Sample code for Developers and Administrators

              VMware Developer Community

               

              http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

               

              If you find this information useful, please award points for "correct" or "helpful".

              • 4. Re: vicfg-firewall?
                JamesConaway Enthusiast

                No worries. Thank you for the confirmation. I will adjust my study guide.

                • 5. Re: vicfg-firewall?
                  JamesConaway Enthusiast

                  FYI,

                   

                  Under the tools section: (Should be corrected.)

                   

                  vSphere CLI

                  • vicfg-firewall