Junos OS

last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  How write annotate in several lines

    Posted 09-29-2010 06:46

    Could you prompt me about annotate command, please.

    Is it possible to write comments in Junos in this way:

     

    /* this interface

    connected

    to

    the swicth

    on 2-nd floor */

     

    If yes, tell me how.

     

    Thanks,



  • 2.  RE: How write annotate in several lines
    Best Answer

    Posted 09-29-2010 11:39

    Yes.  use "\n" to insert a newline character. Example:

     

    [edit interfaces]
    user@router# annotate lo0 "line1.\nline2."

    Result:

    interfaces {
        /* line1.
        line2. */
        lo0 {

     

     



  • 3.  RE: How write annotate in several lines

    Posted 09-29-2010 23:11

    Thank you.



  • 4.  RE: How write annotate in several lines

    Posted 11-07-2010 11:21

    What is the maximum no. of lines & no. of charecters in a line is possible in annotation???