When I delete or change configuration of a l2tpv3 interface, it is not applied to the linux interface.
For instance, if I want to change l2tpv3 parameters, I have to
- delete the interface (delete interface l2tpv3 l2tpethxx) then commit
- delete interface at linux level (ip l2tp del tunnel tunnel_id xx)
- Recreate the l2tpv3 interface with the new parameters.
Otherwhise the old linux l2tpv3 interface is left configured and the GUI is in an incorrect state (complain about the interface already exist...).
L2tpv3 configuration used:
set interfaces l2tpv3 l2tpeth1 bridge-group bridge 'br1'
set interfaces l2tpv3 l2tpeth1 destination-port '5001'
set interfaces l2tpv3 l2tpeth1 encapsulation 'udp'
set interfaces l2tpv3 l2tpeth1 local-ip 'xxxx'
set interfaces l2tpv3 l2tpeth1 mtu '1500'
set interfaces l2tpv3 l2tpeth1 peer-session-id '100'
set interfaces l2tpv3 l2tpeth1 peer-tunnel-id '1'
set interfaces l2tpv3 l2tpeth1 remote-ip 'xxxx'
set interfaces l2tpv3 l2tpeth1 session-id '100'
set interfaces l2tpv3 l2tpeth1 source-port '5001'
set interfaces l2tpv3 l2tpeth1 tunnel-id '1'