Patton electronic SmartNode 4110 Series Setting allowed host information, Security-name community

Models: SmartNode 4110 Series

1 664
Download 664 pages 15.88 Kb
Page 274
Image 274

SmartWare Software Configuration Guide

25 • SNMP configuration

 

 

Setting allowed host information

If a host has to access SNMP MIB objects on a certain node, it explicitly needs the right to access the SNMP agent. Therefore a host needs an entry, which allows accessing the device. The host is identified by its IP address and has to use a certain community string for security precautions.

Note The community which is to be used as security name to access the MIB objects has to be defined prior to the definition of allowed hosts.

This procedure describes adding a host that is allowed to access the MIB of this system

Mode: Configure

Step

Command

Purpose

 

 

 

1

node(cfg)#snmp host IP-address-of-SNsecurity-

Configures a host that with IP address IP-

 

name community

address-of-SNcan access the MIB, using

 

 

the security name community.

 

 

 

Use the no command option to remove a SNMP allowed host setting.

Example: Setting allowed host information

In the following example the host with IP address 172.16.224.45 shall be able to access the MIB using com- munity public as security name.

node(cfg)#snmp host 172.16.224.45 security-name public

Specifying the default SNMP trap target

An SNMP trap is a message that the SNMP agent sends to a network management station. For example, an SNMP agent would send a trap when an interface's status has changed from up to down. The SNMP agent must know the address of the network management station so that it knows where to send traps. It is possible to define more than one SNMP trap target.

The SNMP message header contains a community field. The SNMP agent uses a defined community name, which is inserted in the trap messages header sent to the target. In most cases the target is a NMS, which only accepts a SNMP message header of a certain community.

This procedure describes how to define a SNMP trap target and enter community name

Mode: Configure

Step

Command

Purpose

 

 

 

1

node(cfg)#snmp target IP-address-of-SN

Configures a SNMP trap target with IP-address-of-

 

security-name community

hostanme SN that receives trap messages using

 

 

the security name community on the target.

 

 

 

Use the no command option to remove s SNMP trap target setting.

Example: Specifying the default SNMP trap target

Setting allowed host information

274

Page 274
Image 274
Patton electronic SmartNode 4110 Series manual Setting allowed host information, Specifying the default Snmp trap target