存储场景不支持,请勿使用。
设置下次芯片复位要使用的配置模板的模板号。
该功能和设置模板名称互斥,即如果设置了模板名称,则下次启动按照模板名称查找,若设置了模板号,则下次启动使用模板号启动。
<tool name> cfg_template -i <device name> -s <set index>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
物理设备名,例如:hinic0、hinic1。 |
<set index> |
设置下次需要启动的配置模板的模板号。 注意不要超过可支持的最大ID,否则下次启动会默认从配置文件启动。 |
- |
项目 |
描述 |
---|---|
[Current ] Cfg template index |
本次启动所使用的配置模板的模板号。 |
[Next Reset] Max support index |
下次启动所支持的最大模板号。 |
[Next Reset] Cfg template index |
下次启动所使用的配置模板的模板号。 |
[Next Reset] Firmware support cfg template name |
下次启动所支持的配置模板的模板号对应的信息。 |
设置模板的次数不可以超过100次,超过回显信息中将会出现“cfg_template command error(15): Failed to set the cfg template!”的报错提示,此时重启网卡即可解决。
设置要使用的配置模块板号。
1 2 3 4 5 6 7 8 9 | hinicadm3 cfg_template -i hinic0 -s 0 ***************** Currenet Info ****************** [Current ] Cfg template index : 1 ***************** Next Reset Cfg ***************** [Next Reset] Max support index : 1 [Next Reset] Cfg template index : 0 [Next Reset] Firmware support cfg template name: Temlate[ 0]: NIC_2X100G Temlate[ 1]: OVS_2X100G_SRIOV_6PF |