From 7bc81bbfc0bc3ab7aaa43399e64ad66e6975a928 Mon Sep 17 00:00:00 2001 From: xz_ocs Date: Tue, 12 Aug 2025 11:40:09 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'shuaifeng'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shuaifeng | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 shuaifeng diff --git a/shuaifeng b/shuaifeng new file mode 100644 index 0000000..193e92d --- /dev/null +++ b/shuaifeng @@ -0,0 +1,4 @@ +curl -k -v -i --location 'https://192.168.31.1/redfish/v1/SessionService/Sessions' --header 'Content-Type: application/json' --data '{"UserName":"root", "Password":"0penBmc"}' +curl -k --location --request POST 'https://192.168.31.1/redfish/v1/EXPservice/Lock/' --header 'X-Auth-Token: ccgB1YMlOxovRJJHEwtB' +curl -X POST -k --location --header 'X-Auth-Token:ccgB1YMlOxovRJJHEwtB' https://192.168.31.1/redfish/v1/EXPservice/EXPReadReg --data '{"ExpanderId":1, "CmdId":1, "ReadLen":32}' +curl -k --location --request POST 'https://192.168.31.1/redfish/v1/EXPservice/UnLock/' --header 'X-Auth-Token: ccgB1YMlOxovRJJHEwtB' \ No newline at end of file