cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
966
Views
5
Helpful
1
Replies

How to set ipNetToMediaPhysAddress ?

henrybb
Level 1
Level 1

When I use net-snmp to set ipNetToMediaPhysAddress, snmp agent report noSuchName . But when I set ipNetToMediaType ,it success.

So why it will report noSuchName ?

any comments is appreciated!

thanks!

$ snmpset -c private -v1 10.1.2.252 1.3.6.1.2.1.4.22.1.2.83.10.1.2.25 x '000e383ec9ee'

Error in packet.

Reason: (noSuchName) There is no such variable name in this MIB.

Failed object: IP-MIB::ipNetToMediaPhysAddress.83.10.1.2.25

$ snmpset -c private -v1 10.1.2.252 1.3.6.1.2.1.4.22.1.4.83.10.1.2.25 i 2

IP-MIB::ipNetToMediaType.83.10.1.2.25 = INTEGER: Invalid(2)

$

1 Reply 1

a-vazquez
Level 6
Level 6