Mellanox WinOF VPI Documentation v5.50.53000
Linux Kernel Upstream Release Notes v6.5

Command Line Based Teaming Configuration

The following command prints out all supported modes and functionalities:

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config --help To list all adapters including teams, use: vlan_config showlist [IPoIB] To create a team use: vlan_config create team <Type> <Name> [NoFailBackToPrimary] [IPoIB] Type is one of the following: AFT | SFT | SLB | RLB | ALB | 3AD | SLA For IPoIB team, only 'AFT' type is supported To add adapter to the team use: vlan_config attach team <TeamName> {<Adapter-GUID>} [primary] [SetTeamMacAddress] To remove an adapter from the team use: vlan_config detach team <TeamName> {<Adapter-GUID>} To delete an empty team use: vlan_config removeteam <TeamName> To query an existing team, use: vlan_config queryteam <TeamName> To modify an existing team, use: vlan_config modifyteam <TeamName> <NewTeamName> <TeamType> To add a vlan use: vlan_config addvlan <TeamName> <VlanName> <VlanId> <Priority> To remove a vlan use: vlan_config removevlan {TeamName} {VlanName} To query vlan, use: vlan_config queryvlan <TeamName> <VlanName> To modify vlan, use: vlan_config modifyvlan <team-name> <current-vlan-name> <newvlanname> <newvlanid> <newpriority>   Example: vlan_config create team AFT MyTeam vlan_config attach team MyTeam {2E9C1992-98B5-43C3-97A0-9993AEAC7F80} vlan_config attach team MyTeam {8D05C52B-BCD6-4FCE-8235-1E90BD334519}

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config showlist {30C354DB-62E9-41CB-B709-11063FAF4E95} Mellanox ConnectX-3 Ethernet Adapter {53AE4E6B-A308-4C74-9791-153BB3104509} Mellanox ConnectX-3 Ethernet Adapter #2

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config create team AFT MyTeam Adding team MyTeam Team created with Guid = C71781EC-F459-4A8E-ABAC-74CA05F13AE8

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config attach team MyTeam {30C354DB-62E9-41CBB709-11063FAF4E95} primary setteammacaddress Adding adapter {30C354DB-62E9-41CB-B709-11063FAF4E95} to team MyTeam C:\Users\Administrator\Desktop>vlan_config attach team MyTeam {53AE4E6B-A308-4C74-9791-153BB3104509} Adding adapter {53AE4E6B-A308-4C74-9791-153BB3104509} to team MyTeam

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config addvlan MyTeam MyVlan 1 1 Adding vlan to adapter with Guid ={C71781EC-F459-4A8E-ABAC-74CA05F13AE8} Vlan Name=MyVlan Vlan Id=1 Vlan Priority=1 Miniport created with Guid = 3D7CFE4E-0EE9-4CF6-9843-F44CFBE2E223

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config modifyteam MyTeam NewTeam SFT2 New Attributes applied

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config modifyvlan NewTeam MyVlan NewVlan 3 4 New Attributes applied

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config showlist {30C354DB-62E9-41CB-B709-11063FAF4E95} Mellanox ConnectX-3 Ethernet Adapter {53AE4E6B-A308-4C74-9791-153BB3104509} Mellanox ConnectX-3 Ethernet Adapter #2 Found 1 team(s) Name : NewTeam GUID : {C71781EC-F459-4A8E-ABAC-74CA05F13AE8} PrimaryAdapterGuid : {30C354DB-62E9-41CB-B709-11063FAF4E95} TeamType : 2 L2Protocol : 0 FallBackToPrimary : 1 MemberCount : 2 Member[0] : {30C354DB-62E9-41CB-B709-11063FAF4E95} Member[1] : {53AE4E6B-A308-4C74-9791-153BB3104509} VlanCount : 1 Vlan[0] Name : NewVlan

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config queryteam NewTeam Found 1 team(s) Name : NewTeam GUID : {C71781EC-F459-4A8E-ABAC-74CA05F13AE8} PrimaryAdapterGuid : {30C354DB-62E9-41CB-B709-11063FAF4E95} TeamType : 2 L2Protocol : 0 FallBackToPrimary : 1 MemberCount : 2 Member[0] : {30C354DB-62E9-41CB-B709-11063FAF4E95} Member[1] : {53AE4E6B-A308-4C74-9791-153BB3104509} VlanCount : 1 Vlan[0] Name : NewVlan

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config queryvlan NewTeam NewVlan Vlan Guid : {3D7CFE4E-0EE9-4CF6-9843-F44CFBE2E223} Vlan Name : NewVlan Vlan Id : 3 Vlan Priority : 4

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config removevlan NewTeam NewVlan removing vlan to adapter with physical Guid ={C71781EC-F459-4A8E-ABAC-74CA05F13AE8} Vlan Guid ={3D7CFE4E-0EE9-4CF6-9843-F44CFBE2E223} pMuxPhysicalAdapter->RemoveMiniport succeeded

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config removeteam NewTeam Delete team NewTeam Deleting member {30C354DB-62E9-41CB-B709-11063FAF4E95} Deleting member {53AE4E6B-A308-4C74-9791-153BB3104509}

Copy
Copied!
            

C:\Users\Administrator\Desktop>vlan_config showlist {30C354DB-62E9-41CB-B709-11063FAF4E95} Mellanox ConnectX-3 Ethernet Adapter {53AE4E6B-A308-4C74-9791-153BB3104509} Mellanox ConnectX-3 Ethernet Adapter #2

© Copyright 2023, NVIDIA. Last updated on May 23, 2023.