Go to main content
Oracle® Fabric Manager 5.0.0 命令参考

退出打印视图

更新时间: 2016 年 9 月
 
 

sm-group

使用 sm-group 命令可以创建子网组来管理和监视 IB 子网。


提示  -  SM 密钥、可信 MKey 和不可信 MKey 可以提供比典型 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 相似。

子命令
说明
add fabric-device
将 SM 网状结构网络设备添加到 SM 组。
add sm-key-set
将 SM 密钥添加到 SM 组。SM 密钥集控制有关 OpenSM 的消息。
fabric-device fabric-device down
禁用网状结构网络设备。
fabric-device fabric-device up
启用网状结构网络设备。
group-member
显示 SM 组成员的列表。
remove fabric-device
删除 SM 组中现有的网状结构网络设备。
remove sm-key-set
删除现有的 SM 密钥集。
set fabric-device
指定 SM 组的网状结构网络设备属性。
sm-device
显示现有的 SM 设备。
sm-key-set sm-key-set down
禁用 SM 密钥集。
sm-key-set sm-key-set up
启用 SM 密钥集。

选项

选项
说明
–controlled-handover
指定这是否为成员资格移交:
  • true

  • false

–description
指定用于描述 SM 组的字母数字字符串。必须用引号将中间包含空格的多个词引起来。
–no-confirm
在删除或断开实体时跳过确认。
–password
指定 SM 组的密码。
–prefix-id
定义子网前缀 ID。
–priority
为网状结构网络设备分配优先级值。
–routing-engine
指定路由引擎:
  • free

  • minhop

示例:创建 SM 组

本示例将创建一个称为 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