vlan-mon script

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

vlan-mon script

Post by andlui9 » 02 May 2018, 16:29

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: 99
Joined: 11 Oct 2014, 15:57

Re: vlan-mon script

Post by nik247 » 03 May 2018, 06:26

[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

Who is online

Users browsing this forum: No registered users and 0 guests