More documentation

This commit is contained in:
2026-05-11 14:25:32 -04:00
parent d9e1213e82
commit abfe6fde5e
4 changed files with 81 additions and 3 deletions
+26
View File
@@ -0,0 +1,26 @@
# `add_vlan` Command
## Name
`add_vlan`
## Synopsis
```
add_vlan ${card} ${vlan}
```
## Description
Adds an internal network segment with the specified vlan on the specified
card. For example, `add_vlan xy0 123` has the effect of
`vlans_xy0="${vlans_xy0} 123"`.
The internal implementation prevents adding duplicate VLAN ID's to the same
adaptor, by checking for their presence before adding. It can safely be
used alongside manual changes to `rc.conf` changes to these variables.
## See Also
- [`add_net`](add_net.md)
- [`add_v4_net`](add_v4_net.md)
- [`add_v6_net`](add_v6_net.md)