Simple Queue and PPPoE traffic monitor issue

I have an issue with simple queues “interface” which I have set the customer PPPoE number (Say User_150) but when the client disconnects it get I (invalid) with this entry goes red and reverts to “all” interfaces but does not continue the traffic counter when the customer connects again to AP and even though I have a static pppoe IP address set on the CPE, I have to reselect pppoe number again (user_150),
Can I request help with script and advice on how to address this issue, please.

Add static entry in /interface pppoe-server menu then interface will not disappear.

Thank you MRZ but as usual i am a little confused here is some details on my configuration

#If I edit interface it will be =<pppoe-User_1124>

[admin@AP} > interface
[admin@AP] /interface> print
Flags: D - dynamic, X - disabled, R - running, S - slave 
 #     NAME                               TYPE               MTU L2MTU  MAX-L2MTU
 0  R  ether1                             ether             1500  1526       1526
 1     ether2                             ether             1500  1522       1522
 2  R  ether3                             ether             1500  1522       1522
 3  R  wlan1                              wlan              1500  2290
 4 DR  <pppoe-User_1123>                 pppoe-in          1480
 5 DR  <pppoe-User_1118>                 pppoe-in          1480
 6 DR  <pppoe-User_1066>                 pppoe-in          1480
 7 DR  <pppoe-User_1103>                 pppoe-in          1480
 8 DR  <pppoe-User_1104>                 pppoe-in          1480
 9 DR  <pppoe-User_1101>                 pppoe-in          1480
10 DR  <pppoe-User_1106>                 pppoe-in          1480
11 DR  <pppoe-User_1129>                 pppoe-in          1480
12 DR  <pppoe-User_1124>                 pppoe-in          1480
13 DR  <pppoe-User_1114>                 pppoe-in          1480

/interface pppoe-server server
add authentication=mschap2 default-profile=default-encryption disabled=no \
    interface=wlan1 keepalive-timeout=10 max-mru=1480 max-mtu=1480 \
    max-sessions=0 mrru=disabled one-session-per-host=no service-name=\
    service1
    
/ppp secret
add caller-id="" disabled=no limit-bytes-in=0 limit-bytes-out=0 name=\
    User_1124 password=XXXXXXXX profile=Standard_Package remote-address=\
    10.150.7.248 routes="" service=pppoe


/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="John Doe" \
    direction=both disabled=no interface=all limit-at=0/0 max-limit=128k/1M \
    name=User_1124 parent=none priority=8 queue=default/default \
    target-addresses=10.150.7.248/32 total-queue=default

/interface pppoe-server
add name=User_1111 user=“User_1111” service=“”

/queue simple
add interface=“User_1111” name=user-1111-queue …

Thank you, still had problems until i removed remote address from pppoe-pool, all Ok Now


From

/ppp profile
set default change-tcp-mss=yes name=default only-one=default use-compression=default use-encryption=default use-mpls=default use-vj-compression=default
add change-tcp-mss=yes local-address=10.150.7.1 name=Standard_Package only-one=default rate-limit=384k/3M remote-address=pppoe-pool use-compression=default use-encryption=default use-mpls=default use-vj-compression=default


To
/ppp profile
set default change-tcp-mss=yes name=default only-one=default use-compression=default use-encryption=default use-mpls=default use-vj-compression=default
add change-tcp-mss=yes local-address=10.150.7.1 name=Profile3M only-one=default rate-limit=384k/3M use-compression=default use-encryption=default use-mpls=default use-vj-compression=default

I discovered an issue with using

Add static entry in /interface pppoe-server menu then interface will not disappear.

In simple queues two entries are now listed for each customer
(1) Static address (10.150.1.200/32 ) from pppoe-server interface
(2) Dynamic (10.150.1.200/32) from pppoe-client /ppp secret

This has caused what appears to be dual traffic shaping process for these entries ?