
112 | Command Sets for Command Line Interface |
Commands for SNMP configuration
1. access
Syntax:
access [read write] <community> [<IP addr>] access delete <community> [<IP addr>] access flush
access list
Description:
The “read” and “write” options configure a community name that can be used for
The “delete” option deletes an access record. The IP address must match exactly; if it is not specified, only a matching access record that has no IP address will be deleted. The “flush” option deletes all access records. The “list” option lists the access records. Configuration saving saves the access records.
By default, if there are no access records in the snmpinit file, no SNMP management is allowed.
Example:
DSL> snmp access list access read public access write password
DSL> snmp access write xyzzy 192.168.4.73
DSL> snmp access delete password
DSL> snmp access list access read public
access write xyzzy 192.168.4.73