Patton electronic SmartNode 4110 Series IP Phone User Manual


 
Setting allowed host information 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
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
Use the
no command option to remove s SNMP trap target setting.
Example: Specifying the default SNMP trap target
Step Command Purpose
1 node(cfg)#snmp host IP-address-of-SN security-
name community
Configures a host that with IP address IP-
address-of-SN can access the MIB, using
the security name community.
Step Command Purpose
1 node(cfg)#snmp target IP-address-of-SN
security-name community
Configures a SNMP trap target with IP-address-of-
hostanme SN that receives trap messages using
the security name community on the target.