7-52
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
Содержание Bridge/ Heritage
Страница 1: ...Heritage Series ADSL Bridge Router Heritage Series Multi Mode xDSL Router User s Manual Dec 2003 ...
Страница 15: ...1 10 Introduction ...
Страница 31: ...2 16 Installing and Configuring your xDSL Router ...
Страница 43: ...3 12 Basic Configurations ...
Страница 58: ...Heritage Series ADSL Bridge Router 4 13 Advanced Configurations pptp bind none config save restart ...
Страница 59: ...4 14 Advanced Configurations ...
Страница 63: ...5 4 Managing the xDSL Router ...
Страница 65: ...6 2 xDSL Link Performance Statistics ...
Страница 123: ...7 58 Command Sets for Command Line Interface ...
Страница 141: ...8 18 DHCP Server Operation ...
Страница 149: ...9 8 DHCP Client Configuration ...