IS200CPFXG1A工控模块,模块控制器
蜂窝网关285 6.1.3 SNMP SNMP(简单网络管理协议)是一种协议,旨在使用户能够通过轮询和设置终端值以及监控网络事件来远程管理计算机网络。在典型的SNMP使用中,一台或多台管理计算机(称为管理器)负责监视或管理计算机网络上的一组主机或设备。每个受管系统始终执行一个称为代理的软件组件,该组件通过SNMP向管理器报告信息。SNMP代理将管理数据作为变量传递给受管系统。该协议还允许执行主动管理任务,例如通过远程修改这些变量来修改和应用新配置。通过SNMP访问的变量按层次结构组织。这些层次结构和其他元数据(如变量的类型和描述)由管理信息库(MIB)描述。该设备支持SNMP代理的多个公共MIB和一个私有MIB。支持的MIB如下:MIB-II(RFC 1213,包括IPv6)、IF-MIB、IP-MIB、TCP-MIB、UDP-MIB、SMIv1和SMIv2、SNMPv2-TM和SNMPv2 MIB,以及AMIB(以太网专用MIB)SNMP管理场景场景应用程序定时SNMP网络管理系统(NMS)有两种应用场景。本地NMS位于Intranet中,并管理所有支持SNMP的设备。Ather正在使用远程NMS来管理WAN接口通过交换机或具有UDP转发的路由器连接在一起的设备。EW200工业蜂窝网关286场景描述NMS服务器可以使用SNMP协议监视和控制受管设备,这些设备位于UDP数据包可以从NMS到达的位置。被管理设备向NMS服务器报告紧急陷阱事件。使用SNMPv3版本的协议可以保护SNMP命令和响应的传输。具有特权IP地址的远程NMS可以管理设备,但其他远程NMS不能。参数设置示例下表列出了在LAN和WAN接口上启用“SNMP”的上图中网关1的参数配置示例。对表中未提及的参数使用默认值。配置路径[SNMP]-[Configuration]SNMP Enable LAN WAN Supported Versions v1 v2c v3 Get/Set Community ReadCommunity/WriteCommunity Trap Event Receiver 1 118.18.81.11 WAN Access IP Address 118.18.81.11.配置路径[SSNP]-[User Privacy Definition]ID 1 2 3用户名UserName1 UserName2 UserName3密码密码1密码2禁用身份验证MD5 SHA-1禁用加密DES禁用禁用隐私模式authPriv authPriv authPriv隐私密钥12345678禁用禁用权限读取/写入读取启用启用启用启用场景操作过程在上图中,NMS服务器可以管理Intranet或UDP可访问网络中的多个设备。“网关1”是受管理的设备之一,其IP地址为10.0.75.2(LAN接口)和118.18.81.33(WAN-1接口)。它充当NAT路由器。在第一阶段,NMS管理器为所有被管理设备准备相关信息,并将其记录在NMS系统中。然后,NMS系统通过使用SNMP get命令获取所有受管设备的状态。当管理员想要控制被管理设备时,NMS系统允许使用SNMP设置命令。如果管理员使用SNMPv3协议配置“网关1”,则使用“UserName1”帐户。只有“UserName1”帐户才能让“网关1”接受NMS的配置,因为该帐户的EW200工业蜂窝网关287权限为“读/写”。
Cellular Gateway 285 6.1.3 SNMP SNMP, the Simple Network Management Protocol, is a protocol designed to give a user the capability to remotely manage a computer network by polling and setting terminal values and monitoring network events. In typical SNMP uses, one or more administrative computers, called managers, have the task of monitoring or managing a group of hosts or devices on a computer network. Each managed system executes, at all times, a software component called an agent which reports information via SNMP to the manager. SNMP agents deliver management data to the managed systems as variables. The protocol also permits active management tasks, such as modifying and applying a new configuration through remote modification of these variables. The variables accessible via SNMP are organized in hierarchies. These hierarchies, and other metadata (such as type and description of the variable), are described by Management Information Bases (MIBs). The device supports several public MIBs and one private MIB for the SNMP agent. The supported MIBs are as follow: MIB-II (RFC 1213, Include IPv6), IF-MIB, IP-MIB, TCP-MIB, UDP-MIB, SMIv1 and SMIv2, SNMPv2- TM and SNMPv2-MIB, and AMIB (ETHERWAN Private MIB) SNMP Management Scenario Scenario Application Timing There are two application scenarios for SNMP Network Management Systems (NMS). Local NMS is in the Intranet and manages all devices that support SNMP. Ather is using Remote NMS to manage devices whose WAN interfaces are connected together by a switch or a router with UDP forwarding. EW200 Industrial Cellular Gateway 286 Scenario Description The NMS server can monitor and con the managed devices by using SNMP protocol, and those devices are located at where UDP packets can reach from NMS. The managed devices report urgent trap events to the NMS servers. Use SNMPv3 version of protocol can protected the transmitting of SNMP commands and responses. The remote NMS with privilege IP address can manage the devices, but the other remote NMS can't. Parameter Setup Example Following tables list the parameter configuration as an example for the Gateway 1 in the above diagram with "SNMP" enabling at LAN and WAN interfaces. Use default value for parameters that are t mentioned in the tables. Configuration Path [SNMP]-[Configuration] SNMP Enable LAN WAN Supported Versions v1 v2c v3 Get / Set Community ReadCommunity / WriteCommunity Trap Event Receiver 1 118.18.81.11 WAN Access IP Address 118.18.81.11 Configuration Path [SNMP]-[User Privacy Definition] ID 1 2 3 User Name UserName1 UserName2 UserName3 Password Password1 Password2 Disable Authentication MD5 SHA-1 Disable Encryption DES Disable Disable Privacy Mode authPriv authPriv AuthPriv Privacy Key 12345678 Disable Disable Authority Read/Write Read Read Enable Enable Enable Enable Scenario Operation Procedure In the above diagram, the NMS server can manage multiple devices in the Intranet or a UDP-reachable network. "Gateway 1" is one of the managed devices, and it has the IP address of 10.0.75.2 for LAN interface and 118.18.81.33 for WAN-1 interface. It serves as a NAT router. At first stage, the NMS manager prepares related information for all managed devices and records them in the NMS system. Then NMS system gets the status of all managed devices by using SNMP get commands. When the manager wants to con the managed devices, the NMS system allows for that with SNMP set commands. The "UserName1" account is used if the manager uses SNMPv3 protocol for configuring "Gateway 1". Only the "UserName1" account can let "Gateway 1" accept the configuration from the NMS since the EW200 Industrial Cellular Gateway 287 authority of the account is "Read/Write".