Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- EX Series
- Example: Using Comments in Junos OS Operational Mode Commands
- J Series
- Example: Using Comments in Junos OS Operational Mode Commands
- M Series
- Example: Using Comments in Junos OS Operational Mode Commands
- MX Series
- Example: Using Comments in Junos OS Operational Mode Commands
- PTX Series
- Example: Using Comments in Junos OS Operational Mode Commands
- T Series
- Example: Using Comments in Junos OS Operational Mode Commands
Using the Junos OS CLI Comment Character # for Operational Mode Commands
The comment character in Junos OS enables you to copy operational mode commands that include comments from a file and paste them into the CLI. A pound sign (#) at the beginning of the command-line indicates a comment line. This is useful for describing frequently used operational mode commands; for example, a user’s work instructions on how to monitor the network. To add a comment to a command file, the first character of the line must be #. When you start a command with #, the rest of the line is disregarded by Junos OS.
To add comments in operational mode, start with a # and end with a new line (carriage return):
user@host> # comment-string
comment-string is the text of the comment. The comment text can be any length, but each comment line must begin with a #.
Related Documentation
- EX Series
- Example: Using Comments in Junos OS Operational Mode Commands
- J Series
- Example: Using Comments in Junos OS Operational Mode Commands
- M Series
- Example: Using Comments in Junos OS Operational Mode Commands
- MX Series
- Example: Using Comments in Junos OS Operational Mode Commands
- PTX Series
- Example: Using Comments in Junos OS Operational Mode Commands
- T Series
- Example: Using Comments in Junos OS Operational Mode Commands