CLI Command Reference
snmp-server
This command sets the name and the physical location of the switch, and the organization
responsible for the network. The range for
alphanumeric characters.
Default
Format
Mode
snmp-server community
This command adds (and names) a new SNMP community. A community
associated with the switch and with a set of SNMP managers that manage it with a specified
privileged level. The length of
NOTE:
Default
Format
Mode
no snmp-server community
This command removes this community name from the table. The
name to be deleted.
Format
Mode
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
Format
Mode
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.
310
© 2001- 2008 D-Link Corporation/D-Link Systems, Inc. All Rights Reserved.
none
snmp-server {sysname <name> | location <loc> | contact <con>}
Global Config
<name>
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.
public and private, which you can rename
default values for the remaining four community names are blank
snmp-server community <name>
Global Config
no snmp-server community <name>
Global Config
0.0.0.0
snmp-server community ipaddr <ipaddr> <name>
Global Config
,
and
<name>
<loc>
<con>
can be up to 16 case-sensitive characters.
is from 1 to 31
is a name
<name>
is the community
<name>