More documentation
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user