다음 예에서는 CLI configuration san targets srp groups 컨텍스트를 사용하여 targetSRPgroup이라는 SRP 대상 그룹을 만드는 방법을 보여줍니다.
swallower:configuration san targets srp groups> create
swallower:configuration san targets srp group (uncommitted)> set name=targetSRPgroup
name = targetSRPgroup (uncommitted)
swallower:configuration san targets srp group (uncommitted)>
set targets=eui.0002C903000489A4
targets = eui.0002C903000489A4 (uncommitted)
swallower:configuration san targets srp group (uncommitted)> commit
swallower:configuration san targets srp groups> list
GROUP NAME
group-000 targetSRPgroup
|
+-> TARGETS
eui.0002C903000489A4
다음 예에서는 CLI shares 컨텍스트를 사용하여 LUN을 만들고 targetSRPgroup과 연관시키는 방법을 보여줍니다.
swallower:shares default> lun mylun
swallower:shares default/mylun (uncommitted)> set targetgroup=targetSRPgroup
targetgroup = targetSRPgroup (uncommitted)
swallower:shares default/mylun (uncommitted)> set volsize=10
volsize = 10 (uncommitted)
swallower:shares default/mylun (uncommitted)> commit
swallower:shares default> list
Filesystems:
NAME SIZE MOUNTPOINT
test 38K /export/test
LUNs:
NAME SIZE GUID
mylun 10G 600144F0E9D19FFB00004B82DF490001