7
Linux Driver Setup
70
BASPCFG Command Line Tool
The baspcfg command line tool is used to configure the Advanced Server Features teams,
add and remove NICs, and add and remove virtual devices. The following is an example of
the usage of this tool.
baspcfg v1.1.6 All rights reserved.
usage: baspcfg
commands
where
NOTE:
Forming multiple teams is possible by copying the sample files into “/etc/
basp/” and modifying this file as described in the sample file. The files must have
unique filenames. Name the files “team-xxx” where “xxx” is a unique identifier
for the team.
NOTE:
To create more that one virtual interface (VLAN) for each team, refer to the
respective description section in the sample files.
addteam <tid> <type> <tname>
create a team
delteam <tid>
delete a team
addva <tid> <vlan_id> <vname>
[macaddr]
add a virtual adapter to a team
delva <tid> <vlan_id>
del a virtual adapter from a team bind
bind <tid> <role> <device>
bind a physical adapter to a team unbind
unbind <tid> <device>
unbind a physical adapter from a team
show <tid>
display team configurations
tid
A unique ID for each team, starting from 0
type
Team type: 0=SLB, 1=FEC/GEC
tname
ASCII string of the team
vlan_id
VLAN ID: from 1 to 4094, 0=untagged or no VLAN
vname
ASCII string of the virtual device
macaddr
MAC address (optional), e.g. 00:10:18:00:11:44
role
Role of the physical device: 0=primary, 1=hot-standby
device
ASCII string of the physical device, e.g. eth0