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
------------------------------
Original Message:
Sent: 04-21-2023 06:10
From: Pecco
Subject: How can i set delete config in junos space template
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
------------------------------