使用 sm-group 命令可以创建子网组来管理和监视 IB 子网。
add sm-group name [–password=group-password] [–description=text]
remove sm-group name [–no-confirm]
set sm-group name [–password=group-password] [–description=text]
set sm-group name fabric-device fabric-device down
set sm-group name fabric-device fabric-device up
set sm-group name sm-key-set sm-key-set down
set sm-group name sm-key-set sm-key-set up
set sm-group name add fabric-device fabric-device
set sm-group name add sm-key-set sm-key-set trusted-mkey untrusted-mkey
set sm-group name set fabric-device [–routing-engine=routing-engine] [–priority=value] [–prefix-id=subnet-prefix-ID] [–controlled-handover={true|false}]
set sm-group name remove fabric-device fabric-device [–no-confirm]
set sm-group name remove sm-key-set sm-key-set [–no-confirm]
show sm-group name
show sm-group name sm-device
show sm-group name group-member
show sm-group name sm-key-set
其中:
fabric-device 是网状结构网络设备的名称。
name 是 SM 组的名称。
sm-key-set 是 SM 密钥集的名称。SM 密钥控制有关 OpenSM 的消息。
trusted-mkey 控制有关编程开关的消息。将为所有开关指定此 MKey。
untrusted-mkey 控制其他消息。此 MKey 与通用 IB 网状结构网络中的 Mkey 相似。
|
|
本示例将创建一个称为 EngGroup 的 SM 组,并将一个称为 delaware 的网状结构网络设备添加到该组。本示例随后将说明如何使该网状结构网络设备联机并指定该设备使用 ftree 路由引擎。
[OFM] add sm-group EngGroup -password-12344 [OFM] set sm-group EngGroup add fabric-device delaware [OFM] set sm-group EngGroup fabric-device delaware up [OFM] set sm-group EngGroup set delaware -routing-engine=ftree [OFM] show sm-group EngGroup sm-device name number-of-devices routing-engine status description ---------------------------------------------------------------- EngGroup 1 ftree good 1 record displayed