chenclosure
可以使用 chenclosure 命令修改机柜属性。
语法
>>- chenclosure --+- -identify --+-yes-+-+-- -- -- -------------> | '-no--' | +- -managed --+-yes-+--+ | '-no--' | '- -id --enclosure_id--' >--enclosure_id------------------------------------------------><
参数
注: 可选参数是互斥的。必须设置其中一个可选参数。
- -managed yes|no
- (可选)将机柜更改为受管或未受管机柜。
- -id enclosure_id
- (可选)更换机柜后更改机柜标识,并使您可控制前面板上的内容。
- enclosure_id
- (必需)指定要修改的机柜。
描述
可以使用此命令来修改机柜属性。将机柜标识从 7 更改为 4 的调用示例
chenclosure -id 4 7
生成的输出:
No feedback
将机柜 1 更改为非受管的调用示例
chenclosure -managed no 1
生成的输出:
No feedback
使机柜 1 上的识别指示灯停止闪烁的调用示例
chenclosure -identify no 1
生成的输出:
No feedback