To set the value of the MIB object through SNMP agent, use the command snmpset mib in Global Configuration Mode.
Parameter | Type | Description |
---|---|---|
name |
Enter to set the MIB object name. | |
<name string (32)> |
String | Enter an MIB object name. This is a string value with maximum size of 32. |
value |
Enter set the value for the MIB object. | |
<value string (32)> |
String | Enter a value for the MIB object.This is a string value with maximum size of 32. |
oid |
Enter to set the MIB object identifier | |
<oid string (32)> |
String | Enter an MIB object identifier. This is a string value with maximum size of 32. |
value |
Enter set the value for the MIB object. | |
<value string (32)> |
String | Enter a value for the MIB object identifier. This is a string value with maximum size of 32. |
short |
Enter to display the value of the MIB object. | |
input |
Enter to set the specified data type for the MIB object. | |
<input value> |
String | Enter data type for the MIB object. The data types are
|
Global Configuration Mode
iS5Comm (config)# snmpset mib name snmpListenTcpPort.0 value 145 short 1