Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  How to remove annotation

    Posted 02-01-2023 16:52
    Hi,
    I used the annotate command in the wrong location. How do I remove it? I don't want to use the rollback method because I have other commands that were committed at the same time and need to retain them. I added the annotation between system and chassis and I don't want it there.

    system {
     blah blah
    }
    /* Mistake annotation */
    chassis {
     blah blah
    }

    Thank you

    ------------------------------
    COURTNEY KIBBE
    ------------------------------


  • 2.  RE: How to remove annotation
    Best Answer

    Posted 02-02-2023 03:05
    annotate chassis ""

    ------------------------------
    Olivier Benghozi
    ------------------------------



  • 3.  RE: How to remove annotation

    Posted 02-02-2023 10:53
    This worked. Thanks.

    ------------------------------
    COURTNEY KIBBE
    ------------------------------



  • 4.  RE: How to remove annotation

     
    Posted 02-02-2023 09:32
    Hello,

    You can try as below:

    1. Go to the config stanza
    edit system blah blah
    2. Replace the keyword:
    replace pattern <> with <>

    top 
    show | compare ( check if only that has changed) 

    Regards,
    Brijil

    ------------------------------
    Brijil R
    ------------------------------