Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

SNMP <set> in catalyst C3548XL

Hi,

I've make a BIG mistake configuring a 3548-XL. I've configured all "authentication, authorization & accounting" option to validate a Telnet users from a TACACS server, but,.... the big mistake is that I've not write de sentence "tacacs-server host A.B.C.D" and I've saved running config to flash.

Now, when I telnet a switch never validates and the switch is in remote office.

My question is:

Is possible to make a SNMP-set to change this OID (tacacsServer) with an IP address? What is excatly the MIB & OID I need to write it?

I prefer to do an SNMP-set comand instead of "Standard console password recovery procedure"

Example, I want to set the server tacacs variable with a sentence like this

"snmp -o set -c private -ip 192.161.25.22 -b | enterprises...cisco.....tacacsServerAddress=192.161.25.88"

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: SNMP <set> in catalyst C3548XL

I'm using the following procedure to change configuration on switches with IOS like this : c3500XL-c3h2s-mz-120.5-XW

First make a small configuration file on your TFTP server and name it ex. tacacs-confg. The file should only contain the lines :

tacacs-server host A.B.C.D

end

Then depending on your switch, do a snmp set to one of the following OID's :

...enterprices.cisco.local.lsystem.netConfigSet.X.X.X.X octet_string tacacs-confg

or

...enterprices.cisco.local.lsystem.hostConfigSet.X.X.X.X octet_string tacacs-confg

where X.X.X.X are the IPaddress of your TFTP-server

This should load the partial configuration into your running config.

See : //www.cisco.com/warp/public/477/SNMP/11_7910.shtml

ffur@danskebank.dk

3 REPLIES
Silver

Re: SNMP <set> in catalyst C3548XL

I'm not aware of a MIB that will allow you to remotely add the tacacs command. Here is an smnp link that might be helpful...

http://www.cisco.com/univercd/cc/td/doc/product/webscale/css/css_520/admgd/snmp.htm

If that does not help, your other option would be to have someone local to the router console in to make the changes.

New Member

Re: SNMP <set> in catalyst C3548XL

I'm using the following procedure to change configuration on switches with IOS like this : c3500XL-c3h2s-mz-120.5-XW

First make a small configuration file on your TFTP server and name it ex. tacacs-confg. The file should only contain the lines :

tacacs-server host A.B.C.D

end

Then depending on your switch, do a snmp set to one of the following OID's :

...enterprices.cisco.local.lsystem.netConfigSet.X.X.X.X octet_string tacacs-confg

or

...enterprices.cisco.local.lsystem.hostConfigSet.X.X.X.X octet_string tacacs-confg

where X.X.X.X are the IPaddress of your TFTP-server

This should load the partial configuration into your running config.

See : //www.cisco.com/warp/public/477/SNMP/11_7910.shtml

ffur@danskebank.dk

New Member

Re: SNMP <set> in catalyst C3548XL

T H A N K S ! ! ! ! It runs perfect.

I've do it with c3500XL-c3h2s-mz.120-5.WC2.bin image. It runs OK

If you come to Barcelona I'll give you a BEER!!!!

I'm VERY VERY HAPPY.

Thanks for your help.

Antoni Anton

antoni.anton@itece.es

342
Views
5
Helpful
3
Replies
CreatePlease to create content