Page 1 of 1

create .alter file for tr069 avsystem

Posted: Mon Oct 25, 2021 1:45 pm
by wurstel
hi all,
I am testing avsystem server for centralized my network.
i would like to add in all of my routers some firewall commands, for example
/ip firewall filter add action=accept chain=input comment="Accept Established e Related in Input" connection-state=established,related
/ip firewall filter add action=drop chain=input comment="Drop Invalid Connections in Input" connection-state=invalid

I read in wiki mikrotik
"RouterOS has a lot of configuration attributes and not everything can be ported to CWMP Parameters, that's why RouterOS provides a possibility to execute its powerful scripting language to configure any attribute. A configuration alteration (which is really a regular script execution) can be performed using Download RPC FileType="3 Vendor Configuration File" with downloadable file extension ".alter". This powerful feature can be used to configure any ROS attributes which are not available through CWMP Parameters."
I try to create the file but there are always errors.
Someone have a guide or something for understand how I can create the right command?

have a nice day and good work all

Re: create .alter file for tr069 avsystem

Posted: Mon Oct 25, 2021 2:15 pm
by mducharme
Using TR069 to run a .alter is the same as running /import file=whatever.alter

Test the .alter first with /import before using TR069 to push it

Re: create .alter file for tr069 avsystem

Posted: Wed Oct 27, 2021 4:08 pm
by wurstel
Using TR069 to run a .alter is the same as running /import file=whatever.alter

Test the .alter first with /import before using TR069 to push it
Hi
it works so file is good.
From the ACS and the protocol perspective the file ( script) was successfully downloaded by the device. That is why the procedure is marked with status: Transfer completed.
But device dont execute this and I see no logs into it.
I will check with avsystem support if there are a mistake between these 2 products.
thank you and have a nice day