zhangguanzhang's Blog

SMASH CLP的一些笔记

字数统计: 332阅读时长: 2 min
2019/06/12 Share

https://support.hpe.com/hpsc/doc/public/display?docId=c03334058
https://www.golinuxhub.com/2018/02/hp-ilo4--cli-guide-cheatsheet-example.html
https://h50146.www5.hpe.com/lib/products/software/oe/linux/mainstream/support/doc/general/mgmt/hponcfg/lights-out1.70guide.pdf
https://server-recycling.nl/images/faq/handleidingen/HP-iLO-5-Scripting-and-Command-Line-Guide-a00018323en_us.pdf
http://blog.chinaunix.net/uid-22776959-id-5747914.html
http://blog.chinaunix.net/uid-29021161-id-5785455.html
https://www.cisco.com/c/en/us/td/docs/unified_computing/ucs/sw/utilities/smash/reference/guide/ucs_smash_reference/CLP_Access.pdf

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
-> show -h

Command Status: COMMAND COMPLETED

Command Name: Show
Displays the target's subtargets, associations, properties and verbs.

Usage: show [-options] [target] [<property name>==<value>]
The optional [<property name>==<value>] filter allows the display of targets with the specified property value.

Example: show -level all /admin1

Options:
all - instructs the verb to perform all possible functions.
-d,-display - Filters the command output.
syntax: -display "all" | <associations | properties | targets | verbs> [,<associations | properties | targets | verbs>]*
-x,-examine - instructs the command processor to validate the command syntax without executing the command.
-h,-help - shows help on how to use Show
-k,-keep - retain the Job status information for the specified time
-l,-level - instructs the verb to operate on targets at additional levels beneath the specified target.
syntax: -level <n | all>
-o,-output - specifies the format for the output.
syntax: -output format=<text | keyword | clpxml>
-v,-version - shows smash version
-w,-wait -wait for command to complete execution before returning.

-> show

Command Status: COMMAND COMPLETED

ufip=/admin1
Targets:
hdwr1
smclpprof1
system1
Properties:
ElementName=SM CLP Admin Domain
CreationClassName=CIM_AdminDomain
Name=MAP
Verbs:
cd
exit
help
show
version

-> show -d properties=Name -o format=keyword /admin1

commandline=show -d properties=Name -o format=keyword /admin1
status=0
status_tag=COMMAND COMPLETED
job_id=26
command=show
begingroup=target
begingroup=instance
instance=1,ufct=admin
ufip=/admin1
begingroup=properties
begingroup=property
name=Name
val=MAP
endgroup
endgroup
endgroup
endgroup
endoutput

->

show -l all

CATALOG