vlan-mon script

Here you can post your feature requests and suggestions
Post Reply
andlui9
Posts: 37
Joined: 20 Jan 2017, 11:46

vlan-mon script

Post by andlui9 »

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?
nik247
Posts: 108
Joined: 11 Oct 2014, 15:57

Re: vlan-mon script

Post by nik247 »

[ipoe]
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
Post Reply