Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.

JNCIE-ENT VMX On-Box Scripting Problem

  • 1.  JNCIE-ENT VMX On-Box Scripting Problem

    Posted 03-03-2024 14:13
    Edited by Can Karani 03-10-2024 10:19
    The question asks me to run the script. There is a problem with the script. I can find out what this problem is. The script;
     
    - % cd /var/db/scripts/commit/ with this command, 
    - lab@vmx1# run file show /var/db/scripts/commit/loopback I also read its content with this command,
    - Then I detect that the name of the script is wrong and that's why it doesn't work,
    - My problem is that I can't find how to change this script on vmx after finding the error.
     
    The script is called /usr/bin/pythons but it should be /usr/bin/python for example. But I can't find how to rewrite it on the device. I'm attaching the pictures.
     
    I paste it into notepad and fix the script, but when I paste it on the device in % mode, I get an error. I share the picture of this as an attachment.
     
    I would be very happy if you can help me. 



    ------------------------------
    ------------------------------