Sony SNC-DF40N User Guide - Page 67

SNMP restart command, Example

Page 67 highlights

3) sysName= Set the case of "mib-2.system.sysName.0" in the position. The maximum length of is 255 characters. 4) enaAuthTraps= Set the case value of "mib-2.snmp.snmp EnableAuthenTraps.0". Type "1" (enable) or "2" (disable) in the position. 5) community=,, , Set the community name and the reading/writing attributes. describes the setting identification number (1 to 8), describes a character representing the reading/writing attribute ("r", "R", "w or "W"), describes the community name to be set, and describes the IP address of the host you allow access (0.0.0.0 for any host). Example: To allow reading/writing by any host in the "private" community and having the ID number "2". community=2,w,private,0.0.0.0 6) trap=,, Set the host you want to send traps to. describes the setting identification number (1 to 8), describes the community name to send traps to, and describes the IP address of the host to send traps to. Example: To specify the destination of traps as the private community and the ID number "1". trap=1,public,192.168.0.101 7) delcommunity= This parameter is used to delete the previous community setting. describes the community setting identification number (1 to 8). 8) deltrap= This parameter is used to delete the previous setting of the host to send traps to. describes the trap setting identification number (1 to 8). When you have finished changing the SNMP setting information using the above parameters 1) to 8), check the changed settings using an inquiry commands. If the changed settings are OK, restart the SNMP using the following CGI command. SNMP restart command GET, POST http://ip_adr/snmpdconf/snmpdconf.cgi? snmpd=restart 67 Using the SNMP Others

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69

Others
Using the SNMP
67
3)
sysName=<string>
Set the case of “mib-2.system.sysName.0” in the
<string> position.
The maximum length of
<string> is 255 characters.
4)
enaAuthTraps=<value>
Set the case value of “mib-2.snmp.snmp
EnableAuthenTraps.0”.
Type “1” (enable) or “2”
(disable) in the <value> position.
5)
community=<ID>,<rwAttr>,
<communityName>,<IpAddressString>
Set the community name and the reading/writing
attributes.
<ID> describes the setting identification
number (1 to 8), <rwAttr> describes a character
representing the reading/writing attribute (“r”, “R”,
“w or “W”), <communityName> describes the
community name to be set, and <IpAddressString>
describes the IP address of the host you allow
access (0.0.0.0 for any host).
Example:
To allow reading/writing by any host in the
“private” community and having the ID number “2”.
community=2,w,private,0.0.0.0
6)
trap=<ID>,<communityName>,
<IpAddressString>
Set the host you want to send traps to.
<ID>
describes the setting identification number (1 to 8),
<communityName> describes the community
name to send traps to, and <IpAddressString>
describes the IP address of the host to send traps to.
Example:
To specify the destination of traps as the
private community and the ID number “1”.
trap=1,public,192.168.0.101
7)
delcommunity=<ID>
This parameter is used to delete the previous
community setting.
<ID> describes the community
setting identification number (1 to 8).
8)
deltrap=<ID>
This parameter is used to delete the previous setting
of the host to send traps to. <ID> describes the trap
setting identification number (1 to 8).
When you have finished changing the SNMP setting
information using the above parameters 1) to 8), check
the changed settings using an inquiry commands.
If the
changed settings are OK, restart the SNMP using the
following CGI command.
SNMP restart command
<Method>
GET, POST
<Command>
http://ip_adr/snmpdconf/snmpdconf.cgi?
snmpd=restart