1MSTCONFIG,(1) User Commands MSTCONFIG,(1)
2
3
4
6 mstconfig, - manual page for mstconfig, mstflint 4.7.0
7
9 NAME:
10
11 mstconfig
12
13 SYNOPSIS:
14
15 mstconfig [Options] <Commands> [Parameters]
16
17 OPTIONS:
18
19 -d|--dev <device>
20 : Perform operation for a specified MST device.
21
22 -b|--db <filename>
23 : Use a specific database file.
24
25 -f|--file <conf_file>
26 : raw configuration file.
27
28 -h|--help
29 : Display help message.
30
31 -v|--version
32 : Display version info.
33
34 -e|--enable_verbosity
35 : Show default and current configurations.
36
37 -y|--yes
38 : Answer yes in prompt.
39
40 -a|--all_attrs
41 : Show all attributes in the XML template
42
43 -p|--private_key
44 : pem file for private key
45
46 -u|--key_uuid
47 : keypair uuid
48
49 COMMANDS:
50
51 clear_semaphore
52 : clear the tool semaphore.
53
54 i[show_confs]
55 : display informations about all configurations.
56
57 q[uery]
58 : query supported configurations.
59
60 r[eset]
61 : reset all configurations to their default value.
62
63 s[et] : set configurations to a specific device.
64
65 set_raw
66 : set raw configuration file.(only Connect-IB/Connect-X4/LX.)
67
68 backup : backup configurations to a file (only Connect-IB/Con‐
69 nect-X4/LX.). Use set_raw command to restore file.
70
71 gen_tlvs_file
72 : Generate List of all TLVs. TLVs output file name must be spec‐
73 ified. (*)
74
75 g[en_xml_template]
76 : Generate XML template. TLVs input file name and XML output
77 file name must be specified. (*)
78
79 xml2raw
80 : Generate Raw file from XML file. XML input file name and raw
81 output file name must be specified. (*)
82
83 raw2xml
84 : Generate XML file from Raw file. raw input file name and XML
85 output file name must be specified. (*)
86
87 xml2bin
88 : Generate Bin file from XML file. XML input file name and bin
89 output file name must be specified. (*)
90
91 create_conf
92 : Generate Configuration file from XML file. XML input file name
93 and bin output file name must be specified. (*)
94
95 apply : Apply a Configuration file. bin input file name must be speci‐
96 fied. (*)
97
98 (*) These commands do not require MST device
99
100 To show supported configurations by device type, run show_confs
101 command
102
103 Examples:
104
105 To query configurations
106 : mstconfig -d 04:00.0 query
107
108 To set configuration
109 : mstconfig -d 04:00.0 set SRIOV_EN=1 NUM_OF_VFS=16
110 WOL_MAGIC_EN_P1=1
111
112 To set raw configuration
113 : mstconfig -d 05:00.0 -f conf_file set_raw
114
115 To reset configuration
116 : mstconfig -d 04:00.0 reset
117
118 Supported devices:
119
120 4th Generation devices: ConnectX3, ConnectX3-Pro (FW 2.31.5000
121 and above). 5th Generation devices: ConnectIB, ConnectX4, Con‐
122 nectX4-LX, ConnectX5.
123
124 Note: query device to view supported configurations by Firmware.
125
127 The full documentation for mstconfig, is maintained as a Texinfo man‐
128 ual. If the info and mstconfig, programs are properly installed at
129 your site, the command
130
131 info mstconfig,
132
133 should give you access to the complete manual.
134
135
136
137mstconfig, mstflint 4.7.0 June 2017 MSTCONFIG,(1)