Monday, November 1, 2021

Junos automation Netconf XML

Hello guys,

Any ideea what Netconf XML filter should I use to activate back a leaf node? I am trying to basically activate the OSPF back like in CLI below:

{master}[edit]

# activate protocols ospf area 0.0.0.0

{master}[edit]

MX# show protocols ospf

area 0.0.0.0 {

interface ge-0/0/0.0;

interface ge-0/0/1.0;

}

{master}[edit]

MX# show | compare | display xml

<rpc-reply xmlns:junos="[http://xml.juniper.net/junos/20.2R0/junos](http://xml.juniper.net/junos/20.2R0/junos)">

<configuration>

<protocols>

<ospf>

>>>>>>> <area active="active" operation="merge">

<name>0.0.0.0</name>

</area>

</ospf>

The XML filter above does not seem to work for some reason......



No comments:

Post a Comment