cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3427
Views
0
Helpful
3
Replies

Use SNMP to update config issue

crg
Level 1
Level 1

I have a 1921 router.

Was running c1900-universalk9-mz.SPA.150-1.M3.bin

Here is config I have on vty for remote access:

line vty 0 4
 exec-timeout 0 0
 password xxxxx
 login

I downloaded c1900-universalk9-mz.SPA.154-3.M5.bin

When I rebooted router, I no longer had telnet access (kept getting denied).

Router was otherwise up and passing traffic.

I tried it on a router in my lab and found that under new IOS, the following was addedd to vty:

transport input none

Router is in a remote location.

Is there a way I can use SNMP commands to update this config to allow telnet again?

 

1 Accepted Solution

Accepted Solutions

Found an answer (google is your friend)

http://www.ciscozine.com/send-cisco-commands-via-snmp/

Tells how to use snmp to invoke copy tftp run

View solution in original post

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

That is a very strange element to introduce/change in a new version of IOS. If the router config contains an SNMP string with write access then it should be possible to use SNMP to update the config and to add the command for telnet access to the vty.

 

HTH

 

Rick

HTH

Rick

Found an answer (google is your friend)

http://www.ciscozine.com/send-cisco-commands-via-snmp/

Tells how to use snmp to invoke copy tftp run

Thanks for sharing the link which describes how to use SNMP to make changes in the router config. I am glad that you found a solution to your problem.

 

HTH

 

Rick

HTH

Rick