Wireless Access

last person joined: yesterday 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Aruba 8.2 Code and no "#" (Ignore Line Character)

This thread has been viewed 0 times
  • 1.  Aruba 8.2 Code and no "#" (Ignore Line Character)

    Posted Jun 11, 2019 06:38 AM

    This is a simple question.  With 6 code when writing simple scripts (just a list of commands) I would insert notes with the "#" sign as the leading character and when doing a paste the operating system would ignore that line.  Example in the middle of my tunnel script, I have this for 6.5:

     

    # crypto-local pki OCSPResponderCert ocsp ocsp.cer
    # crypto-local pki rcp "cacert_ec"
    # ocsp-url "http://0.0.0.0/ocsp"
    # ocsp-responder-cert "ocsp"
    # server-unreachable revoke-cert
    # revocation-check ocsp
    # exit

     

    An engineer could cut and paste right though this.  For version eight we cut and paste around it.  Is there a like solution for 8.2?  Thanks.



  • 2.  RE: Aruba 8.2 Code and no "#" (Ignore Line Character)
    Best Answer

    EMPLOYEE
    Posted Jun 11, 2019 07:22 AM

    Try the ! character.



  • 3.  RE: Aruba 8.2 Code and no "#" (Ignore Line Character)
    Best Answer

    Posted Jun 11, 2019 07:25 AM

    That works, but with a space after it:

     

    (szor) ^[mm] (config) #! Have a happy Day
    (szor) ^[mm] (config) #!Have a happy Day
                                                              ^
    Invalid input detected at '^' marker.

     

    Thanks.  That helps more than you can say.  I had tried a "!" but didn't try it with a space after.