Alliedware plus command – Allied Telesis AT-S63 User Manual
Page 131
AT-S63 Management Software Command Line User’s Guide
Section I: Basic Features
131
The following command adds the IP address 149.212.10.11 as a trap
receiver to the “public” community string:
add snmp community=public traphost=149.212.10.11
AlliedWare Plus
Command
Syntax
snmp-server host
ipaddress
trap
community_string
|
informs
community_string
Mode
Configure mode
Description
The IPADDRESS parameter specifies the IP address of a network node to
be assigned as a trap receiver or a manager of a community string on the
switch. If you want the node to be a trap receiver, use the TRAP parameter
and specify a community string. If you want the node to be able to manage
the switch, use the INFORMS parameter to specify the community string
through which the node should access the switch. You use the INFORMS
parameter only for strings that have a closed status.
You cannot specify both the TRAP parameter and the INFORMS
parameter in the same command. If an IP address is to be both a trap
receiver and a manager of a community string, you must enter this
command twice.
Examples
This example assigns the IP address 149.44.12.44 as a trap receiver to
the private community string:
awplus> enable
awplus# configure terminal
awplus(config)# snmp-server host 149.44.12.44 trap private
This example assigns the IP address 124.112.32.7 as a manager to the
community string “mgr142a” which has a closed status. This enables the
node of the IP address to manage the switch through the community
string:
awplus> enable
awplus# configure terminal
awplus(config)# snmp-server host 124.112.32.7 informs
mgr142a
This example assigns the IP address 152.34.32.18 as both a trap receiver
and a manager to the community string “tlpaac:”