File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ Example with lan interface:
79
79
80
80
connection.session.set_session_type_rmcp(' 10.0.0.1' , port = 623 )
81
81
connection.session.set_auth_type_user(' admin' , ' admin' )
82
+ connection.session.set_priv_level(" ADMINISTRATOR" )
82
83
connection.session.establish()
83
84
84
85
connection.get_device_id()
@@ -87,7 +88,7 @@ ipmitool command:
87
88
88
89
.. code :: shell
89
90
90
- ipmitool -I lan -H 10.0.0.1 -p 623 -U " admin" -P " admin" -t 0x82 -b 0 -l 0 raw 0x06 0x01
91
+ ipmitool -I lan -H 10.0.0.1 -p 623 -L " ADMINISTRATOR " - U " admin" -P " admin" -t 0x82 -b 0 -l 0 raw 0x06 0x01
91
92
92
93
93
94
Example with serial interface:
Original file line number Diff line number Diff line change 11
11
ipmi = pyipmi .create_connection (interface )
12
12
ipmi .session .set_session_type_rmcp ('10.0.114.199' , 623 )
13
13
ipmi .session .set_auth_type_user ('admin' , 'admin' )
14
+ ipmi .session .set_priv_level ("ADMINISTRATOR" )
14
15
ipmi .session .establish ()
15
16
ipmi .target = pyipmi .Target (ipmb_address = 0x20 )
16
17
You can’t perform that action at this time.
0 commit comments