Highlighted
xulei1
2 Bronze

DCX交换机相关

转到解答

谁能给我介绍下下边几个OID获取到的都是些什么信息呢?

看MIB库文档都看不太懂啊,能稍微通俗得给解释下吗?

另外,有没有相应的command获取这些信息呢?

不胜感激!

     swAdmStatus 1.3.6.1.4.1.1588.2.1.1.1.1.8    

     The desired administrative status of the switch.

     swDiagResult 1.3.6.1.4.1.1588.2.1.1.1.1.20

     The result of the power-on startup test (POST) diagnostics.

     swOperStatus 1.3.6.1.4.1.1588.2.1.1.1.1.7

     The current operational status of the switch.

标签 (1)
标记 (1)
0 项奖励
1 个已接受解答

已接受的解答
Anonymous98
1 Copper

Re: DCX交换机相关

转到解答

MIB这种信息brocade有个文档专门做详细解释,Fabric OS MIB Reference v7.0。

swAdmStatus:用来查询/设置交换机运行状态

swDiagResult:用来提示交换机beacon功能有没有打开

swOperStatus:获取交换机运行状态

下面是我从文档中摘要的信息:

Object and OID Access Description
swAdmStatus
1.3.6.1.4.1.1588.2.1.1.1.1.8
Read-writeThe desired administrative status of the switch. A management
station might place the switch in a desired state by setting this
object accordingly.
Possible values are:
• online (1) - Set the switch to be accessible by an external FC
port.
• offline (2) - Set the switch to be inaccessible.
• testing (3) - Set the switch to run the built-in test.
• faulty (4) - Set the switch to a “soft” faulty condition.
• reboot (5) - Set the chassis to reboot in 1 second.
• fastboot (6) - Set the chassis to fastboot in 1 second. Fastboot
causes the chassis to boot but omit the POST.
When the switch is in faulty state, only two states can be set: faulty
and reboot/fastboot
For the Brocade 3250, 3850, 3900, 8000, 24000, 48000 and DCX
director the testing (3) and faulty (4) values are not applicable.
The possible values for Brocade 300, 5100 and 5300 are either
online (1) or offline (2).
swDiagResult
1.3.6.1.4.1.1588.2.1.1.1.1.20
Read onlyThe desired status of the switch beacon.
Possible values are:
• on (1) - The LEDs on the front panel of the switch run
alternately from left to right and right to left. Set the color to
yellow.
• off (2) - Set each LED to its regular status, indicating color and
state.
swOperStatus
1.3.6.1.4.1.1588.2.1.1.1.1.7
Read onlyThe current operational status of the switch.
Possible values are:
• online (1) - The switch is accessible by an external Fibre
Channel port.
• offline (2) - The switch is not accessible.
• testing (3) - The switch is in a built-in test mode and is not
accessible by an external Fibre Channel port.
• faulty (4) - The switch is not operational.

如果想看交换机有没有配置这个监控,可以使用命令snmpconfig查看。

help snmpconfig可以看到命令使用帮助。

在原帖中查看解决方案

0 项奖励
4 条回复4
Anonymous98
1 Copper

Re: DCX交换机相关

转到解答

MIB这种信息brocade有个文档专门做详细解释,Fabric OS MIB Reference v7.0。

swAdmStatus:用来查询/设置交换机运行状态

swDiagResult:用来提示交换机beacon功能有没有打开

swOperStatus:获取交换机运行状态

下面是我从文档中摘要的信息:

Object and OID Access Description
swAdmStatus
1.3.6.1.4.1.1588.2.1.1.1.1.8
Read-writeThe desired administrative status of the switch. A management
station might place the switch in a desired state by setting this
object accordingly.
Possible values are:
• online (1) - Set the switch to be accessible by an external FC
port.
• offline (2) - Set the switch to be inaccessible.
• testing (3) - Set the switch to run the built-in test.
• faulty (4) - Set the switch to a “soft” faulty condition.
• reboot (5) - Set the chassis to reboot in 1 second.
• fastboot (6) - Set the chassis to fastboot in 1 second. Fastboot
causes the chassis to boot but omit the POST.
When the switch is in faulty state, only two states can be set: faulty
and reboot/fastboot
For the Brocade 3250, 3850, 3900, 8000, 24000, 48000 and DCX
director the testing (3) and faulty (4) values are not applicable.
The possible values for Brocade 300, 5100 and 5300 are either
online (1) or offline (2).
swDiagResult
1.3.6.1.4.1.1588.2.1.1.1.1.20
Read onlyThe desired status of the switch beacon.
Possible values are:
• on (1) - The LEDs on the front panel of the switch run
alternately from left to right and right to left. Set the color to
yellow.
• off (2) - Set each LED to its regular status, indicating color and
state.
swOperStatus
1.3.6.1.4.1.1588.2.1.1.1.1.7
Read onlyThe current operational status of the switch.
Possible values are:
• online (1) - The switch is accessible by an external Fibre
Channel port.
• offline (2) - The switch is not accessible.
• testing (3) - The switch is in a built-in test mode and is not
accessible by an external Fibre Channel port.
• faulty (4) - The switch is not operational.

如果想看交换机有没有配置这个监控,可以使用命令snmpconfig查看。

help snmpconfig可以看到命令使用帮助。

在原帖中查看解决方案

0 项奖励
xulei1
2 Bronze

Re: DCX交换机相关

转到解答

感谢。

其实这个文档我有,里边的介绍看不太明白,

swAdmStatus:用来查询/设置交换机运行状态

swDiagResult:用来提示交换机beacon功能有没有打开

swOperStatus:获取交换机运行状态

AdmStatus和OperStatus就很难理解,如果不正常了,就是说交换机就挂了是吧?不能提供服务了?

交换机beacon功能又是什么功能呢?

0 项奖励
Jun_Tan
3 Zinc

Re: DCX交换机相关

转到解答

2楼回复很详细。

我来回答下楼主新的问题。

首先如果不正常了,交换机就是无法提供服务了。

beacon这个功能在brocade fabric command reference文档里面也有详细描述。功能就是通过让交换机LED灯不停闪烁来诊断和定位。

0 项奖励
xulei1
2 Bronze

Re: DCX交换机相关

转到解答

多谢各位细致的回答,多谢!

0 项奖励