ExtremeWireless (Identifi)

Expand all | Collapse all

WLAN AP: Defining AP-Name within CLI Prompt

Steve Ballantyne

Steve Ballantyne04-19-2017 12:43

  • 1.  WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 12:06
    Because i am working for deeper troubleshooting directly on AP CLI, I am looking for a way how to see/set the AP-Name within CLI Prompt.

    (Working with IdentiFi WLAN)

    Here my solution (with help of my collegue):
    [/code]PS1="'grep -i apname /home/config/current.cfg | cut -b 13-' # "[/code]To make it persistant after reboot (but maybe not after update):
    echo 'PS1="'grep -i apname /home/config/current.cfg | cut -b 13-' # "' >> ~/.profile
    [/code]
    Hopefully anybody else needs this too!

    Regards


  • 2.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 12:43
    Impressive hack!


  • 3.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:39
    Mathias, what AP models does the above apply to?


  • 4.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 07-31-2017 12:36
    Just to close off this thread, this feature has been added to 10.31.04 which is available for download now.

    Knowledge article updated: https://gtacknowledge.extremenetworks.com/articles/How_To/Defining-AP-Name-within-CLI-Prompt

    -Gareth


  • 5.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 08-02-2017 22:41
    This was a great little hack Matthias. Glad to see it made it's way into the product release chain.


  • 6.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    I have created a KB article based on your findings Mathias.

    Public KB Link: Defining AP-Name within CLI Prompt


  • 7.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:39
    I test with an AP3715e - but i am sure this will work with all IdentiFi APs.


  • 8.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:39
    I just tested this with a 3825i and it worked just dandy.


  • 9.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    Thanks for creating this KB Article ...

    Is it possible to push my FR 1307523, that it will be available for all customers without doing it manually ?

    Regards


  • 10.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    Matthias,
    98% our customer never use the AP-shell,
    we understand that request is nice and we will look to it.
    at the end, the AP name can be seen in the config or the cmd,

    # cget config |grep apName
    apName Berlin-Demo_AP_3825i
    #

    so the prio from that FR will stay as standard prio.

    grüße
    Bastian
    -



  • 11.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    It's easy to get a CR thru...

    There is only one question asked... how much more X will you sell with this function.
    Correct answer: hardware for 100 Million Euros
    Result: CR approved :-)

    You have my vote for the CR - I think it's a great improvement.

    BTW, I've tried reboot, factory reset, rename the AP via GUI and the "improved" AP CLI command prompt still worked.

    Great work !!!!

    Cheers,
    Ron


  • 12.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    I hope the CR get's a higher prio on the list if 2 Extreme Embassadors support the idea.


  • 13.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    I certainly like it.


  • 14.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    OK so we've 42.85% of the Embassadors who support the idea 🙂


  • 15.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    I like the idea of showing the AP name in the prompt as well.

    This can be easily implemented by Extreme in the /etc/profile file and the commands from the first post.

    Overriding the system default for the prompt (which is fallback to Busybox default of unset PS1) using $HOME/.profile is appropriate for customer (or partner) implemented configuration changes on the AP.


  • 16.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    Hi Robert,

    could you add a link to this thread to the GTAC Knowledge article?

    Thanks,
    Erik


  • 17.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 04-19-2017 13:49
    Eric,
    Link to the GTAC KB to this thread has been added.


  • 18.  RE: WLAN AP: Defining AP-Name within CLI Prompt

    Posted 07-31-2017 12:36
    Thanks a lot that this are now part of the solution and useable for all customers.

    Regards,
    Matthias