Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在 Dell EMC Networking N 系列交换机上配置 SNMP

Summary: 如何在 Dell EMC Networking N 系列交换机上配置 SNMP

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

简介

本文讨论在戴尔 N 系列交换机上配置 SNMP 的步骤。

SNMP 的组件

SNMP 管理器

SNMP 代理

团体字符串

SNMP 管理器

  • SNMP 管理器通常是用于运行一个或多个网络管理系统 (NMS) 的计算机。
  • SNMP 管理器负责 SNMP 代理实施的网络设备之间的通信。(交换机、路由器、服务器等)

SNMP 代理

  • SNMP 代理是打包在网元(交换机、路由器、服务器等)中的程序。
  • 在网元上启用代理程序将允许它从设备收集信息,并在查询时使这些信息可供 SNMP 管理器使用。

团体字符串

  • SNMP 社区字符串类似于与每个 SNMP 请求一起发送的用户 ID 或密码,允许或拒绝对网元(交换机、路由器、服务器等)的访问。
  • 如果社区字符串正确,设备将使用请求的信息进行响应。如果社区字符串不正确,设备将直接忽略该请求。

SNMP 代理程序和管理器

SLN317470_en_US__1image(12036)


用于实施 SNMP 的命令

交换机命令 描述
Console#Configure 进入交换机配置模式
Console(Config)#snmp-server community “community string” ro/ rw 创建社区字符串并指定
管理站是只读(获取状态配置)还是读/写(获取和设置配置)
控制台(配置)#snmp-服务器启用全部陷阱 允许陷阱在触发时发送到管理站
Console(Config)#snmp-server host xx.xx.xx.xx “community string” 配置在触发事件时将陷阱发送到的主机和社区字符串
 
 

 

SLN317470_en_US__2icon 启用 SNMP 后,交换机默认运行版本 V2c。

 


SNMP 配置示例

Console#configure

console(config)#snmp-server 社区测试 RO

输出示例

控制台(配置)#show SNMP

Community-StringCommunity-Access View Name IP Address IP Mask

-------------------- ---------------- ---------------- ---------------- ----------------

test Read Only Default All All

 

团体字符串组名称 IP 地址 IP 掩码

-------------------- ------------------------------ ---------------- ----------------

test DefaultRead All All

Article Properties


Affected Product

PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, PowerSwitch N4000 Series

Last Published Date

21 Feb 2021

Version

3

Article Type

Solution