SRX Services Gateway
Highlighted
SRX Services Gateway

Code notes, cli, jweb, syntax, how?

‎08-27-2018 08:37 AM
Much like Java, or even Java script, and others like c++, etc, etc, there is a way to place notes after or before lines of code. How is this done in the jweb interface? Im sure there is a topic and documentation but I can't find it. What is the syntax? Header/footer, end of line, beggining of line, etc, etc ?
4 REPLIES 4
Highlighted
SRX Services Gateway

Re: Code notes, cli, jweb, syntax, how?

‎08-27-2018 09:15 AM

You can add comments to policies via JWEB.  Other than this, you can add comments via CLI only (which can be done with the CLI editor via JWEB).  The syntax is a # (https://www.juniper.net/documentation/en_US/junos/topics/concept/junos-cli-comment-character-usage-o...)

Highlighted
SRX Services Gateway
Solution
Accepted by topic author eugene1973
‎08-28-2018 07:26 AM

Re: Code notes, cli, jweb, syntax, how?

‎08-27-2018 12:56 PM
Highlighted
SRX Services Gateway

Re: Code notes, cli, jweb, syntax, how?

‎08-27-2018 12:56 PM
I wonder if there are more operators than just # . Can they be used like quotes? Are they only capable of opening the comment string? Any added comments would be greatly appreciated.
Highlighted
SRX Services Gateway

Re: Code notes, cli, jweb, syntax, how?

‎08-28-2018 07:29 AM
This post actually recieved two answers. Thx for the replies. Kudos!!!!
Feedback