Comment a CLI config file

Hi,
Could someone confirm if there is an equivalency of the router's exclamation mark on WLC CLI to put comments on a config file?
Thanks a lot in advance.
    Marc

There is not an option to put comments on the configu file of the WLC's.
Thanks,
Scott
Help out other by using the rating system and marking answered questions as "Answered"

Similar Messages

  • [svn:bz-trunk] 21260: Update the qa-frameworks. zip to remove all comments from the base xml when merging config files.

    Revision: 21260
    Revision: 21260
    Author:   [email protected]
    Date:     2011-05-16 07:46:54 -0700 (Mon, 16 May 2011)
    Log Message:
    Update the qa-frameworks.zip to remove all comments from the base xml when merging config files.
    Modified Paths:
        blazeds/trunk/qa/resources/frameworks/qa-frameworks.zip

    Try options=('!makeflags') in PKGBUILD.

  • LV 8.2 Config File with Enum bug

    Please refer to attachment.
    Set the Enum and run the VI. The Enum is converted into string and then saved into a config file.
    The file is immediately read and the key is converted back to enum.
    It works fine until you choose index 32 in the enum. Either the Write Key or the Read Key fails to encode/decode enum index 32 correctly.
    Regards,
    Johan
    Attachments:
    ConfigFileBug.vi ‏20 KB

    Hi Tikus,
    you try to save a space. deep inside the config files spaces at the end (or beginning) of the line are removed. Perhaps you should save the space as as a " " (inside quotes)
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • [SOLVED] Pacman "config file could not be read" error during Arch ins

    I've been attempting to get Arch setup for a while now, and after having some trouble with partitions, my wireless connecting, and setting up repos and mirrors, which the Wiki helped me solve, I've hit a bigger bump.  While updating the system using pacman as the Beginners Guide says to do, I get errors when I try to continue the update process as follows :
    btw: I'm typing this on a laptop next to my computer
    [root@McArch~]# pacman -Syu
    error: config file /etc/pacman.d/core could not be read
    error: config file /etc/pacman.d/extra could not be read
    error: config file /etc/pacman.d/community could not be read
    :: Synchronizing package databases . . .
    error: failed to updated core (unexpected error)
    error: failed to updated extra (unexpected error)
    error: failed to updated community (unexpected error)
    error: failed to synchronize any databases
    Any tips as to whats going on?  I've tried to created said files, and even insert mirrors into the file, like in the /etc/pacman.d/mirrorlist file but this doesn't seem to help
    Last edited by Windfinder (2008-09-29 20:43:29)

    Glad you got it working.
    I'm not sure what happened in your install but I just finished using an old 2007.08 iso and pacman first starts out with /etc/pacman.d/core, etc/pacman.d/extra, /etc/pacman.d/community ... etc., but I never had your problem when I did the #pacman -Syu after initial install reboot.  The pacman update removes the above mentioned repos and replaces them with a single /etc/pacman.d/mirrorlist.  You must have messed up an initial config file somehow as I couldn't get the same errors you got.  It looks like you had your /etc/pacman.conf file messed up somehow and when you pointed it to the mirrorlist it could finally work properly.  I'll just include my /etc/pacman.conf file and /etc/pacman.d/mirrorlist so you can compare.  NB*  these are from my x86_64 so for 32 bit machines i686 would replace x86_64 in the files.
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl %u > %o
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #NoPassiveFtp
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # Testing is disabled by default. To enable, uncomment the following
    # two lines. You can add preferred servers immediately after the header,
    # and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [extra]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    [community]
    # Add your preferred servers here, they will be used first
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    /etc/pacman.d/mirrorlist
    # Arch Linux repository mirrorlist
    # North America
    # - United States
    Server = http://mirror.neotuli.net/arch/$repo/os/x86_64
    Server = http://holmes.umflint.edu/archlinux/$repo/os/x86_64
    Server = http://archlinux.unixheads.org/$repo/os/x86_64
    Server = ftp://ftp.archlinux.org/$repo/os/x86_64
    Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/x86_64
    Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/x86_64
    Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64
    Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/x86_64
    Server = http://mirror.rit.edu/archlinux/$repo/os/x86_64
    Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
    # - Canada
    Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/@carch
    Well it was an interesting way to kill 30+ minutes.

  • Using Bash script to edit config file

    This is a really simple question, but given that I'm just learning Bash scripting and having this solved now would be really illustrative for me, I would really thank some help here.
    I'm using uzbl, and running Tor+Polipo. So, as you will see below in the tail of the config file, there is a line to redirect the requests of uzbl through Polipo.
    # === Post-load misc commands ================================================
    sync_spawn_exec @scripts_dir/load_cookies.sh
    sync_spawn_exec @scripts_dir/load_cookies.sh @data_home/uzbl/session-cookies.txt
    # Set the "home" page.
    #set uri = https://duckduckgo.com
    # Local polipo proxy
    set proxy_url = http://127.0.0.1:8123
    # vim: set fdm=syntax:
    What I want to accomplish is to comment in/out that line with a key shortcut on Awesome. I've thought of doing 2 scripts to do so and using 2 differente key shortcuts, but I want to "toggle" the proxy redirection with only 1 shortcut. To do so, I suppose that the script should go something like:
    if
    tool 'set proxy_url = http://127.0.0.1:8123' config_file
    then
    tool '#set proxy_url = http://127.0.0.1:8123' config_file
    else
    if
    tool '#set proxy_url = http://127.0.0.1:8123' config_file
    then
    tool 'set proxy_url = http://127.0.0.1:8123' config_file
    fi
    fi
    I know little about sed, but I think is the tool for this job. The most intriging part to me is to ask sed to print the regular expression when it finds it in the config file, and use that as an input in the conditional statement.
    Well, this is a mess I have done here. Hope there is a simple answer to this.
    Thanks in advance.-

    You can do this with a single sed command:
    sed -i 's/^#set proxy_url/set proxy_url/;
    t end;
    s/^set proxy_url/#set proxy_url/;
    : end' config_file
    This edits the file in-place (-i) and first tries to replace the commented with the uncommented line. If that suceeds, sed jumps to the "end" label. If not, it tries to replace the uncommented with the commented line. Thus you don't have to include any logic about the current state: if the first substitution succeeds, the line was obviously commented, if not, it was uncommented, and the second substitution should succeed.
    Note that my knowledge of sed is very limited. There might be a simpler way to do this.
    EDIT: For the sake of example, here's how to do the same in bash using regular expressions. Note how this script needs to use a temporary file to simulate in-place editing, how it needs to process the file line by line manually, etc. All things that sed does out of the box...
    #!/bin/bash
    tmp=test.conf.tmp
    echo -n "" > "$tmp"
    while read line; do
    if [[ "$line" =~ ^#set\ proxy ]]; then
    echo "${line/\#/}" >> "$tmp"
    elif [[ "$line" =~ ^set\ proxy ]]; then
    echo "#$line" >> "$tmp"
    else
    echo "$line" >> "$tmp"
    fi
    done < test.conf
    mv test.conf.tmp test.conf
    To answer your original question, the line
    if [[ "$line" =~ ^#set\ proxy ]]; then
    reads: if the line begins with a "#", followed by "set proxy", then...
    Last edited by hbekel (2011-03-20 10:40:16)

  • Problem with mapping parameter when specified through an XML config file

    I have decided to attept to stipulate UDT mapping parameters from C# to Oracle in the AppConfig File.
    The original code (which worked) was as follows:
    namespace RoyalLondon.Processes.Oracle.Dto
    [OracleCustomTypeMappingAttribute("TEST_SCHEMA.T_PROJECT_CODE_CHANGES")]
    class ProjectCodeChangeTableFactory : TableFactoryTemplate<ProjectCodeChangeTableDTO>
    So, I've commented out the [OracleCustomTypeMappingAttribute line and added the following into the config file:
    <oracle.dataaccess.client>
        <settings>
          <add name="ProjectCodeChangeTableDTO"
           value="udtMapping factoryName='RoyalLondon.Processes.Oracle.Dto.ProjectCodeChangeTableFactory, RoyalLondon.Processes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
                             typeName='T_PROJECT_CODE_CHANGES'
                             schemaName='TEST_CON_DEV'"/>
        </settings>
    </oracle.dataaccess.client>
    This yields the following error message:
    Unhandled Exception: System.InvalidOperationException: Custom type mapping for ' RoyalLondon.Processes.Oracle.Dto.ProjectCodeChangeTableDTO' is not specified or is invalid.
    All the documentation I have read suggest that this ought to be ok. Is there anything obvious I am missing?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    ummm, nevermind.
    Turns out I hadn't updated the list of files that went in my servlet's jar file. I was recompiling the jar file successfully each time, but the list of files being included needed to contain a new class. This was a really stupid mistake on my part.
    Just one of those things that I was bound to solve as soon as I broke down and posted something on the web. Sort of like taking your umbrella with you to ensure that it won't rain.
    If anyone is reading this I am sorry I wasted your time.
    Jon

  • [SOLVED] Parsing simple config files in pure bash

    Hi everyone,
    I'd like to implement a bash function to parse a simple config file for a script I've wrote. The conifg file contains different sections for different scenarios. Here's an example how it should look like:
    # configuration file
    # global settings
    global {
    DATE_PREFIX="-I"
    SSHFS_OPTS="-C"
    EXT_FULL="full"
    EXT_DIFF="diff"
    EXT_CATALOGUE="catalogue"
    DAR_OPTS="-v -m 256 -y -s 600M -D"
    DAR_NOCOMPR="-Z '*.gz' -Z '*.bz2' -Z '*.zip' -Z '*.png'"
    # system settings
    system {
    DAR_OPTS="-v -m 256 -y -s 200M -D"
    It contains some settings which are global for the whole script and special settings groups which can be used to overwrite global settings.
    The function to parse this config file looks as follows:
    #!/bin/sh
    CONFIG="/home/chi/.daruprc"
    function readconf() {
    match=0
    while read line; do
    # skip comments
    [[ ${line:0:1} == "#" ]] && continue
    # still no match? lets check again
    if [ $match == 0 ]; then
    # do we have an open tag ?
    if [[ ${line:$((${#line}-1))} == "{" ]]; then
    # strip "{"
    group=${line:0:$((${#line}-1))}
    # do we have a match ?
    if [[ ${group} -eq $1 ]]; then
    match=1
    continue
    fi
    continue
    fi
    # found close tag but still no match - continue
    elif [[ ${line:0} == "}" && $match == 0 ]]; then
    continue
    # found close tag after config was read - exit loop
    elif [[ ${line:0} == "}" && $match == 1 ]]; then
    break
    # got a config line return it
    else
    echo $line
    fi
    done < "$CONFIG"
    for line in $(readconf "system"); do
    echo $line
    done
    As you can see I try to just echo the lines at the moment. And here's the problem: It seems I have some " escape issues, if I run it I get the following output:
    ./parseconfig.sh
    DATE_PREFIX="-I"
    SSHFS_OPTS="-C"
    EXT_FULL="full"
    EXT_DIFF="diff"
    EXT_CATALOGUE="catalogue"
    DAR_OPTS="-v
    -m
    256
    -y
    -s
    600M
    -D"
    DAR_NOCOMPR="-Z
    '*.gz'
    -Z
    '*.bz2'
    -Z
    '*.zip'
    -Z
    '*.png'"
    As you can see there are way to much newlines - which leads to problems when I try to use "eval" to initialize the variables.
    I am sure I am missing something simple here, however I am looking for a solution for a few days now - maybe one of the bash gurus on this board can enlighten me ;-).
    Thanks in advance
    PS.: I am trying to do this in pure bash because the script also needs to run on embedded machines with very low memory like my router on which I don't have sed or awk or the like. I also know that I could for example just use different config files to circumvent the whole parsing - but I am just curious if this could work the way I like ;-).
    Last edited by chimeric (2007-11-04 23:20:58)

    chimeric wrote:
    Hi MrWeatherbee,
    well yes, but I want to assign (eval) these lines to get variables out of them. Since the while loop is trapped in its' own subshell I need to return the lines into the parent one to be able to make these variables "visible" in the script itself.
    Right. But I was trying to show you that the way you were going about it wouldn't work at a very fundamental level.
    Without changing too much code just for a quick and dirty demo,
    change:
    # got a config line return it
    else
    echo $line
    fi
    done < "$CONFIG"
    # got a config line return it
    else
    line_array=( "${line_array[@]}" "$line" )
    fi
    done < "$CONFIG"
    numarrayelements=${#line_array[@]}
    and then in the main program code, do this:
    readconf "system"
    for index in $( seq $numarrayelements ); do
    line=${line_array[(($index-1))]}
    echo $line
    done
    Using an array to collect the good lines from the function allows you to reuse them later for whatever purpose. Although other ways exist, you certainly don't want to do what you originally did.
    Edit:
    I posted the code with an incorrectly referenced variable and had to fix it.
    Last edited by MrWeatherbee (2007-11-04 22:46:34)

  • Using JNDI to access config file located outsite j2ee app

    Hi I'm wanting to store a config file for my J2ee app, somewhere on a tomcat server possibly inside the
    conf/ directory so that I can update this config file without having to redeploy the j2ee app every time a change is made.
    I've been told I can use JNDI to access this file, but I can't seem to find any examples or documentation on how I can do this.
    I'm new to JNDI and would appreciate any help, or suggestions.
    Thanks,
    Tim
    EDIT:
    So far I can access the file with this code:
    Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.fscontext.RefFSContextFactory");
              try {
                   Context ctx = new InitialContext(prop);
                   // look up context for name
                   //env.put(Context.PROVIDER_URL, "file:C:\\confluence\\confluence-2.5.1-std\\conf");
                   File f = (File)ctx.lookup("/confluence/confluence-2.5.1-std/conf/test.txt");My new problems are:
    1. The commented line env.put(Context.PROVIDER_URL, "file:C:\\confluence\\confluence-2.5.1-std\\conf"); it says in examples that this should set the dir to look in to the conf dir but if i change the lookup value to just test.txt it cannot find it.
    2. Can I somehow set the context to look into the conf directory of Tomcat without hard coding the path, as the path could change or be different on different machines??
    Edited by: Timothyja on Jan 15, 2008 7:00 PM

    Hi Kiran,
    Looking at the code you sent and the error, it looks like you should be casting the ds object to a javax.sql.DataSource object not a weblogic.jdbc.common.internal.RmiDataSource object.
    You may find some useful info at the following URL:
    http://edocs.bea.com/wls/docs81/jdbc/rmidriver.html#1026007

  • Startup class cannot find a config file.

    I have written a startup class to configure log4j in Weblogic.
    The class runs but cannot find the configuration file. The
    code for the startup class is as follows....
    package com.n2bb.ams.common.util;
    import java.io.FileInputStream;
    import java.io.File;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Properties;
    import com.n2bb.ams.common.util.FileLocator;
    import org.apache.log4j.xml.DOMConfigurator;
    * Insert the type's description here.
    * Creation date: (12/5/00 11:12:13 AM)
    * @author: Administrator
    public class ApplicationStartUp implements weblogic.common.T3StartupDef {
         * ApplicationStartUp constructor comment.
         public ApplicationStartUp() {
              super();
         * setServices method comment.
         public void setServices(weblogic.common.T3ServicesDef arg1) {
         * startup method comment.
         public String startup(String arg1, java.util.Hashtable arg2) throws Exception {
              String resource = null;
              try {
                   resource = (String) arg2.get("configFileName");
                   System.out.println("ConfigFileName: " + resource);
                   URL configFileResource = ApplicationStartUp.class.getResource(resource);
                   System.out.println("configFileResource: " + configFileResource.toString());
                   String file = configFileResource.getFile();     
                   DOMConfigurator.configure(file);
                   return "Log4j configuration initialized completed.";          
              } catch (Exception e) {
                   System.out.println("Cannot open config file: " + resource);
                   return "Log4j configuration failed to initialized.";
    The section of the config.xml the calls my startup class looks
    like....
    <StartupClass
    Arguments="configFileName=/bea/user_projects/mydomain/log4j-config.xml"
    ClassName="com.n2bb.ams.common.util.ApplicationStartUp"
    Name="AMS Startup Class" Targets="myserver"/>
    I have tested the code in a standalone class and it works fine.
    Why can't I find the log4j-config.xml file? Any help would be
    greatly appreciated.

    Wow, your system must have a long history of having picked up assorted bad stuff ...
    You have CleanMyMac2, which should definitely be removed.
    You have other stuff (MacCleanse, for example) that I don't have first-hand knowledge about but should very likely be removed.
    You are using Google Chrome which is a resource hog.
    Further, your Adobe Flash player is not current.
    If I had all these issues, I would do a clean install of Yosemite and only reintroduce the essential stuff.
    You can search for the .plist files by opening finder, holding down the Option key, and doing Go > Library from Finder's menu and then searching for the file(s).

  • Essbase config file

    Hi All:
    I am new to an Essbase environment. One thing I noticed in EAS is that some of configuration seems to be commented out unintentionally. Here is the config file:
    ; The following entry specifies the full path to JVM.DLL
    ; JvmModuleLocation $J(EPM_ORACLE_HOME)\..\jdk160_29\jre\bin\server\jvm.dll
    BPM_Oracle_DriverDescriptor "DataDirect 6.1 Oracle Wire Protocol"
    BPM_DB2_DriverDescriptor "DataDirect 6.1 DB2 Wire Protocol"
    BPM_SQLServer_DriverDescriptor "DataDirect 6.1 SQL Server Native Wire Protocol"
    ;BPM_SQLServer_DriverDescriptor "SQL Server"
    ;BPM_Netezza_DriverDescriptor "NetezzaSQL"
    BPM_Teradata_DriverDescriptor "Teradata"
    ;BPM_ORACLEBI_DriverDescriptor "Oracle BI Server 11g_OHXXXX"
    ;BPM_ORACLEBI_DriverDescriptor "Oracle BI Server"
    BPM_MySQL_DriverDescriptor "DataDirect 6.1 MySQL Wire Protocol
    JvmModuleLocation D:\Oracle\Middleware\jdk160_29\jre\bin\server\jvm.dll
    AuthenticationModule CSS
    AGENTPORT 1423
    SERVERPORTBEGIN 32768
    SERVERPORTEND 33768
    AGENTDESC hypservice
    CALCCACHEHIGH 2000000
    CALCCACHEDEFAULT 600000
    CALCCACHELOW 400000
    CALCLOCKBLOCKHIGH 1500
    CALCLOCKBLOCKDEFAULT 1500
    CALCLOCKBLOCKLOW 100
    UPDATECALC FALSE
    CALCPARALLEL 16
    DYNCALCCACHEMAXSIZE 2G
    SILENTOTLQUERY FALSE
    SSLOGUNKNOWN FALSE
    DATAERRORLIMIT 65000
    DLSINGLETHREADPERSTAGE FALSE
    DLTHREADSWRITE 12
    DLTHREADSPREPARE 12
    I think someone forgot to unquote "DataDirect 6.1 MySQL Wire Protocol and render the rest of the configuration setting useless. My coworker seems to disagree. Is it matter to add the double quote after Protocol?
    Thanks

    Yes just add the quote and restart essbase, it should be
    BPM_MySQL_DriverDescriptor "DataDirect 6.1 MySQL Wire Protocol"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • VSH may not load properly - Error message in config file

    Hi again,
    I use the following eem script to copy the running config to a tftp-server:
    event manager applet SAVE_CONFIG_TFTP  event cli match "copy running-config startup-config"  action 1.0 cli copy running-config tftp://1.2.3.4/SWITCHNAME-eem.cfg vrf management  action 2.0 event-default
    When I open the config file on the tftp-server with an editior I see the following error message on top of the configuration:
    SH may not load properly. (Not enough memory resource)Please check rlimit of your process.Errno: 1; Error string: Operation not permittedTYPE : 3new softlimit bf8c45e8 hardlimit bf8c45ecold softlimit f4240 hardlimit f4240!Command: show running-config!Time: Fri Apr 26 11:21:12 2013version 6.1(3)feature-set fexfeature-set mpls[...]
    Besides this message I have not yet seen any negative impact. I googled for the error message and found a Cisco bug CSCsr06310 which should have been fixed in NX-OS 4.0(4)
    Anyone an idea what this is about? Is there anything I can do about it?
    Regards
    Pille

    Hi Joseph,
    to be honest the negative impact of this error is not big enough to justifiy the effort of opening a TAC case. Thanks for your answer anyway.
    Regards Pille

  • Common strategy to read a config file???

    Hi..
    I'm a new java programer, in reality i program SERVLETs, JSP ,etc,ec (WEB).
    I need a program to do a realy specific work, this program work fine, but now i need read
    a config file , my question is if exists strategy's about this problem in JAVA;
    I need comments about this, "strategy" or "ideas" to work in this case!!!
    thank's to all ..

    thank's to all.
    Simple solution:
    public static String config(String propertie){
    Properties props = new Properties();
    try{
    props.load(new FileInputStream(new File("config.cfg")));
    } catch ( IOException e){
    e.printStackTrace();
    return props.getProperty(propertie);
    }

  • Problem with write key VIs (config-file)

    Hi
    My problem is this: when I use the write key VIs to write to an ini-file, the values are not written/updated in the ini-file. Does
    anybody has a solution???
    thank YOU!!!
    Attachments:
    writetest.vi ‏32 KB

    astroboy wrote:
    Hi Dennis, writing key updates or add lines, but the problem is that it also causes all lines to be clumped together, making it unreadable.
    What's the better way?
    Clement
    I was complaining about the poor formatting of the .ini files myself a couple years ago in this thread. http://forums.ni.com/ni/board/message?board.id=170&message.id=273552
    I found the offending piece of code was buried pretty deep in the Config File VI hierarchy.
    One idea is to go back after the file is written and find where all the section headers are and insert your own blank lines.
    Also look at this thread http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=408776
    You may also want to add kudoes to the config file idea in the Idea board.  http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Comments-in-configuration-file-ini/idi-p/927874#A614 
    Message Edited by Ravens Fan on 09-17-2009 10:29 PM

  • Loading config file does not remove prior configuration?

    After factory defaulting the Cisco 2504 WLC, I go to through the wizard for initial config then log into the web interface and download my 'full' config file to the controller. After the reboot I upload the config file to my PC and compare it to the original file, but it does not  match.
    Any ideas what could be causing this?

    Follow these guidelines when working with configuration files:
     Any CLI with an invalid value is filtered out and set to default by the XML validation engine. Validation occurs during bootup. A configuration may be rejected if the validation fails. A configuration may fail if you have an invalid CLI. For example, if you have a CLI where you try to configure a WLAN without adding appropriate commands to add the WLAN.
     A configuration may be rejected if the dependencies are not addressed. For example, if you try to configure dependent parameters without using the add command. The XML validation may succeed but the configuration download infrastructure will immediately reject the configuration with no validation errors.
     An invalid configuration can be verified by using the show invalid-config command. The show invalid-config command reports the configuration that is rejected by the controller either as part of download process or by XML validation infrastructure.

  • GUI v CLI config and WDS question

    Hello-
    I am attempting to deploy a wireless network. I have purchased two 1242Gs and one 1310G WAPs. My goal is to have a WPA V1 protected network utilizing WDS to allow seemless roaming at the location, with a second SSID for guest access that is directed to the gateway. It would be nice if this had a WPA pw also. The 1310 is external to the building where the other two 1242s are. I have attached configuration examples for each. One of my problems is I have to allow support for a legacy Crestron TPMC-10 media controller which is very picky about how its WiFi radio works. Crestron recommends these config lines:
    guest-mode
    mbssid dtim-period 10
    speed basic-1.0 2.0 5.5 6.0 9.0 11.0 12.0 18.0 24.0 36.0 48.0 54.0
    no preamble-short ! CE devices only support Long Preamble
    channel 2462 ! channel 1,6 0r 11 only |
    station-role root ! only one AP may host the SSID intended for TPMC-10
    connectivity.
    beacon dtim-period 3
    no dot11 qos mode ! QOS negatively effects CE connectivity
    no dot11 extension AIRONET ! AIRONET extensions negatively effects CE
    connectivity
    http://support.crestron.com/cgi-bin/crestron.cfg/php/enduser/std_adp.php?p_faqid=3826&p_created=1146514905&p_sid=KHEUTLVi&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTgsMTgmcF9wcm9kcz0wJnBfY2F0cz0wJnBfcHY9JnBfY3Y9JnBfc2VhcmNoX3R5cGU9YW5zd2Vycy5zZWFyY2hfZm5sJnBfcGFnZT0xJnBfc2VhcmNoX3RleHQ9Q2lzY28gV1BB&p_li=&p_topview=1
    I have read that using the GUI versus the CLI will leave artifacts and other commands not required for operation. Wondering on other's opinions of this and also any recommendations on how to simplify the config files.
    I have attempted to create config files using the CLI examples provided by Crestron but that tends only allow the Crestron to connect and not laptops.
    Any ideas/suggestions are appreciated.

    One wireless router can allow multiple devices to connect to the Internet this is the fundamental behind the Wi-Fi. The following URL will help you:
    http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_configuration_example09186a00801c951f.shtml
    http://www.cisco.com/en/US/products/hw/routers/ps272/products_configuration_guide_chapter09186a008022b1eb.html

Maybe you are looking for