cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
718
Views
0
Helpful
1
Replies

config interface ip via snmp

arikgelman
Level 4
Level 4

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

Joe Clarke
Cisco Employee
Cisco Employee

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

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

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