Allied Telesis AT-iMG634 - R2 User's Guide Page 137

  • Download
  • Add to my manuals
  • Print
  • Page
    / 998
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 136
Examples SNMP
1-105
iMG/RG Software Reference Manual (System Configuration)
FIGURE 1-24 snmpTargetAddrTMask (continued)
Therefore, to not be rejected, the source address of an incoming SNMP request must be 192.147.142.xxx
where ‘xxx’ is a value between 0 (expressed as ‘00000000’in binary) and 127 (expressed as ‘01111111’ in
binary).
1.6.6 Examples
This section contains examples of SNMP configuration for SNMP agent entities.
1.6.6.1 noAuthNoPriv SNMPv3 users
To authorize the receipt of SNMPv3 noAuthNoPriv Get and Set
4
requests from the user
"myV3NoAuthNoPrivUser” from exactly one manager station (one IP address), add the following lines to
the snmpd.cnf configuration file together with the usmUserEntry for the user
myV3NoAuthNoPrivUser”.
vacmAccessEntry myV3NoAuthNoPrivGroup -usm noAuthNoPriv exact All All
-nonVolatile
vacmSecurityToGroupEntry usm myV3NoAuthNoPrivUser
myV3NoAuthNoPrivGroup nonVolatile
vacmViewTreeFamilyEntry All iso -included nonVolatile
snmpTargetAddrEntry myV3Manager_allRequests snmpUDPDomain
192.147.142.35:0 0 0 whereValidRequestsOriginate -nonVolatile
255.255.255.255:0 2048
To relax the agent configuration so that this user can access the MIB objects from additional hosts, change the
snmpTargetAddrTMask to perform wildcard matching of the source address of the incoming request mes-
sage.
To relax the agent configuration so that this user can access the MIB objects from any host, change
whereValidRequestsOriginate” in the usmUserEntry to a dash (-).
usmUserEntry localSnmpID myV3NoAuthNoPrivUser usmNoAuthProtocol usmNo-
PrivProtocol nonVolatile - - -
4. To authorize Get request without authorizing Set requests, the fields “All All –" in the vacmAccessEntry should be
changed to "All - - "
byte 4
1 1 1 1
0 0 1 0 0 0 1 1 1 1 1 1
snmpTargetAddrTMask (binary)
1 1 1 1
0 0 1 0 0 0 1 1 1 1 1 1
snmpTargetAddrTAddress (binary)
1 1 1 1
0 ? ? ? ? ? ? ? 1 1 1 1
source address of SNMP request
1 1 1 1
Page view 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 997 998

Comments to this Manuals

No comments