Controllerless Networks

 View Only
last person joined: 2 days ago 

Instant Mode - the controllerless Wi-Fi solution that's easy to set up, is loaded with security and smarts, and won't break your budget
Expand all | Collapse all

adding commands to a 515 cluster via CLI...do I need the "exit" commands between sections?

This thread has been viewed 11 times
  • 1.  adding commands to a 515 cluster via CLI...do I need the "exit" commands between sections?

    Posted Apr 27, 2022 11:30 AM

    Hi,

    I have a number of commands that I need to insert into a number of 515 clusters, running 8.6.0.11.

    The commands look like this:

    wlan auth-server MYAUTHSERVER
        ip 10.25.9.20
        port 1812
        acctport 1813
        timeout 10
        key 41025146bfd523a420b45552619bf5
        rfc3576
        cppm-rfc3576-port 3799
    wlan auth-server MYOTHERAUTHSERVER
        ip 10.25.1.20
        port 1812
        acctport 1813
    ...
    etc...
    If I want to apply this to a number of IAPs using CLI, I need to insert "exit" commands before the next wlan auth-server (or any other) section.

    Is there a way to paste into CLI configure t mode that respects the indents for each section? If I import this config snippet via the GUI, then it will be OK. But the CLI needs the exits.

    Thanks,
    Ambi



    ------------------------------
    Ambidexter
    ------------------------------


  • 2.  RE: adding commands to a 515 cluster via CLI...do I need the "exit" commands between sections?

    Posted May 04, 2022 07:38 AM
    Yes, Exit is required. I did have to bring your commands into Notepad and remove padding before the exits. Once removed it pasted without issue. 

    IAP-6x-205H-Standalone (config) #
    IAP-6x-205H-Standalone (config) # wlan auth-server MYAUTHSERVER
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # ip 10.25.9.20
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # port 1812
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # acctport 1813
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # timeout 10
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # key 41025146bfd523a420b45552619bf5
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # rfc3576
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # cppm-rfc3576-port 3799
    IAP-6x-205H-Standalone (Auth Server "MYAUTHSERVER") # exit
    IAP-6x-205H-Standalone (config) # wlan auth-server MYOTHERAUTHSERVER
    IAP-6x-205H-Standalone (Auth Server "MYOTHERAUTHSERVER") # ip 10.25.1.20
    IAP-6x-205H-Standalone (Auth Server "MYOTHERAUTHSERVER") # port 1812
    IAP-6x-205H-Standalone (Auth Server "MYOTHERAUTHSERVER") # acctport 1813
    IAP-6x-205H-Standalone (Auth Server "MYOTHERAUTHSERVER") # exit
    IAP-6x-205H-Standalone (config) #
    IAP-6x-205H-Standalone (config) #

    ------------------------------
    Philip Wightman, ACEX (AMFX) #69. Aruba Partner Ambassador
    ------------------------------