command line change VLAN ID in virtual switch

The trunk on our central office switch port has been changed. So now, I can't reach my esx server in virtual center.

I would like to change the VLAN ID of the service on the virtual switch to 500 console.

Anyone know which command I should use.

THX

Rik (Belgium)

go to the server and type: esxcfg-vswitch vSwitch0 Pei "Service Console" - v 500

Duncan

Blogs: http://www.yellow-bricks.com

If you find this information useful, please give points to "correct" or "useful".

Tags: VMware

Similar Questions

  • vSphere - ESX4 vcbMounter/vcbRestore"command line.

    Hi all

    I heard, but I can't find anything official, ' vcbMounter/vcbRestore' orders within ESX server will be available in ESX version 4 (vSphere) also,

    is this true?

    Thank you

    cordially Matteo

    Yes, I can confirm that they still exist. I do not use these tools, not sure if anything has changed, probably but there no 3.5.

    [root@himalaya ~]# vmware -v
    VMware ESX 4.0.0 build-164009
    
    [root@himalaya ~]# vcb 
    vcbExport    vcbMounter   vcbResAll    vcbRestore   vcbSnapAll   vcbSnapshot  vcbUtil      vcbVmName
    
    [root@himalaya ~]# vcbMounter
    [2009-06-02 13:38:03.310 F4EF3B60 info 'App'] Current working directory: /root
    [2009-06-02 13:38:03.376 F4EF3B60 error 'vcbMounter'] Error: Missing command line option
    VMware Consolidated Backup -- Virtual Machine Mount Utility
    Version 4.0.0 (build-164009)
    Copyright (C) 1998-2009 VMware, Inc.  All rights reserved.
    Usage:
    vcbMounter -h  -u  [-p ]  [] []
                 := 
           :=  |  | 
           := -L (0-6)
                := -m "cos"|"nbd"|"nbdssl"
            := -a   [][]
      := -d   
      := -U 
    
                  := |||<...> [-c ]
                         (See VM Backup guide for complete list of search
                         criteria.)
          := -r 
              := -t "fullvm" []
          := -C 
              := -n |
        := -M (0|1) -F (0|1)
    
    If no password is specified on the command line, you will be prompted for one.
    
    Export Flags:
     -M: If set, the disk is exported into a single (monolithic) file.
         When turned off (default), the disk is split into multiple 2GB files.
     -F: If set, the disk is exported as "flat" disk, with no optimizations.
         When turned off (default), the exported disk files will be more compact as
         unused space in the disk image is not included in the  exported file.
    
    Examples:
    +) Do a full VM style backup of vm "foo.bar.com" across the SAN,
       talk to ESX/VC host "wisdom.bar.com" as user "vc" with
       password "foobar". - Export will go to "d:\backups":
    
       vcbMounter -h wisdom.bar.com -u vc -p foobar -a ipaddr:foo.bar.com \
                  -r d:\backups\foo-fullVM -t fullvm
    
       Full VM backups export an entire virtual machine into a set of
       files within a directory. Backing up this file set allows for the
       entire virtual machine to be restored later on.
    
    +) Do an automatic unmount of the export just created:
    
       vcbMounter -h wisdom.bar.com -u vc -p foobar \
                  -U d:\backups\foo-fullVM
    
       An automatic unmount will work for both file-level and full VM mounts.
       (A full VM unmount operation just has to delete the exported files.)
    

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

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • How to use the command line in w/Merge Vista?-need to cut password expires...

    I use Vista Home Basic by Fusion on a Mac Intel. The instructions to stop Vista expire a password is to use the command-line under Vista. I already know these instructions, so my question is:

    How to use the command line inside Vista, on a virtual machine?

    Thanks for your help in advance, I don't want to mess something else.

    Jacob.

    With assistance from the command-line on Vista is no different if it is to be run on a virtual machine or on a physical machine, so just like you would on any physical machine.

  • How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    How to move a virtual machine from one virtual switch to the other since the SDK / command line?

    Joshua Smith

    Are you referring to the evolution of the virtual machines network portgroup of one to the other and in your case potentially issue on to another vSwitch? If so, take a look at this script: updateVMPortgroup.pl everything you do really makes a call to ReconfigVM_Task() and passing in a specification change and put to day the network in which you want to change

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

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    Twitter: @lamw

    If you find this information useful, please give points to "correct" or "useful".

  • change the IP address of a command-line switch 6248

    Hello
    could you tell me how to change the address of my management 6248 switch command line.
    I connect to the com port and I turn on I type my password
    and then I do not know the command?
    How to find my ip address?
    How to change?
    Thank you for your help

    Here is the link to the manual ftp://ftp.dell.com/Manuals/all-products/esuprt_ser_stor_net/esuprt_powerconnect/powerconnect-6248_User%27s%20Guide2_en-us.pdf

    Shows how to get the IP address on Page 90

    interface ip Show

    In the CLI page 358 guide, it shows how to set the IP address ftp://ftp.dell.com/Manuals/all-products/esuprt_ser_stor_net/esuprt_powerconnect/powerconnect-6248_Reference%20Guide_en-us.pdf

  • Create shortcuts with the command line switches

    I have three versions of Word on my computer. (I know, I'm a masochist).

    There are times when I want to run one of them in safe mode. Those who get me if I run winword.exe /a in the run window let you guess.

    I know I can get it by including all the way, but it's a pain.

    I would like to make a few shortcuts in Windows that would do this for me. However, I don't know how to add the command line switches. I used to be able to properties (similar to editing a .pif file) but it doesn't seem to be an option.

    You * need to locate executable files and create each shortcut via right click on the executable file.  Shortcuts Microsoft Office may not be "real" classical shortcuts

    Right click and change the shortcut.  In the 'Target' box, add at the end command line switch.

    For example... I found the 64-bit Microsoft Office 2010 Word executable here:
    «"C:\Program Files\Microsoft Office\Office14\WINWORD."» EXE ".

    and created a shortcut on my desktop.  The "target", said:
    «"C:\Program Files\Microsoft Office\Office14\WINWORD."» EXE ".

    I added the / a that you pointed at the end, the target is now:

    «"C:\Program Files\Microsoft Office\Office14\WINWORD."» "EXE" /a

    In fact - the after typing all that above, I realized that there is a Microsoft Knowledgebase Article... Google worked and I do not use it.  Heh

    How to use the line switches of start command to start Word 2010, Word 2007, Word 2003, Word 2002, and Word 2000 (Method 2).

  • All icons changed to and will Outlook open, error message "command line argument is not valid."

    I have been using Windows 7 and Office 2010 since the beginning of this year. Suddenly, I have a problem.

    All my software program icons (shortcuts and start menu) moved somehow to be the Outlook icon. When you try to open Outlook and any other program, I get the message "cannot start Microsoft Outlook. The command line argument is not valid. Check the switch you are using. »

    None of the software opens. This is true for Microsoft products and software from other companies.  The only way I can open/use some of my software is to go to the file and open it from there. How can I solve this problem?

    I tried to use my Office CD to repair the software, but nothing has changed.  I tried to go into the properties of the icon to see if the problem can be corrected for other software but the links are to the correct files and the icon will not change.   Nothing I've tried works.  Even in Control Panel administrative tools are not open (they have also been changed to have the Outlook icon).

    . I need help as soon as POSSIBLE. THX

    Only, I've solved my problems with this re - create my profile.

    To re - create your user profile name just as a different user and ensure that the user have a good administrator.

    Go to my computer > users (Windows 7) or Document and settings (Win XP) > find the profile that have a questions and rename (* do not delete because we need a return to the top if there is all data must be transferred to a new profile)

    Another thing need to do is to change the registry by go to start and type regedit (make sure administrator too)

    Go down this path HKEY_LOCAL_MACHINE NT\CurrentVersion\ProfileLIST\ * only Applicable for Windows 7

    Oncve you see all the list such as S-1-5-18... something like this a check which is the profile who have questions and delete.

    The profile with a questions can be seen on you under ProfileImagePath: C:\Users\

    In fact, you can try to reconnect and it will be relaxing a new profile just transfer back up the old data of the profile that was rename in the new profile that has been re - create.

    Hope this helps, if so please mark this answer.

    Thank you

  • Definition of vlan ID on vmk0 using powercli or SSH command line

    Hello

    We try to automatically deploy our guests from ESXi5 and got to a point where ESXi5 update1 is installed on a host directly from a boot ISO and edited KS.cfg unique settings of the host file.

    The problem is that the traffic management (by vmk0) needs to use vlan35. This can be set in the vSphere Client GUI by using properties of the switch. We must do this via a command line, then we can automate the process for all of our guests.

    Y at - it order PowerCLI to set the id a vmkernel port vlan?

    Note that we only are not licencesed use Server profiles, which I think would have helped solve this problem.

    Most popular suggestions/comments

    Matt

    I can't say I've never seen a KS.cfg configuration like this.

    Here's what we do for ours

    # basic networking
    network --bootproto=static --device=vmnic0 --ip=172.x.x.x --netmask=255.255.255.0 --gateway=10.64.1.1 --hostname=esxiname.domain.com --vlanid=35 --nameserver="172.x.x.x,172.x.x.x" --addvmportgroup=0
    
  • Optical drive software command line switch

    Hello!

    Are there switches command line for the 'Optical Drive Power"- software TPSODDCtl.exe? This software is part of the package of toshiba power saver. I want to put in place to turn off my device optical drive at windows startup.

    Thank you
    Milos

    Hello Milos

    I use for Toshiba laptop more than 10 years now, and something like this is not known to me. I think that the answer to your question, that you can only get Toshiba software development service.
    I don't think that you will never get any info on this.

  • Change the command line parameters without having to restart LabVIEW

    Is it possible to change the command line parameters passed to a VI WITHOUT having to restart LabVIEW?  Maybe I'm used to how it works just about any other development environment, but to have to do is quite frustrating.

    ronbrown,

    Unfortunately, you'll have to close LabVIEW to pass parameters in a VI of the command prompt. You can build your VI in an executable file, and then pass parameters from the command prompt.  Because the program is its own executable file, it is not dependent on wheter LabVIEW is open.

  • Switch to command line for windows update unisntallation

    I'm trying to uninstall the patch WindowsXPr-KB953838 - x 86 .exe.
    I tried as "WindowsXP-KB953838 - x 86 .exe / uninstall" but he can't.
    Please help how to uninstall this hotfix by command line switch.
    I also checked some command line options that are mentioned in the below
    Links
    http://support.Microsoft.com/kb/184305/
    http://support.Microsoft.com/kb/262841
    http://support.Microsoft.com/kb/197147
    Nothing works very well.
    FYI: I am able to uninstall this hotfix from "Add / Remove Programs".

    Hello

    Welcome to the Microsoft Vista answers Forum!

    Try not provided below and check if the problem is resolved.

    You must run in elevated mode command prompt, and then type the command to uninstall the particular update, to do that follow the steps below.

    Right-click on the desktop.

    Click on the new shortcut, type CMD, click ok.

    For a type of high order name, click ok.

    Now right-click on the shortcut and click on properties, then advanced, then run as administrator.

    The command prompt opens and you need to paste this command

    C:\WINDOWS\$NtUninstallKB 953838-v3$\spuninst\spuninst.exe and press ENTER.

    This allows to uninstall the windows update special taking you through the wizard.

    Note also that you must run the command in the recovery console to uninstall the service pack updates.

    To start your computer with the recovery console and remove or uninstall updates, you must follow the link provided below.

    Description of the Windows XP Recovery Console for advanced users

    http://support.Microsoft.com/default.aspx/KB/314058

    Hope this information is useful.

    Thank you, and in what concerns:

    Suresh Kumar-Microsoft Support.

    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.

  • MAC address: Is it possible to change the MAC address of a machine & also if there is a way to see the physical address of the machine on the other to see through the command line...?

    Is it possible to change the MAC address of a machine & also if there is a way to see the physical address of the machine on the other to see through the command line...?

    Is it possible to change the MAC address of a machine & also if there is a way to see the physical address of the machine on the other to see through the command line...?

    Yes.

    Yes.

    Of course - you use 'other/unknown', then...?

    (Google for "MAC spoofing").

  • How to change Microsoft Security Essentials at the request of the parameters of scanning from the command line or in a script.

    Is it possible to change the parameters of the scheduled scan of the Microsoft Security Essentials from the command line or in a script?

    I know that I can use the command to schedule the MpCmdRun.exe tool command line to run, but that do not change or remove the existing scheduled scan that appears in the software. Run regedit to merge into the corresponding registry keys does not work because the keys are "locked", probably by the running of MSSE program.

    Suggest you post it in one of the forums dedicated to MSE - Microsoft Security Essentials: scanning, detection and removal of threats MowGreen Update Services - consumer safety

  • Explorer.exe Windows 7 command line switches

    Is there a secret behind the Windows 7 explorer.exe command-line switches? Try searching for it on the Microsoft Web site, and all you find are the Windows XP command line switches. What about Windows 7? Everything you get from explorer.exe %windir%\ /? is a journey into My Documents. Why the mystery?

    Hello

    / n redundant in Windows Vista

    The Windows Explorer command line
    http://www.geoffchappell.com/Viewer.htm?doc=studies/Windows/Shell/Explorer/Cmdline.htm

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Configuration of the Simulator. How to change default command line?

    Hello

    BlackBerry Java plug-in
    Version: 1.1.2.201004161203 - 16

    Windows XP

    How can I change default command-line for the Simulator?

    I want to delete/keep-lcd-on = true parameter because he throws:

    Internal error - BlackBerry Smartphone Simulator
    ------------------------------------------------
    (Class fledge::Exception) unhandled C++ exceptions:
    Unknown option LcdCollection:keep - lcd-on screen in the command - line.conf

    Thanks to advice.

    This parameter is no longer supported by the BlackBerry smartphone Simulator.

Maybe you are looking for

  • laptop battery that went wrong?

    I have a laptop Pavilion dv7. It is 18 months old and the (640 GB) HDD crashed. I tokk it to local repair shop and they succeeded him and was told that it was the battery that caused his failure. The battery worked fine for me, but I never noticed an

  • loss of performance

    I tried El Capitan and none of my important software would go.  I had a backup (and I have little complaints about it) and I was able to restore all of the HD system.  This is part of the software licensed to lose their license and I had to jump thro

  • The function "Time in seconds" does not work as I expect. Can someone tell me why?

    In the attached VI my hour entry to the function "Time in seconds" is 11, but the output is 12:09. Why is he 12:09 and not 11:09? Thank you.

  • Only CM, multiple interfaces

    Hi guys. I have an environment with a single CM and multiple devices. The plant manager has two management interfaces (an interface in the primary CPE) and other secondary CPE. It is this way because we are unable to use the local switch in order to

  • Simulated SDCard

    Hey,. I'm getting started with the development of an application for sqlite. I have the source code located on BlackBerry.com. I built the code, called the connection key. I try to go to the SD card and see if the file was created or not. Bascially,