Users Guide
Table Of Contents
- Table of Contents
- Preface
- 1 Introduction
- 2 Installing and Launching
- 3 QCS CLI Commands
- General Syntax and Keywords
- Command List
- Commands by Item View
- Command Details
- Add (Team Configuration)
- Add Discovery Portal
- Add Host
- Add iSNS Server
- Add Target
- Boot Configuration
- Cable Diagnostics
- Configure Advanced Settings
- Configure Advanced FCoE Settings
- Configure Advanced Adapter Settings
- Configure Advanced Port Settings
- Configure iSCSI Boot
- Configure iSCSI Initiator
- Configure iSCSI Management
- Configure iSCSI Management (on a Linux Host)
- Configure iSCSI Secret
- Configure Licenses
- Configure Multifunction
- Configure Resource
- Configure SR-IOV
- Configure System TOE
- Create Multiple NPIV Ports
- Create NPIV Port
- Diagnostics
- Discover Host
- Fallback
- Help
- Information (Adapter)
- Information (Team)
- List (Targets)
- List Discovery Portals
- List iSNS Servers
- Log
- Login
- Logout
- Network Diagnostics
- Ping Test
- Quit
- Refresh
- Refresh All
- Refresh Discovery Portal
- Refresh iSNS Server
- Remove (Team)
- Remove All Hosts
- Remove Discovery Portal
- Remove Host
- Remove iSNS Server
- Remove Multiple NPIV Ports
- Remove NPIV Port
- Remove Persistent Target
- Remove Target
- Reset Session Statistics
- Reset Statistics
- Restore (Team)
- Save (Team)
- Select (Target)
- Session Statistics
- Sessions
- Show Selected (Target)
- Statistics
- Unassigned (Adapters)
- Upgrade (Firmware)
- Version
- Legacy Commands
- 4 QCS CLI Usage
- Using Interactive Mode
- Performing Management Tasks
- Listing Target Adapters of Different Views in CLI Mode
- Obtaining Context Help for each Command
- Switching Between Different Views of Target Adapters
- Selecting a Target for the Command to Operate On
- Selecting a Target in Interactive Mode
- Getting Information for a Selected Target
- Configuring Advanced Parameters for a Selected Target
- Displaying Licenses for a Selected Target
- Configuring the iSCSI Parameter for a Selected Target
- Configuring the Resource of a Selected Target
- Configuring OoB Management for a Selected Target
- Configuring Systoe for the System
- Getting Statistics for a Selected Target
- Resetting Statistics for a Selected Target
- Running Diagnostic Tests for a Selected Target
- Running a Cable Diagnostic Test for a Selected Target
- Running a Network Diagnostic Test for a Selected Target
- Connecting to an FCoE Target
- Connecting to an iSCSI Target
- Creating a Team Configuration
- Restoring a Team Configuration
- Saving a Team Configuration
- Removing One or More Teams
- Displaying Unassigned Adapters
- Switching Between Primary and Standby Adapters in a Team
- Connecting an iSCSI Target
- Refreshing a Host
- Performing Other Common Tasks
- A Security Considerations
- B Configuration File Examples
- C Third-party Licenses
- D Exit Codes
- E Revision History
- Glossary
B–Configuration File Examples
Understanding Team Configuration Files
Doc No. TD-000971 Rev. 1
January 29, 2021 Page 175 Copyright © 2021 Marvell
Team Configuration File Requirements
Requirements for the team configuration file include the following:
A team configuration file must contain at least one team configuration.
QCSCLI.exe recognizes name as the starting point of a team
configuration section. All lines after name apply to the team_name until
another name or end-of-file is encountered.
Each team configuration must contain at least one physical network adapter.
Otherwise the configuration of the team is ignored.
If type is missing, the default is set to Smart Load Balancing (SLB). The
four team types include: SLB = 0, GEC = 1, LACP = 2 and SLB-AFD = 4.
If ip is set, smask must also be set or ip is ignored. If ip is not set,
DHCP is used.
The team IP can be set if no VLANs are configured. If any VLAN is
configured, the team IP is ignored. Multiple VLAN configurations are
allowed. Each VLAN configuration allows an optional static IP information.
Each IP must be coupled with smask, otherwise it is ignored.
There must at least one white space or tab between the tag (name, pnic,
and so on) and the value pair (team_name, MAC_address, and so on) in
each line.
Keywords before semicolons are case sensitive.
Team Configuration File Examples
The following show examples of a team configuration XML file. For details about
the command, see “Save (Team)” on page 128.
Example Without LiveLink Parameters
The following shows an example of the TeamConfig.txt configuration file with
NO_LIVELINK_PARAMS:
name: BRCMTeam type: 1
pnic: 00101801794D
pnic: 00:0B.2 vname: VLAN2 vid: 2
vname: VLAN3 vid: 3
ip: 172.16.8.3
smask: 255.255.255.0
vname: VLAN4 vid: 4
NOTE
In NPAR mode, the team configuration type GEC is not supported.