如何在 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 
 

请注意,ro 和rw 组可能分别自动转换为网络操作员网络管理员。  这些术语是可互换的。


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.