Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

config interface ip via snmp

Hi,

I am trying to change an ip address of interface on a router via snmp but i can't find any documentation about how to do it.

I also found and snmp table:

ciiIPAddressConfiguration

1.3.6.1.4.1.9.9.309.1.1

but i couldn't understand how to change a value on this table, and there is no values at all when i am trying to read it.

Can anyone help me?

thanks in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: config interface ip via snmp

This can't be done directly. You will need to create a small config file containing the modification you would like to make, then push that config file to the device via a protocol like TFTP. The TFTP fetch can be triggered via SNMP, however. See this tech tip for more details:

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a0080094aa6.shtml

Your configuration snippet will look something like:

interface FastEthernet0/0

ip address 10.1.1.1 255.255.255.0

end

1 REPLY
Cisco Employee

Re: config interface ip via snmp

This can't be done directly. You will need to create a small config file containing the modification you would like to make, then push that config file to the device via a protocol like TFTP. The TFTP fetch can be triggered via SNMP, however. See this tech tip for more details:

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a0080094aa6.shtml

Your configuration snippet will look something like:

interface FastEthernet0/0

ip address 10.1.1.1 255.255.255.0

end

125
Views
0
Helpful
1
Replies
CreatePlease to create content