Allied Telesis AT-S100 User Manual
Page 61
![background image](/manuals/427399/61/background.png)
AT-S100 Management Software User’s Guide
61
To create an SNMP community called public with an access level of Read
only, enter the following commands:
switch# configure terminal
switch(config)# snmp-server community public ro
For more information about this command, see “SNMP-SERVER
COMMUNITY” on page 228.
Adding Management and Trap Receiver Addresses
A trap is a signal sent to one or more management workstations by the
switch to indicate the occurrence of a particular operating event on the
device. There are numerous operating events that can trigger a trap. For
instance, resetting the switch or the failure of a cooling fan are two
examples of occurrences that cause a switch to send a trap to the
management workstations. You can use traps to monitor activities on the
switch.
Trap receivers are the devices, typically management workstations or
servers, that you want to receive the traps sent by the switch. You specify
the trap receivers by their IP addresses. You assign the IP addresses to
the community strings.
Each community string can have up to eight trap IP addresses.
It does not matter which community strings you assign your trap receivers.
When the switch sends a trap, it looks at all the community strings and
sends the trap to all trap receivers on all community strings. This is true
even for community strings that have a access mode of only Read.
If you are not interested in receiving traps, then you do not need to enter
the IP addresses of trap receivers.
To add a management and trap receiver IP address, enter the following
commands:
switch# config t
switch(config)# snmp-server host
1|2c
snmp-server host 192.168.1.2 version 1 public
snmp-server host 192.168.1.2 version 1 trap
For more information about all of the SNMP commands, see Chapter 9,
“Simple Network Management Protocol (SNMP) Commands” on page
227.