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 read-only or read-write access, respectively. If an IP address is specified, then the community name is valid only for SNMP requests issued from that IP address. (It should be noted that this can be rather weak security, since it is possible for the source address of IP packets to be forged.) The same community name can be configured several times with different IP addresses, to allow access with the same community name from a number of different machines. The number of access records (community names paired with optional IP addresses) that can be configured is limited only by available memory.

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

Page 117
Image 117
Heritage Kayaks Heritage Series manual Commands for Snmp configuration, Access