764 B
764 B
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.
Examples
add_vlan xy0 123 # Creates xy0.123
add_vlan abc3 765 # Creates abc3.765