Wireless Access

Reply
Highlighted
Contributor II

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

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.


Accepted Solutions
Highlighted
Guru Elite

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

Try the ! character.


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.5 User Guide
InstantOS 8.5 User Guide
Airheads Knowledgebase
Airheads Video Knowledge Base
Remote Access Point Solution Guide
ArubaOS Consolidated Release Notes
ArubaOS 8 ViA VPN Solution Guide

View solution in original post

Highlighted
Contributor II

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

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. 

View solution in original post


All Replies
Highlighted
Guru Elite

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

Try the ! character.


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.5 User Guide
InstantOS 8.5 User Guide
Airheads Knowledgebase
Airheads Video Knowledge Base
Remote Access Point Solution Guide
ArubaOS Consolidated Release Notes
ArubaOS 8 ViA VPN Solution Guide

View solution in original post

Highlighted
Contributor II

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

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. 

View solution in original post

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: