
Setting allowed host information
232
IPLink Software Configuration Guide
20 • SNMP configuration
In the following example the SNMP communities for the default community public with read-only access and
the undisclosed community Not4evEryOne with read/write access are defined. Only these valid communities
have access to the information from the SNMP agent running on the respective IPLink device.
2803-01(cfg)#snmp community public ro
2803-01(cfg)#snmp community Not4evEryOne rw
Note
If no community is set on your IPLink accessing any of the MIB objects is
not possible!
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 on the respective IPLink device. Therefore a host needs an entry on an IPLink device, which allows
accessing the device. The host is identified by its IP address and has to use a certain community string for secu-
rity 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 of this IPLink
device using community public as security name.
2803-01(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 running on an IPLink device sends to a network manage-
ment 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 running on an IPLink device 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
Step
Command
Purpose
1
node(cfg)#snmp host
IP-address-of-node
security-
name
community
Configures a host that with IP address
IP-
address-of-node
can access the MIB of this
IPLink device, using the security name
com-
munity
.