Skip to content

Commit

Permalink
Built from 90da0fb
Browse files Browse the repository at this point in the history
  • Loading branch information
netappabhinanda authored and IE-Build committed Mar 22, 2024
1 parent 938b764 commit c0efccb
Show file tree
Hide file tree
Showing 12 changed files with 315 additions and 15 deletions.
9 changes: 8 additions & 1 deletion _i18n/zh-cn/dictionary.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3994,7 +3994,6 @@
<block id="354a428ae5bd694cfeccb15e5faecafb" category="sidebar">安装RCF</block>
<block id="c13171629fe31c1238a32f1e3650b982" category="sidebar">安装适用于ONTAP 8.3.1及更高版本的FastPath和RCF</block>
<block id="a8bb0b5314965a8ac1d110202d7aae1f" category="sidebar">安装NX-OS</block>
<block id="72f2a813dae956304645ec60ccd278dd" category="sidebar">安装CSHM</block>
<block id="9c065304d8a82e97da8536d4c7484ee2" category="sidebar">从旧版Cisco交换机迁移</block>
<block id="c95ced7468e70606897322014b89e5b3" category="section-title">第3步:将NX-OS映像复制到Cisco交换机S2并重新启动</block>
<block id="04677d95852adc11088eca251913d172" category="list-text">将NX-OS映像复制到交换机S2。</block>
Expand Down Expand Up @@ -4740,4 +4739,12 @@
<block id="5851bb17419faa449f719ec90fe12181" category="list-text">【第 7 步】将共享交换机 A 上的存储 RCF 替换为共享 RCF 文件。请参见 <block ref="2e5583639979312d3d691c4092c19d52" category="inline-link-macro-rx"></block> 了解更多详细信息。</block>
<block id="ea9f3090e45d8199fc92892a96dd0214" category="list-text">【第 13 步】将共享交换机 B 上的存储 RCF 文件替换为共享 RCF 文件。请参见 <block ref="2e5583639979312d3d691c4092c19d52" category="inline-link-macro-rx"></block> 了解更多详细信息。</block>
<block id="779f2e1ced3dc42aa441f71771bcb993" category="list-text">【第 16 步】将 HA 对 1 从无交换机集群转换为有交换机集群。使用共享 RCF 定义的集群端口分配。请参见 <block ref="2e68fbe1bf6d8e813f758c3b7509ff6f" category="inline-link-macro-rx"></block>了解更多详细信息。</block>
<block id="3e4a731a25f6cb42856b944eca270383" category="paragraph"><block ref="69a3b5b5b3e87ce1bcae2811d815d9de" category="inline-link-macro-rx"></block>。</block>
<block id="a11987d46687611ce124e7db3e587d99" category="list-text">对于*no authentication (无身份验证)*:<block ref="ba6af8270ffe8be26bb38b923ee39375" prefix=" " category="inline-code"></block></block>
<block id="00a862cbf647531bcc4b5bf9faba74e4" category="list-text">对于*MD5/SHA身份验证*:<block ref="31b98def7e9f7bb02cdfd9ac87afcda4" prefix=" " category="inline-code"></block></block>
<block id="7286c151c11606a97b24bba616cce292" category="list-text">对于采用AES/DES加密的*MD5/SHA身份验证*:<block ref="6a48e8cc740517cd540e6de4c0a5585b" prefix=" " category="inline-code"></block></block>
<block id="e7d18f4dea6cb0b4877fd6a9e25a2411" category="paragraph"><block ref="e3949fbf38af37f5381ecfa4e157ffa8" prefix="" category="inline-code"></block></block>
<block id="7733a6a16b4fa24d09c107d2b3eefb78" category="summary">集群交换机运行状况监控器日志收集功能用于在 ONTAP 中收集交换机相关的日志文件。您必须确保已使用92300YC集群交换机命令行界面设置环境、详细信息请参见。</block>
<block id="e7c823ebcf9c688c2043749093639ce5" category="paragraph">以下命令可在Cisco 92300YC交换机上配置SNMPv3用户名:</block>
<block id="d60c463bb4096f3ed4bd1618626dfe10" category="paragraph-title">故障排除</block>
</blocks>
11 changes: 7 additions & 4 deletions switch-bes-53248/CSHM_snmpv3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ summary: 'SNMPv3可与以太网交换机运行状况监控器(CSHM)结合使用
.关于此任务
以下命令可在Broadcom BES-53248交换机上配置SNMPv3用户名:

* 对于*无身份验证*:`net add snmp-server username _SNMPv3用户_ auth-none`
* 对于* MD5/SHA身份验证*:`net add snmp-server username _SNMPv3用户_[auth-md5_auth-sha]_AUTH-password_`
* 对于采用AES/DES加密的* MD5/SHA身份验证*:`net add snmp-server username _SNMPv3用户_[auth-md5_auth-sha]_AUTH-password_[encrypt-AES_encrypt-des]_PRIV-password_`
* 对于*no authentication (无身份验证)*:
`snmp-server user SNMPv3UserNoAuth NETWORK-OPERATOR noauth`
* 对于*MD5/SHA身份验证*:
`snmp-server user SNMPv3UserAuth NETWORK-OPERATOR [auth-md5|auth-sha]`
* 对于采用AES/DES加密的*MD5/SHA身份验证*:
`snmp-server user SNMPv3UserAuthEncrypt NETWORK-OPERATOR [auth-md5|auth-sha] [priv-aes128|priv-des]`


以下命令会在ONTAP 端配置SNMPv3用户名:`cluster1:::*> security login create -user-or-group-name _SNMPv3用户_-application snmp -authentication-method USM -remote-switch-ipaddress _address_`
Expand All @@ -29,7 +32,7 @@ summary: 'SNMPv3可与以太网交换机运行状况监控器(CSHM)结合使用
.步骤
. 在交换机上设置SNMPv3用户以使用身份验证和加密:
+
`net show snmp status`
`show snmp status`

+
.显示示例
Expand Down
4 changes: 2 additions & 2 deletions switch-bes-53248/configure-ssh.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
permalink: switch-bes-53248/configure-ssh.html
sidebar: sidebar
keywords: ssh, requirement, cluster, switch, health, monitor, chsm, log, collection, feature, bes, enable ssh on bes-53248 cluster switches - bes-53248 switches
keywords: ssh, requirement, cluster, switch, health, monitor, cshm, log, collection, feature, bes, enable ssh on bes-53248 cluster switches - bes-53248 switches
summary: 使用集群交换机运行状况监控器( CSHM )和日志收集功能时需要使用 SSH 。要在 BES-53248 集群交换机上启用 SSH ,请先生成 SSH 密钥,然后再启用 SSH 。
---
= 在 BES-53248 集群交换机上启用 SSH
Expand Down Expand Up @@ -119,4 +119,4 @@ SCP server Administrative Mode: ............... Enabled


.下一步是什么?
link:configure-log-collection.html["启用日志收集功能"]。
link:CSHM_log_collection.html["启用日志收集"]。
2 changes: 1 addition & 1 deletion switch-cisco-3132q-v/CSHM__snmpv3.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
permalink: switch-cisco-3132q-v/CSHM_snmpv3.html
sidebar: sidebar
keywords: SNMP,SNMPv3,SNMPv3 setup,BES-53248 Broadcom setup,BES-3248 switches configuration,EFOS
keywords: SNMP,SNMPv3,SNMPv3 setup,Cisco setup,3132q-v switches configuration,NX-OS
summary: 'SNMPv3可与以太网交换机运行状况监控器(CSHM)结合使用。'
---
= 配置SNMPv3
Expand Down
2 changes: 1 addition & 1 deletion switch-cisco-3132q-v/CSHM_log_collection.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
permalink: switch-cisco-3132q-v/CSHM_log_collection.html
sidebar: sidebar
keywords: log collection feature,collect switch-related log files,SSh key,crypto key generation
summary: 集群交换机运行状况监控器日志收集功能用于在 ONTAP 中收集交换机相关的日志文件。您必须确保已使用9336c-拧 动集群交换机命令行界面设置环境、详细信息请参见。
summary: 集群交换机运行状况监控器日志收集功能用于在 ONTAP 中收集交换机相关的日志文件。您必须确保已使用92300YC集群交换机命令行界面设置环境、详细信息请参见。
---
= 以太网交换机运行状况监控日志收集
:allow-uri-read:
Expand Down
2 changes: 1 addition & 1 deletion switch-cisco-3232c/CSHM__snmpv3.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
permalink: switch-cisco-3232c/CSHM_snmpv3.html
sidebar: sidebar
keywords: SNMP,SNMPv3,SNMPv3 setup,BES-53248 Broadcom setup,BES-3248 switches configuration,EFOS
keywords: SNMP,SNMPv3,SNMPv3 setup,Cisco setup,Cisco switches configuration,NX-OS
summary: 'SNMPv3可与以太网交换机运行状况监控器(CSHM)结合使用。'
---
= 配置SNMPv3
Expand Down
158 changes: 158 additions & 0 deletions switch-cisco-92300/CSHM__snmpv3.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
---
permalink: switch-cisco-92300/CSHM_snmpv3.html
sidebar: sidebar
keywords: SNMP,SNMPv3,SNMPv3 setup,Cisco setup,Cisco switches configuration,NX-OS
summary: 'SNMPv3可与以太网交换机运行状况监控器(CSHM)结合使用。'
---
= 配置SNMPv3
:allow-uri-read:
:icons: font
:imagesdir: ../media/


[role="lead"]
按照此操作步骤配置SNMPv3、此SNMPv3支持以太网交换机运行状况监控(CSHM)。

.关于此任务
以下命令可在Cisco 92300YC交换机上配置SNMPv3用户名:

* 对于*no authentication (无身份验证)*:
`snmp-server user _SNMPv3_USER_ NoAuth`
* 对于*MD5/SHA身份验证*:
`snmp-server user _SNMPv3_USER_ auth [md5|sha] _AUTH-PASSWORD_`
* 对于采用AES/DES加密的*MD5/SHA身份验证*:
`snmp-server user _SNMPv3_USER_ AuthEncrypt auth [md5|sha] _AUTH-PASSWORD_ priv aes-128 _PRIV-PASSWORD_`


以下命令会在ONTAP 端配置SNMPv3用户名:`cluster1:::*> security login create -user-or-group-name _SNMPv3用户_-application snmp -authentication-method USM -remote-switch-ipaddress _address_`

以下命令将使用CSHM建立SNMPv3用户名:
`cluster1::*> system switch ethernet modify -device _DEVICE_ -snmp-version SNMPv3 -community-or-username _SNMPv3_USER_`

.步骤
. 在交换机上设置SNMPv3用户以使用身份验证和加密:
+
`show snmp user`

+
.显示示例
[%collapsible]
====
[listing, subs="+quotes"]
----
(sw1)(Config)# *snmp-server user SNMPv3User auth md5 <auth_password> priv aes-128 <priv_password>*
(sw1)(Config)# *show snmp user*
-----------------------------------------------------------------------------
SNMP USERS
-----------------------------------------------------------------------------
User Auth Priv(enforce) Groups acl_filter
----------------- --------------- --------------- --------------- -----------
admin md5 des(no) network-admin
SNMPv3User md5 aes-128(no) network-operator
-----------------------------------------------------------------------------
NOTIFICATION TARGET USERS (configured for sending V3 Inform)
-----------------------------------------------------------------------------
User Auth Priv
----------------- ------------------ ------------
(sw1)(Config)#
----
====
. 在ONTAP 端设置SNMPv3用户:
+
`security login create -user-or-group-name <username> -application snmp -authentication-method usm -remote-switch-ipaddress 10.231.80.212`

+
.显示示例
[%collapsible]
====
[listing, subs="+quotes"]
----
cluster1::*> *system switch ethernet modify -device "sw1 (b8:59:9f:09:7c:22)" -is-monitoring-enabled-admin true*
cluster1::*> *security login create -user-or-group-name <username> -application snmp -authentication-method usm -remote-switch-ipaddress 10.231.80.212*
Enter the authoritative entity's EngineID [remote EngineID]:
Which authentication protocol do you want to choose (none, md5, sha, sha2-256)
[none]: *md5*
Enter the authentication protocol password (minimum 8 characters long):
Enter the authentication protocol password again:
Which privacy protocol do you want to choose (none, des, aes128) [none]: *aes128*
Enter privacy protocol password (minimum 8 characters long):
Enter privacy protocol password again:
----
====
. 将CSHM配置为使用新SNMPv3用户进行监控:
+
`system switch ethernet show-all -device "sw1" -instance`

+
.显示示例
[%collapsible]
====
[listing, subs="+quotes"]
----
cluster1::*> *system switch ethernet show-all -device "sw1" -instance*
Device Name: sw1
IP Address: 10.231.80.212
SNMP Version: SNMPv2c
Is Discovered: true
SNMPv2c Community String or SNMPv3 Username: cshm1!
Model Number: N9K-C92300YC
Switch Network: cluster-network
Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 9.3(7)
Reason For Not Monitoring: None *<---- displays when SNMP settings are valid*
Source Of Switch Version: CDP/ISDP
Is Monitored ?: true
Serial Number of the Device: QTFCU3826001C
RCF Version: v1.8X2 for Cluster/HA/RDMA
cluster1::*>
cluster1::*> *system switch ethernet modify -device "sw1" -snmp-version SNMPv3 -community-or-username <username>*
cluster1::*>
----
====
. 确认要使用新创建的SNMPv3用户查询的序列号与CSHM轮询周期完成后上一步中详述的序列号相同。
+
`system switch ethernet polling-interval show`

+
.显示示例
[%collapsible]
====
[listing, subs="+quotes"]
----
cluster1::*> *system switch ethernet polling-interval show*
Polling Interval (in minutes): 5
cluster1::*> *system switch ethernet show-all -device "sw1" -instance*
Device Name: sw1
IP Address: 10.231.80.212
SNMP Version: SNMPv3
Is Discovered: true
SNMPv2c Community String or SNMPv3 Username: SNMPv3User
Model Number: N9K-C92300YC
Switch Network: cluster-network
Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 9.3(7)
Reason For Not Monitoring: None *<---- displays when SNMP settings are valid*
Source Of Switch Version: CDP/ISDP
Is Monitored ?: true
Serial Number of the Device: QTFCU3826001C
RCF Version: v1.8X2 for Cluster/HA/RDMA
cluster1::*>
----
====

128 changes: 128 additions & 0 deletions switch-cisco-92300/CSHM_log_collection.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
---
permalink: switch-cisco-92300/CSHM_log_collection.html
sidebar: sidebar
keywords: log collection feature,collect switch-related log files,SSh key,crypto key generation,92300YC Cisco setup,92300YC switches configuration,NX-OS
summary: '以太网交换机运行状况监控器(CSHM)日志收集功能用于从ONTAP中的集群或存储网络交换机收集日志。'
---
= 以太网交换机运行状况监控日志收集
:allow-uri-read:
:icons: font
:imagesdir: ../media/


[role="lead"]
以太网交换机运行状况监控器(CSHM)负责确保集群和存储网络交换机的运行状况、并收集交换机日志以进行调试。此操作步骤将引导您完成设置和开始从交换机收集详细的*Support*日志的过程,并开始每小时收集由AutoSupport收集的*定期*数据。

.步骤
. 要设置日志收集、请对每个交换机运行以下命令。系统会提示您输入交换机名称、用户名和密码以收集日志。
+
`s系统交换机以太网日志设置密码`

+
.显示示例
[%collapsible]
====
[listing, subs="+quotes"]
----
cluster1::*> *system switch ethernet log setup-password*
Enter the switch name: *<return>*
The switch name entered is not recognized.
Choose from the following list:
*cs1*
*cs2*
cluster1::*> *system switch ethernet log setup-password*
Enter the switch name: *cs1*
Would you like to specify a user other than admin for log collection? {y|n}: *n*
Enter the password: *<enter switch password>*
Enter the password again: *<enter switch password>*
cluster1::*> *system switch ethernet log setup-password*
Enter the switch name: *cs2*
Would you like to specify a user other than admin for log collection? {y|n}: *n*
Enter the password: *<enter switch password>*
Enter the password again: *<enter switch password>*
----
====
. 要开始收集日志、请运行以下命令、将device替换为上一命令中使用的交换机。这将开始两种类型的日志收集:详细的*Support*日志和每小时收集*定期*数据。
+
`system switch ethernet log modify -device _<switch-name>_ -log-request true`

+
.显示示例
[%collapsible]
====
[listing, subs="+quotes"]
----
cluster1::*> *system switch ethernet log modify -device cs1 -log-request true*
Do you want to modify the cluster switch log collection configuration? {y|n}: [n] *y*
Enabling cluster switch log collection.
cluster1::*> *system switch ethernet log modify -device cs2 -log-request true*
Do you want to modify the cluster switch log collection configuration? {y|n}: [n] *y*
Enabling cluster switch log collection.
----
====
+
等待10分钟、然后检查日志收集是否完成:

+
`system switch ethernet log show`

+

CAUTION: 如果其中任一命令返回错误或日志收集未完成、请联系NetApp支持部门。



.故障排除
如果遇到日志收集功能报告的以下任一错误状态(在的输出中可见) `system switch ethernet log show`)、请尝试相应的调试步骤:

|===


| *日志收集错误状态* | *分辨率*


a|
*RSA密钥不存在*
a|
重新生成ONTAP SSH密钥。请联系NetApp支持部门。



a|
*交换机密码错误*
a|
验证凭据、测试SSH连接并重新生成ONTAP SSH密钥。查看交换机文档或联系NetApp支持部门以获取相关说明。



a|
*对于FIPS*,ECDSA密钥不存在
a|
如果启用了FIPS模式、则需要在重试之前在交换机上生成ECDSA密钥。



a|
*已找到已有日志*
a|
删除交换机上先前的日志收集文件。



a|
*交换机转储日志错误*
a|
确保交换机用户具有日志收集权限。请参阅上述前提条件。

|===
6 changes: 4 additions & 2 deletions switch-cisco-92300/sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ entries:
url: "/switch-cisco-92300/install-nxos-software.html"
- title: 安装RCF配置文件
url: "/switch-cisco-92300/install-the-rcf-file.html"
- title: 安装CSHM
url: "/switch-cisco-92300/setup-install-cshm-file.html"
- title: 启用日志收集
url: "/switch-cisco-92300/CSHM_log_collection.html"
- title: 配置SNMPv3以进行监控
url: "/switch-cisco-92300/CSHM_snmpv3.html"
- title: 迁移交换机
pdf-filename: migration_switchs_923.00年
entries:
Expand Down
2 changes: 1 addition & 1 deletion switch-cisco-9336c-fx2/CSHM__snmpv3.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
permalink: switch-cisco-9336c-fx2/CSHM_snmpv3.html
sidebar: sidebar
keywords: SNMP,SNMPv3,SNMPv3 setup,BES-53248 Broadcom setup,BES-3248 switches configuration,EFOS
keywords: SNMP,SNMPv3,SNMPv3 setup,Cisco setup, 9336C-FX2 switches configuration, NX-OS
summary: 'SNMPv3可与以太网交换机运行状况监控器(CSHM)结合使用。'
---
= 配置SNMPv3
Expand Down
Loading

0 comments on commit c0efccb

Please sign in to comment.