EasyManua.ls Logo

Masibus masTER T-Sync MTS200 - Page 153

Masibus masTER T-Sync MTS200
195 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Model: MTS200 (1U)
Doc. Ref. no. : - m08/om/201
Issue no.: 03
Page 153 of 195 User’s Manual
To set single string variable:
user@ubuntu:~$ snmpset –v 1 -c comm_name 192.168.100.121 .1.3.6.1.4.1.38306.6.25.0 s "masibus"
To set multiple variables:
user@ubuntu:~$ snmpset -v 1 -c comm_name 192.168.100.121 .1.3.6.1.4.1.38306.6.25.0 s
"masibus" .1.3.6.1.4.1.38306.6.26.0 s "gandhinagar"
Note: In above snmpset command, “-c comm_name” indicates that –c option is used to provide SNMP v1
community name in masTER T-Sync device, 192.168.100.121 is the SNMP agent IP
address, .1.3.6.1.4.1.38306.6.25.0 is the OID of the agent variable which is to be configured, s indicates
string and i indicated integer depending on variable data type, “masibus” indicated value of OID in string
format. User can use IPv6 address to set string variable as well as multiple variables.
FOR SNMP v2:
To set single integer variable:
user@ubuntu:~$ snmpset -v 2c -c comm_name 192.168.100.121 .1.3.6.1.4.1.38306.3.1.0 i 1
user@ubuntu:~$ snmpset -v 2c -c comm_name
udp6:[ fe80::1eba:8cff:fee5:bb52] .1.3.6.1.4.1.38306.3.1.0 i 1
user@ubuntu:~$ snmpset -v 2c -c comm_name
udp6:[ fdc2:7142:77b7:0:1eba:8cff:fee5:bb52] .1.3.6.1.4.1.38306.3.1.0 i 1
To set single string variable:
user@ubuntu:~$ snmpset –v 2c -c comm_name 192.168.100.121 .1.3.6.1.4.1.38306.6.25.0 s "masibus"
To set multiple variables:
user@ubuntu:~$ snmpset -v 2c -c comm_name 192.168.100.121 .1.3.6.1.4.1.38306.6.25.0 s
"masibus" .1.3.6.1.4.1.38306.6.26.0 s "gandhinagar"
Note: In above snmpset command, “-c comm_name” indicates that –c option is used to provide SNMP v1
community name in masTER T-Sync device, 192.168.100.121 is the SNMP agent IP
address, .1.3.6.1.4.1.38306.6.25.0 is the OID of the agent variable which is to be configured, s indicates
string and i indicated integer depending on variable data type, “masibus” indicated value of OID in string
format. User can use IPv6 address to set string variable as well as multiple variables.
FOR SNMP v3 [for authPriv case]:
To set single integer variable:
user@ubuntu:~$ snmpset -v 3 -n "" -u usernamesnmp -l authPriv -a MD5 -A passphrase -x DES -X
passphrase -e 0x12345678912345 192.168.100.121 .1.3.6.1.4.1.38306.3.1.0 i 2
user@ubuntu:~$ snmpset -v 3 -n "" -u usernamesnmp -l authPriv -a MD5 -A passphrase -x DES -X
passphrase -e 0x12345678912345 udp6:[fdc2:7142:77b7:0:1eba:8cff:fee5:bb52] .1.3.6.1.4.1.38306.3.1.0
i 2
user@ubuntu:~$ snmpset -v 3 -n "" -u usernamesnmp -l authPriv -a MD5 -A passphrase -x DES -X
passphrase -e 0x12345678912345 udp6:[fe80::1eba:8cff:fee5:bb52] .1.3.6.1.4.1.38306.3.1.0 i 2

Table of Contents