我要如何在 MDS 和 Nexus 交換器上設定 SNMP 社群字串以進行讀取、寫入存取?

Summary: 我要如何在 MDS 和 Nexus 交換器上設定 SNMP 社群字串以進行讀取、寫入存取?

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

問題

我要如何在 MDS 和 Nexus 交換器上設定 SNMP 社群字串?

事實

Cisco MDS 交換器
Cisco Nexus 交換
器 SNMP
社群字串

回答

為讀取/寫入存取設定 SNMP 社群字串的適當命令,即其他系統用來存取交換器的功能 (例如 VCE Vision) 是snmp-server 社群
Syntax:
snmp-server community name group {ro | rw}

Example:
switch(config)# snmp-server community public ro 
 

請注意,rorw群組可能會分別自動轉換為網路操作員網路系統管理員。  這些條款可互換使用。


SNMP 設陷是透過snmp-server 主機命令進行設定,也需要社群字串值才能與設陷一起傳送。  此命令不會設定或啟用用於讀取/寫入存取的 SNMP 社群字串。


另請參閱:Nexus 5000 CLI 組態指南 協力廠商連結

Additional Information

VCE 系統 全部
元件 MDS、Nexus

Affected Products

Connectrix MDS-Series
Article Properties
Article Number: 000204944
Article Type: How To
Last Modified: 18 Apr 2023
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.