2 snmp-server community, 3 snmp-server community ipaddr, 4 snmp-server community ipmask – Kontron AT8402 CLI User Manual
Page 206: Snmp-server community - 16, Snmp-server community ipaddr - 16, Snmp-server community ipmask - 16, Management commands at8402
Management Commands
AT8402
AT8402 CLI Reference Manual
Page 5 - 16
5.6.2
snmp-server community
This command adds (and names) a new SNMP community. A community <name> is a
name associated with the switch and with a set of SNMP managers that manage it with
a specified privileged level. The length of <name> can be up to 16 case-sensitive
characters.
NOTE: Community names in the SNMP Community Table must be unique.
When making multiple entries using the same community name, the
first entry is kept and processed and all duplicate entries are ignored.
Default
public and private, which you can rename
default values for the remaining four community names are blank
Format
snmp-server community
<name>
Mode
Global Config
5.6.2.1
no snmp-server community
This command removes this community name from the table. The <name> is the
community name to be deleted.
Format
no snmp-server community
<name>
Mode
Global Config
5.6.3
snmp-server community ipaddr
This command sets a client IP address for an SNMP community. The address is the
associated community SNMP packet sending address and is used along with the client
IP mask value to denote a range of IP addresses from which SNMP clients may use that
community to access the device. A value of 0.0.0.0 allows access from any IP address.
Otherwise, this value is ANDed with the mask to determine the range of allowed client
IP addresses. The name is the applicable community name.
Default
0.0.0.0
Format
snmp-server community ipaddr
<ipaddr> <name>
Mode
Global Config
5.6.3.1
no snmp-server community ipaddr
This command sets a client IP address for an SNMP community to 0.0.0.0. The name is
the applicable community name.
Format
no snmp-server community ipaddr
<name>
Mode
Global Config
5.6.4
snmp-server community ipmask
This command sets a client IP mask for an SNMP community. The address is the
associated community SNMP packet sending address and is used along with the client
IP address value to denote a range of IP addresses from which SNMP clients may use
that community to access the device. A value of 255.255.255.255 will allow access
from only one station, and will use that machine's IP address for the client IP address.
A value of 0.0.0.0 will allow access from any IP address. The name is the applicable
community name.