如何在Brocade交换机上将运行状况监控从SNMPv1或SNMPv2更改为SNMPv3?
适用场景
- MetroCluster
- Brocade
- 运行状况监控器
问题描述
此操作步骤说明如何将MetroCluster 后端中Brocade交换机的运行状况监控从SNMPv1或SNMPv1更改为SNMPv3。
操作步骤
从运行状况监控中删除交换机
- 列出使用SNMPv1或SNMPv2的所有交换机。
- 对于最新的ONTAP版本:
::>system switch fibre-channel show -snmp-version !SNMPv3
- 对于较旧的ONTAP版本
::>storage switch show -snmp-version !SNMPv3
- 对于最新的ONTAP版本:
ClusterA::> system switch fibre-channel show -snmp-version !SNMPv3
Symbolic Is Monitor
Switch Name Vendor Model Switch WWN Monitored Status
--------------------- -------- ------- ----- ---------------- --------- -------
Brocade_10.10.10.1
switch1
Brocade Brocade6510
1000c4f57c46affe true ok
Brocade_10.10.10.2
switch2
Brocade Brocade6510
1000c4f57c46bffe true ok
2 entries were displayed.
- 从运行状况监控中删除交换机:
- 对于最新的ONTAP版本:
::>system switch fibre-channel remove -switch-name Brocade_10.10.10.1
- 对于较旧的ONTAP版本
::>storage switch remove -switch-name Brocade_10.10.10.1
- 对于最新的ONTAP版本:
使用SNMPv3将交换机添加到运行状况监控
- 配置ONTAP以使用SNMPv3监控交换机:
- [1] 使用以下命令将交换机添加到监控:
- 对于最新的ONTAP版本:
::>system switch fibre-channel add -address <switch_IP> -snmp-community-or-username <snmpv3user> -snmp-version SNMPv3
- 对于较旧的ONTAP版本
::>storage switch add -address <switch_IP> -snmp-community-or-username <snmpv3user> -snmp-version SNMPv3
- 对于最新的ONTAP版本: