Download D-Link DES-3226L System information
Transcript
Setup and Management Commands 43 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. Community names in the SNMP Community Table must be unique. If you make multiple entries using the same community name, the first entry is kept and processed and all duplicate entries are ignored. Default Two default community names: Public and Private. You can replace these default community names with unique identifiers for each community. The default values for the remaining four community names are blank. Format snmp-server community <name> Mode Global Config no snmp-server community This command removes this community name from the table. The <name> is the community name to delete. Format no snmp-server community <name> Mode Global Config 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 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 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.