D-Link DSN-540 CLI User's Guide for DSN-1100-10 - Page 52

Select Controller[a]

Page 52 highlights

4.2.11 Select Use the Select command to change contexts to the argument specified. The context is not added to the push/pop stack. As a result, issuing a Pop command after a Select command moves you to the top (root) level context of the CLI hierarchy. Syntax Select where is a member of the current context (or a concatenated member reference) that returns a context. From the root context, for example, you can issue the command Select diskList because diskList is a property in the root context. Examples Select Controller[a] Displays the new context in the prompt. In the following example, at the System context of machine 192.168.59.25, the command line jumps directly to the context Controller. Then a show command displays the properties of the Controller context. 192.168.59.25 :: Select Controller[a] Controller[A] :: show ID = A Status = OK IsActive = true SlotNumber = 0 SerialNumber = 00001 DriveSlots = 12 NumFrontPorts = 8 DisplayName = Blade A SoftwareVersion = 2.5.1.21 IsAlternateSoftwareVersionPresent = true AlternateSoftwareVersion = 2.5.1.21 BoardType = 0009 BoardTypeRevision = XC05 I8kHwVersion = 1.0.0.0 I8kSwVersion = 0.1.0.0 MpuSwVersion = 2.5.1.21 BindFailReason = Bind_OK BladeHealth = Healthy BladeState = Bound BladeType = SFF PersistenceSetting = Unchanged BatteryState = Failed BufferMemDimmCnt = 2 BufferMemSize = 2048 SystemMemDimmCnt = 2 SystemMemSize = 512 SystemTime = 13:18:27 Ports = 8 Ports LAGs = 8 LAGs ManagementPort = ManagementPort [192.168.56.138], Status=OK BasePool = [BaseA], 2 disks 42 Chapter 4 Global Action Commands

  • 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
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

42
Chapter 4
Global Action Commands
4.2.11
Select
Use the
Select
command to change contexts to the argument specified. The context is not
added to the push/pop stack. As a result, issuing a
Pop
command after a
Select
command
moves you to the top (root) level context of the CLI hierarchy.
Syntax
Select <context>
where
<context>
is a member of the current context (or a concatenated member
reference) that returns a context. From the root context, for example, you can issue the
command
Select diskList
because
diskList
is a property in the root context.
Examples
°
Select Controller[a]
Displays the new context in the prompt.
°
In the following example, at the
System
context of machine 192.168.59.25, the
command line jumps directly to the context
Controller
. Then a
show
command
displays the properties of the
Controller
context.
192.168.59.25 ::
Select Controller[a]
Controller[A] :: show
ID
= A
Status
= OK
IsActive
= true
SlotNumber = 0
SerialNumber
= 00001
DriveSlots = 12
NumFrontPorts
= 8
DisplayName
= Blade A
SoftwareVersion
= 2.5.1.21
IsAlternateSoftwareVersionPresent
= true
AlternateSoftwareVersion
= 2.5.1.21
BoardType
= 0009
BoardTypeRevision
= XC05
I8kHwVersion
= 1.0.0.0
I8kSwVersion
= 0.1.0.0
MpuSwVersion
= 2.5.1.21
BindFailReason = Bind_OK
BladeHealth
= Healthy
BladeState = Bound
BladeType
= SFF
PersistenceSetting = Unchanged
BatteryState
= Failed
BufferMemDimmCnt
= 2
BufferMemSize
= 2048
SystemMemDimmCnt
= 2
SystemMemSize
= 512
SystemTime = 13:18:27
Ports
= 8 Ports
LAGs
= 8 LAGs
ManagementPort = ManagementPort [192.168.56.138], Status=OK
BasePool
= [BaseA], 2 disks