Dell Networking N 系列交换机:如何配置 SNMP
Summary: 如何在 Dell Networking N 系列交换机上配置简单网络管理协议 (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.
Symptoms
简介
本文讨论在戴尔 N 系列交换机上配置 SNMP 的步骤。
SNMP 的组件
- SNMP 管理器
- SNMP 代理
- 团体字符串
SNMP 管理器
- SNMP 管理器通常是用于运行一个或多个网络管理系统 (NMS) 的计算机。
- SNMP 管理器负责与网络设备上的 SNMP 代理进行通信。(交换机、路由器、服务器等)
SNMP 代理
- SNMP 代理是封装在网元(交换机、路由器、服务器等)中的程序。
- 在网元上启用代理程序将允许它从设备收集信息,并在查询时使这些信息可供 SNMP 管理器使用。
团体字符串
- SNMP 社区字符串类似于随每个 SNMP 请求一起发送的用户 ID 或密码,允许或拒绝对网元(交换机、路由器、服务器等)的访问。
- 如果社区字符串正确,设备将使用请求的信息进行响应。如果社区字符串不正确,设备将直接忽略该请求。
SNMP 代理程序和管理器

用于实施 SNMP 的命令
| 交换机命令 | 描述 |
console# configure |
进入交换机配置模式。 |
console(config)# snmp-server community "community string" [ro | rw] |
创建社区字符串并指定管理站是只读(获取状态配置)还是读/写(获取和设置配置) |
console(config)# snmp-server enable traps all |
启用陷阱在触发时发送到管理站。 |
console(config)# snmp-server host xx.xx.xx.xx "community string" |
配置在触发事件时将陷阱发送到的主机和社区字符串。 |
启用 SNMP 后,交换机默认运行版本 V2c。
SNMP 配置示例
console# configure
console(config)# snmp-server community test ro
输出示例
console(config)# show snmp
Community-String Community-Access View Name IP Address IP Mask
-------------------- ---------------- ---------------- ---------------- ----------------
test Read Only Default All All
Community-String Group Name IP Address IP Mask
-------------------- ------------------------------ ---------------- ----------------
test DefaultRead All AllCause
。
Resolution
。
Affected Products
PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, PowerSwitch N4000 SeriesArticle Properties
Article Number: 000135459
Article Type: Solution
Last Modified: 10 Apr 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.