Get the network-type of an OSPF interface and set it to ...

Hello !

We have some problems with OSPN interfaces configuered to pptp interfaces. Somtimes the pptp interface drops, the configuration drops and comes up with the default settings. But we need as “network-type” - “nbma”. So I tried to find out how to get the status and set it with a script to the manual configured interface with nbma.

:if (/routing ospf interface get [interface=<pptp-dest> network-type!=nbma]) do={
:log warning "pptp to dest reset nbma by script";
/routing ospf interface add interface=<pptp-dest> network-type=nbma
}

This part

[interface=<pptp-dest> network-type!=nbma]

does not work : (

Any Idea ? Thanks !!

Well - so far no one answered - we solved the problem. Contact, if someone likes to know …