nuttx/Documentation/applications/netutils/vconfig/index.rst
gaohedong 863c20544c net/vlan: add a documentation for vconfig
Users can add or delete Vlan interfaces through the vconfig tool. This document describes the usage of vconfig.

Signed-off-by: gaohedong <gaohedong@xiaomi.com>
2026-01-07 22:25:47 +08:00

34 lines
628 B
ReStructuredText

============================
``vconfig`` VLAN Config Tool
============================
vconfig is a utility for managing VLAN (Virtual LAN) interfaces in NuttX.
It allows users to add, remove, and display VLANs on network interfaces.
USAGE
-----
Usage is straightforward::
nsh> help ; vconfig
Usage: vconfig add <interface> <vlan_id> [priority]
vconfig rem|del <vlan-interface>
Examples
~~~~~~~~
Add a VLAN interface::
nsh> vconfig add eth0 10
Remove a VLAN interface::
nsh> vconfig rem|del eth0.10
Resources
~~~~~~~~~
* https://en.wikipedia.org/wiki/Virtual_LAN
* https://www.nuttx.org/