Community discussions

MikroTik App
 
BOSS497
just joined
Topic Author
Posts: 7
Joined: Fri Mar 11, 2022 3:23 pm

Router OS 7.1.3 PPPoE Profile On UP & On Down scripts not working

Fri Mar 11, 2022 3:49 pm

Hi comrades! I have RB2011UiAS, after update from latest RouterOS 6 to 7.1.3 PPPoE Profile On UP & On Down scripts not working anymore.

On UP
/ip route remove [ find gateway="4.2.2.3" ]
/ip route remove [ find where dst-address ~"4.2.2.3" ]
/ip route add  comment="c.resolvers.level3.net route through seven sky emergency isp" distance=1 dst-address=4.2.2.3/32 gateway=$"remote-address" scope=10
/ip route add check-gateway=ping comment="seven sky emergency default route" distance=4 gateway=4.2.2.3
/ip route add check-gateway=ping comment="seven sky emergency default route for seven-sky routing table (PCC load balancing)" distance=1 gateway=4.2.2.3 routing-mark=seven-sky
/ip route add check-gateway=ping comment="seven sky emergency default route for mgts-main routing table (PCC load balancing)" distance=3 gateway=4.2.2.3 routing-mark=mgts-main
/ip route add check-gateway=ping comment="seven sky emergency default route for mgts-mrgncy routing table (PCC load balancing)" distance=3 gateway=4.2.2.3 routing-mark=mgts-mrgncy
On Down
/ip route remove [ find gateway="4.2.2.3" ]
/ip route remove [ find where dst-address ~"4.2.2.3" ]
In Router OS 6 it works, but in 7 any script On UP & On Down in PPPoE Profile not working. Is it bug or something changed in scripting?
 
BOSS497
just joined
Topic Author
Posts: 7
Joined: Fri Mar 11, 2022 3:23 pm

Re: Router OS 7.1.3 PPPoE Profile On UP & On Down scripts not working

Mon Apr 11, 2022 2:41 am

Hi. 7.2 out and nothing changed, whats wrong with it? :(
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12534
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Router OS 7.1.3 PPPoE Profile On UP & On Down scripts not working

Mon Apr 11, 2022 2:07 pm

you just try to put inside
:log info "this works"
and on v7 "/ip route" syntax change...

Who is online

Users browsing this forum: CGGXANNX, lojasyst and 38 guests