Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jun 2018 23:35:37 +0200
From:      Stefano Duo <duostefano93@gmail.com>
To:        soc-status@freebsd.org
Subject:   Extension to the netmap framework - Week 3
Message-ID:  <CALkzoBuc%2Bp81eHsSjVRSaeN=_kyYKkYww86WbxVyAWgFgvb5Hg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

during the third week i wrote a CLI tool to manage vlan configurations.

vale-vlan-ctl accepted arguments:
"-n conf_name" creates and selects a new configuration named conf_name.
"-r conf_name" deletes the configuration named conf_name.
"-s conf_name" selects the existing configuration named conf_name.
"-t interface_name" attaches the existing interface named interface_name as
a trunk port.
"-T" detaches the current trunk port.
"-p interface_name" creates a persistent vale port named interface_name and
attaches it as a trunk port.
"-P" detaches and deletes the persistent vale port used as a trunk port.
"-a interface_name=vlan_id" attaches the existing interface named
interface_name as an access port with vlan id = vlan_id.
"-A interface_name" detaches the interface named interface_name.
"-c interface_name=vlan_id"  creates a persistent vale port named
interface_name and attaches it as an access port with vlan id = vlan_id.
"-C interface_name" detaches the persistent vale port named interface_name
and destroys it.
"-l" lists the interfaces attached to the selected configuration.

Stefano.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALkzoBuc%2Bp81eHsSjVRSaeN=_kyYKkYww86WbxVyAWgFgvb5Hg>