vlan-mon script
vlan-mon script
Friends, the need arose to adjust some parameters in the interfaces that are created by vlan-mon, I would suggest the possibility of a script that is executed at the moment vlan-mon creates the interface, is it possible?
Re: vlan-mon script
[ipoe]
vlan-name=lua:make_vlan_name
vlan-name=lua:make_vlan_name
Code: Select all
function make_vlan_name(ifname, svid, cvid)
-- ifname: parent interface name
-- svid: parent vlan number
-- cvid: vlan number caused vlan creation