Controller Command Line to remove a controller from an AP

5508 Controllers on 7.2.111
I can type something like:
(c5508-1.stp) > config ap tertiary-base c5508-4.stp c3502-l288-test.stp 10.11.12.13
to set a primary, seconday or tertiary controller for an ap.  
Now, with my new 500 AP licenses, I am down to two controllers at some sites.  How do I erase the tetrtiary controller.  I can set the secondary and tertiary to be the same, but I cant figure out how to erase.  Setting the IP address to 0.0.0.0 seems to work, but how do I wipe out the name.  I can do this through the WCS GUI and select the <blank> entry, but it is oh so tedius!
Thanks!
Wes

I'd do it as a WCS AP template, and push the template to all the AP's
HTH,
Steve
Please remember to rate useful posts, and mark questions as answered

Similar Messages

  • Work from command line but did not work from JSP call

    I have a test class that should perform Triple DES. When I run it from command line work ok, but when runs from JSP it give me an error:
    Exception:
    ======================================
    javax.crypto.IllegalBlockSizeException: Input length not multiple of 8 bytes
    put 3 check points inside the code, and run it from command line and here is the result:
    C:\Documents and Settings\salasadi\Desktop\DigitalMailer>java TDESStringEncrypto
    r 123456781234567812345678 "CID=103&A
    this is pass 3
    this is pass 1
    this is pass 2
    here is the class:
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import java.io.*;
    public class TDESStringEncryptor
    static final int DATA_STRING_LENGTH = 64;
    public static void main(String[] args)
    try
    TDESStringEncryptor enc = new TDESStringEncryptor();
    String value = enc.Encrypt(args[0], args[1]);
    System.err.println(value);
    catch (Exception ex)
    System.err.println(ex);
    public String Encrypt(String inkey, String data)
    throws Exception
    // convert key to byte array and get it into a key object
    byte[] rawkey = inkey.getBytes();
    DESedeKeySpec keyspec = new DESedeKeySpec(rawkey);
    SecretKeyFactory keyfactory = SecretKeyFactory.getInstance("DESede");
    SecretKey key = keyfactory.generateSecret(keyspec);
    Cipher cipher = Cipher.getInstance("DESede/ECB/NoPadding");
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] out = cipher.doFinal( padString(data).getBytes( ) );
    System.out.println("this is pass 1");
    return byteArrayToHexString( out );
    private String byteArrayToHexString(byte in[])
    byte ch = 0x00;
    int i = 0;
    if ( in == null || in.length <= 0 )
    return null;
    String pseudo[] = {"0", "1", "2", "3", "4", "5", "6", "7", "8",
    "9", "A", "B", "C", "D", "E", "F"};
    StringBuffer out = new StringBuffer( in.length * 2 );
    while ( i < in.length )
    ch = (byte) ( in[i] & 0xF0 );
    ch = (byte) ( ch >>> 4 );
    ch = (byte) ( ch & 0x0F );
    out.append( pseudo[ (int) ch] );
    ch = (byte) ( in[i] & 0x0F );
    out.append( pseudo[ (int) ch] );
    i++;
    String rslt = new String( out );
    System.out.println("this is pass 2");
    return rslt;
    private String padString( String s )
    StringBuffer str = new StringBuffer( s );
    int strLength = str.length();
    for ( int i = 0; i <= DATA_STRING_LENGTH ; i ++ )
    if ( i > strLength ) str.append( ' ' );
    System.out.println("this is pass 3");
    return str.toString();
    And here is the JSP call:
    TDESStringEncryptor encryptz = new TDESStringEncryptor();
    String cryptodata1 = encryptz.Encrypt(Keyz,cryptodata);
    Thanks

    Please use [ code ] tags when posting code.
    Please indicate the line that causes the exception.
    Please indicate what Keyz and cryptodata is.

  • I want to launch multiple scripts written in Java from command line

    Hi,
    I have created a Master script file (script.java) which call functions available in other class files. (created through Java code).
    Now, let's say I have 10 functions(scripts) on master script file but I want random selection for executing these functions. Do we have any interface for selection from available scripts?
    Edited by: 917140 on Apr 10, 2012 8:11 AM

    "Everything I know about the command is in the man page. I can't give you a literal command, because I don't know what to put in for the arguments. To be honest, if the man page is not understandable enough for you to build the command, I don't think you should use it at all. Use Profile Manager in OS X Server, which is the right way to do what you're trying to do."
    I do not know why this post did not show up here on the thread, I did get the email. Not sure how to respond. We have 800 stations. Can not go and touch each one, so looking for a command line to remove the ssid "campus" - If I read your message correct, you do not know the command line either for this. Thank you.

  • I want to delete a wireless entry in Keychain from the command line - how?

    We have 800+ laptops that have a wireless that we want deleted from the stations keychain. The ssid is called "campus".
    I would like to know how to using command line delete the campus entry. I have been playing with the security command, but cannot seem to delete the keychain entry.
    Any suggestions?

    "Everything I know about the command is in the man page. I can't give you a literal command, because I don't know what to put in for the arguments. To be honest, if the man page is not understandable enough for you to build the command, I don't think you should use it at all. Use Profile Manager in OS X Server, which is the right way to do what you're trying to do."
    I do not know why this post did not show up here on the thread, I did get the email. Not sure how to respond. We have 800 stations. Can not go and touch each one, so looking for a command line to remove the ssid "campus" - If I read your message correct, you do not know the command line either for this. Thank you.

  • How to execute an ODI package from Command Line

    Please can anyone help me to know how to execute an ODI package from the command line without creating a scenario from the package.
    Appreciate your help.
    Thanks
    B

    You can't. Create a scenario and then execute that from the command line.

  • Command line args from java to C++

    Hi
    I want to pass command line arguemnts argc and argv from java to C++. I have browsed the net and most of them suggested that I declare the jni statement with jObjectarray.
    I saw an example at http://www.csc.calpoly.edu/~fouzi/crossroads/Arguments.c
    It said
    #include "/home/java/linux/jdk118/include/jni.h"
    #include "Arguments.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL
    Java_Arguments_setArgs (JNIEnv *jenv, jobject job, jobjectArray oarr)
    /* obtain the size the the array with a call to the JNI function
    GetArrayLength()                              */
    jsize argc = (*jenv)->GetArrayLength(jenv, oarr);
    /* Declare a char array for argv */
    char const* argv[128];
    int i;
    for (i = 1; i < argc + 1; i++) {
    /* obtain the current object from the object array */
    jobject myObject = (*jenv)->GetObjectArrayElement(jenv, oarr, i-1);
    /* Convert the object just obtained into a String */
    const char str = (jenv)->GetStringUTFChars(jenv,myObject,0);
    /* Build the argv array */
    argv[i] = str;
    /* print the argv array to the screen */
    printf ("argv[%i] = %s\n",i,argv);
    /* Free up memory to prevent memory leaks */
    (*jenv)->ReleaseStringUTFChars(jenv, myObject, str);
    // Increment argc to ajust the difference between Java and C arguments
    argc++;
    // Call a pipeline simulator function which uses command line arguments
    start(argc,argv);
    return;
    That is what I have where the start method is declared like this:
    void start(int argc, /* Argument count */ char argv[] / Argument strings */) {
    But I get a warning when I build the C routine. The warning arises when I am calling the start method.
    The warning says:
    f:\jni\dsaccess.c(711) : warning C4090: 'function' : different 'const' qualifiers
    f:\jni\dsaccess.c(711) : warning C4024: 'start' : different types for formal and actual parameter 2
    Can you help?
    Thanks
    Lakshmi

    1. Your array building looks bogus: Are you missing an index?
    2. You claim to be calling a "method". Are you? Or is it a subroutine?

  • How to programatically start j2ee application/service  from command line

    Hi all
    We have developed a j2ee application and deployed  the .ear file on SAP J2EE (Netweaver'04) engine.
    We are able to successfully start/stop the application from Visual administrator -> Deploy -> Service -> Start application (or) Stop application.
    We need to start and stop the same application programatically or via command line instead of doing it from VA.  Any thoughts from anyone on how to do it ?
    Thanks in advance.
    Regards
    Nagesh

    The cammands are there in the respective folders, these are just the batch files / .sh scripts that can be run from command line.
    /usr/sap/<instance>JC<client>/j2ee/admin
    go.sh and go.bat can run either on command line
    j2ee/configtool
    configtool.sh / configtool.bat  
    similarly for other smaller utilities. For the main server, the related commands are in exe directory of sapmnt
    /sapmnt/<instance>/exe
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 16, 2009 11:16 PM

  • Command Line Issue

    Hey All,
    This batch file works:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb BatchTest /sheet 2010 /batch /export HTML d:\batchtest
    but this one does not:
    d:\oracle\BIToolsHome_4\bin\dis51usr.exe /connect userid/password@database /opendb "00000 Workbook Analysis Begininng 01 Jan 2009" /sheet ALL /batch /export HTML d:\batchall
    The first batch file executes only ONE worksheet and exports the output to a file successfully. The second batch file executes ALL sheets in the workbook but does not produce the output file. Its execution does not produce any error messages but no output is generated. Removing the '/batch /export HTML d:\batchall' commands opens Discoverer Desktop and executes all worksheets successfully.
    I guess I am just being a silly goose but I cannot find the problem. Any help towards solving the problem will be appreciated.
    Thanks,
    Jerre

    Hi Jerre
    Interesting indeed. The export command, taken from my book, is as follows:
    /export <format><export-file-name> This exports the results of executing a worksheet to the file named, in the format specified. If you do not specify a worksheet on the command line, Discoverer exports the results from the active worksheet. If you nominate /sheet ALL on the command line, Discoverer exports all of the worksheets in the workbook and names the output files as <file><sheet-name>.<ext>, identically to the behavior of the Export Data command.
    First of all, because you are using the ALL sheets switch the file name has to be unique and cannot be named the same as a folder. Do you happen to have a folder named batchall? That would cause a problem.
    Next, I am wondering if there is something with the sheet names that could be causing the issue. Can you take a look at the sheet names and see if there are any characters that might cause an issue? As a test, try renaming the sheets to all one word with underscores.
    Best wishes
    Michael

  • Removing Mail accounts from Server Admin Mail:Maintenance:Accounts list

    I have removed users from WGM and they are still showing up in Server Admin. I've seen posts that said to use SirAdmin or cyradm from the command line to remove them, but when I use those, the users aren't listed. Only in SA are these users still listed. Any ideas?
    I've moved this mail server from a 10.3 machine to a 10.4 machine so this may be legacy issues. It seems that any users I've deleted since being on 10.4 have been removed from the list. It's just users who I had deleted while it was on 10.3 that are still showing up.

    Yes I did. I added a user to the admin line of imapd.conf and logged in as that user. When I try logging in to SirAdmin as another user I get an error and it won't even open a connection.

  • Starting file sharing at command line

    How does one start personal file sharing from the command line? I'd like to do this remotely. The command /usr/sbin/applefileserver does not work inspite of web posts to the contrary. Thanks.

    OK, I found something. On the Mac from which I want to export, ps -A doesn't show AppleFIleServer when it's started from the command line but does when started from the GUI. On a brand new Mac, on which I wanted to mount the share, the process shows up regardless of how its started. (I had turned off both firewalls when I did this so I may come back to this question....) Both systems are 10.4.4. Any ideas? Can I selectively reinstall this package and if so, how?
    The only thing in system.log is the call and no error:
    configd[29]: executing /usr/sbin/AppleFileServer
    BTW the sharing GUI does update the status of applefilesserver daemon although I seem to recall that controlling apache with the command apachectl doesn't update the Web Sharing GUI. anyway....
    Thanks for your help.

  • Passing command line unicode argument to Java code

    I have to pass command line argument which is Japanese to Java main method. If I type Unicode characters on command-line window, it displays '?????' which is OK, but the value passed to java program is also '?????'. How do I get the correct value of argument passed by the command window? Below is sample program which writes to a file the value supplied by command line argument.
    public static void main(String[] args) {
    String input = args[0];
    try {
    String filePath = "C:/Temp/abc.txt";
    File file = new File(filePath);
    OutputStream out = new FileOutputStream(file);
    byte buf[] = new byte[1024];
    int len;
    InputStream is = new ByteArrayInputStream(input.getBytes());
    while ((len = is.read(buf)) > 0) {
    out.write(buf, 0, len);
    out.close();
    is.close();
    } catch (Exception e) {
    e.printStackTrace();
    }

    To clarify a little:
    If the "command line" means a console opened from the operating system, then the problem is that your machine's operating system can't handle the Unicode characters you want (at least, not in the console mode). If you can't configure the machine to accept Unicode on the command line, you'll have to investigate some other means of passing the argument to your app, as the other poster mentioned.

  • Passing * as command line argument

    I need to take some arguments from cmd in my java program which need to be of this form:
    java myprogram 4574 10 *
    Everything else works fine but when it comes to the asterisk (*) it is replaced by the file list and the args[] in my program becomes
    4574
    10
    myprogram.class
    myprogram.java
    123.txt
    Now i know that instead of giving * if i give "*" the program would be fine.... but is there any way to pass only * (without quotes) in arguments and get the * character in my args array.

    Compiled with the free command-line Borland compiler and run from cmd:
    #include <stdio.h>
    void main(int argc,char *argv[]) {
    int i;
    for(i=0;i<argc;i++)
    printf("%d [%s]\r\n",i,argv);
    C:\temp\efemer34\xx>a *
    0 [C:\temp\efemer34\xx\a.exe]
    1 [*]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • CBTs on the RHCL command line

    I’m attempting to compile a number of RoboHelp 8 projects into .chm files as part of a nightly build process
    Is there a way to pass the Conditional Build Tags (CBT) as parameters to the RHCL.exe on the command line to product different products from the same sources?
    Currently the different output .chm files are being created manually using the RoboHelp UI.
    Is there some sort of configuration file or maybe I have to run a script to change the Document.Condition property?
    If so can I do that from the command line? A sample would be useful.
    The help on the RHCL command line is scant, to say the least!
    RodP42

    Have you checked the help? It says you can use the -l option to produce a particular layout. So provided it has been setup with the appropriate CBT statement, that would meet your need. Read about it here.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Is there a command line to do PDF optimizer?

    I want to use a command line to convert PDF version from 1.5 to 1.3.
    Thanks for your help
    Brew

    Adobe Reader doesn't have a PDF Optimizer.

  • Command Line Expert Needed: Deleted hostconfig (+ others) - boots to single user mode only !

    Mac OS X Tiger 10.4.11
    Deleted folders/files when logged in as root user. (don't ask!)
    On restart , wont boot up , get grey screen with white apple logo the black screen with command line: localhost:/ root#
    Started up from install cd - repaired permissions (ran twice) &amp; verified hard drive . All okay.
    Restarted but still goes back into command line with same localhost:/ root prompt
    Tried a bunch of different things as per advice on these boards - discovered that there is no hostconfig file.
    Restarted into verbose mode.
    Here are the lines that i think may reveal exactly what I messed up - and hopefully someone out there has an idea how I can try to fix without having to do an archive/install.
    BSM auditing present
    disabled
    rooting via boot-uuid from /chosen: (here a very long string of numbers and letters looks like a password)
    Then a long line about
    "got boot device = IOService:/MacRISC2PE ........."
    Then, the following
    "BSD root: disk0s3, major 14, minor 2"
    "CSRHIDTransitionDriver::stop"
    "IOBluetoothHCIController::start Idle Time Stopped"
    (AND HERE'S THE BIGGIE:)
    /etc/rc: line 93: /etc/hostconfig: No such file or directory
    Apr  1. 06:01:44 launched: /bin/sh on /etc/rc terminated abnormally, going into single user mode
    localhost:/ root#
    I'm pretty sure I messed thing up pretty well - was mainly network/server folders and files - definitely samba, which I think I deleted, and under "network" in the finder, I also might have deleted my computer from the server list
    As an aside in case this provides any insight, when I go to the terminal app when starting up from install cd, the prompt reads :
    "bash-2.05b"
    I'm also able to see the contents of my hard drive when using disk utility from install cd and and trying to "mount image" ---
    Everything looks intact in terms of folders/files in my user account, but in the /root folder, there's only /library - which is empty.
    Any help, insight, troubleshooting and even scolding - will be welcome! I need this thing booted
    Cheers

    I do not have a backup. Should I back up before I try doing a reinstall of the os x?
    That's also known as shutting the barn door after the horse has bolted.
    It can't hurt, but it's not going to help much.
    Camelot: when you say "apps and user content should stay intact" - doesn't sound very definitive. Are there any variables that come into play?
    No.. generally it's pretty reliable, but yours is an odd situation. I wouldn't expect to lose any user data, just CYA
    I do have a start up disk along with some apps that I created in retrospect many years ago ....(I think it's os x 10.2.8) Can I use this to boot up and then just navigate to my user files so I can get some things done that I need to?
    Unlikely. For one have you even tried restoring from your Retrospect backup? (it's not the most reliable system).
    Secondly, you can't boot from your Retrospect backup, so you'll need to restore that system to boot from it. Have you got a second disk to restore to (you do NOT want to restore 10.2.x over your 10.4.x system).
    in terms of "random deleted files" : not entirely random
    Ok, maybe not entire random, but it's also somewhat unknown. You need to have some idea of what files you're trying to restore, but if you haven't got them in a backup where are you going to get them from?
    You cannot just take old copies from your 10.2.x system and hope they'll work (in case that's what you're thinking).
    The BEST solution is to boot from the 10.4.x installer disk and let it do its thing.
    And for what its worth, Unauthorized access attempts, in and of themselves, are not a cause for concern since they were clearly caught by the OS. It's the access attempts that succeed (and are not logged) which are more of an issue.

Maybe you are looking for

  • Stock value at a particular date

    Hi, are there any reports for stock value (price S, V) in a particular date ? Regards

  • Downloading Adobe Acrobat 9 Pro

    I upgraded to a macbook air without a cd drive. I want to install my acrobat pro 9.  I have the serial number, etc. The download file for the mac is linked to an .exe windows file (Download Acrobat products | 9, 8)). Where can I get the right downloa

  • Output type FAX and Email

    Hi, I hace newly created email output type and it is working fine, that is mail is sent to the vendor with attachment. Issue is when the vendor is having fax number and also email id in his master data, Though I am using the email message type, outpu

  • Query memory consumption

    Hi, Need some expert in SQL here. May i know how much memory (RAM) consumption for a simple query like 'SELECT SUM(Balance) FROM OCRD' cost. What about query like select (select sum(doctotal) from ordr) + (select sum(doctotal) from odln) + (select su

  • Configure protocol with airport extreme base station

    Need powerbook g3 wireless internet compatible password. roamabout 802.11b cabletron card does not have wpa password option. There does not appear to be a compatible encryption type to use airport extreme base station with this card.