Cloud

 View Only
last person joined: 4 days ago 

Ask questions and share experiences with Contrail Networking, Junos Space, Contrail Service Orchestration, NFX Series, Network Automation, Network Management, and all things related to cloud operations.
  • 1.  How can i set delete config in junos space template

    Posted 04-21-2023 08:50

    i want to delete phone home after i put config  
    delete system phone-home server https://redirect.juniper.net
    delete  system phone-home rfc-compliant
    but it show invalid CLI
    How can i  set delete config in junos space template 




    ------------------------------
    Pecco Punk
    ------------------------------


  • 2.  RE: How can i set delete config in junos space template

    Posted 05-22-2023 13:04

    I haven't used the Templates much so take this with a grain of salt but it might be simpler to just do "delete system phone-home".

    If you want to go the CLI Configlet route, you could also try this:

    system {
      delete:
        phone-home;
    }



    ------------------------------
    PHILIP SILK
    ------------------------------



  • 3.  RE: How can i set delete config in junos space template

     
    Posted 4 days ago
    Edited by asharp 3 days ago

    One thing to consider when using templates, they are tied to the schema version that is present in Junos Space, unlike CLI Configlets which are not tied to a specific schema as they just send NETCONF to the managed device.

    So, one common reason for a template to state that it isn't valid is that the schema that is loaded in Junos Space and being used for the managed device is not the same as the version of Junos present on the managed device.

    It would be worthwhile checking to see if you have the correct schema loaded for that version of Junos in Space.

    Regards.



    ------------------------------
    Andy Sharp
    ------------------------------