设置网卡在AC(Alternating Current)掉电时待发送的报文数据。
<tool name> reboot_notice -i <device name> -m <mode> -f <file name> -n <number>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
物理设备名,例如:hinic0、hinic1。 |
<mode> |
读取或设置待发送报文数据。 |
|
<file name> |
存放报文数据的文件名。 |
- |
<number> |
发送的自定义报文数。 |
- |
项目 |
描述 |
---|---|
result |
操作是否成功。 |
无。
1 2 | hinicadm3 reboot_notice -i hinic0 -f reboot_notice_test.txt -m read -n 10 File:/home/reboot_notice_test.txt is created successfully. |
1 2 | hinicadm3 reboot_notice -i hinic0 -f reboot_notice_test.txt -m write -n 10 reboot_notice command succeed. |