Add snmp community – Allied Telesis AT-S63 User Manual
Page 90

Chapter 6: SNMPv2 and SNMPv2c Commands
90
Section I: Basic Features
ADD SNMP COMMUNITY
Sy nt a x
add snmp community="
community
" [traphost=
ipaddress
]
[manager=
ipaddress
]
Pa r a me t e r s
community
Specifies an existing SNMP community string on the
switch. This parameter is case sensitive. The name
must be enclosed in double quotes if it contains a
space or special character such as an exclamation
point. Otherwise, the quotes are optional.
traphost
Specifies the IP address of a trap receiver.
manager
Specifies the IP address of a management station to
have SNMP access to the switch using the
community string.
De s c r i pt i on
This command adds the IP address of a trap receiver or a management
station to an existing community string.
The TRAPHOST parameter specifies a trap receiver for the SNMP
community string. This is the IP address of a device to which traps
generated by the switch are sent. A community string can have up to eight
IP addresses of trap receivers, but only one can be added at a time with
this command.
The MANAGER parameter specifies a management station to be allowed
SNMP management access to the switch using the community string. This
parameter applies only to community strings with a closed status. A
community string can have up to eight IP addresses of management
stations, but only one can be added at a time with this command.
To create a new community string, refer to “CREATE SNMP
COMMUNITY” on page 92. To view the current community strings, refer to
“SHOW SNMP” on page 106.
Exa mpl e s
The following command permits access by a management station with the
IP address 149.212.11.22 to the switch through the “private” community
string:
add snmp community=private manager=149.212.11.22