cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
449
Views
8
Helpful
5
Replies

Wrong AAA

yamaan
Level 1
Level 1

This might not seem to be a smart question but "wrong" aa commands commands were pushed to 100`s of devices using RME Netconfig. The result was that no user is able to login to any of the devices.

The aaa commands were not saved but the command snmp-server system-shutdown is not there.

Any solution that spare visting each single device physically?

5 Replies 5

walderhaug
Level 1
Level 1

If you have a MIB browser you can manually access the device via snmp and trigger the device to copy the startup-config to the running config. (or the corrected cfg from a tftp server).

Unfortenately I don't remember the OID's to do so. (It's in the private MIB)

You have to do this one by one or make a script that do the job for you.

Depending on your AAA configuration it may also be an alternative to shutdown the tacacs server.

Tommy

steve.busby
Level 5
Level 5

Just went through something similiar, here's a link that gives the right OID:

http://www.cisco.com/cgi-bin/ViewFAQ.cgi?f=5806&1

And here's the steps to use if using CW2K

Server Configuration> Diagnostics> Connectivity Tools> SNMP Set>

and simply fill in the blanks.

Device Name = ip address

Your RW Community String

OID from above

Object Type: "String"

new value is the text.file you created

SNMP Version 2c

hth

I- When trying the command snmpset -t 10 -r 5 -c communityname hostname .1.3.6.1.4.1.9.2.1.53.10.

28.5.111 \octetstring configfile.txt

I recieve the following message

snmpset: Agent reported error with variable #1.

.iso.org.dod.internet.private.enterprises.cisco.local.lsystem.hostConfigSet.10.

28.5.111: SNMPv2: Commit failed.

II- There is no under Server Configuration> Diagnostics> Connectivity Tools

Some things to look for or try:

- for "-c communityname" you did replace "communityname" with your actual read-write snmp community string?

- verify your tftp server is up and running, with the "configfile.txt" file in tftproot.

- Do you have ACLs on your device(s) that would prevent you from making the changes?

Can you provide your CW2K version & updates installed? I think you'll need to upgrade your CW Common Services to SP2.

Thanks Steve.

I have already solved the problem using some 3rd party software (called SolarWinds) which uses CISCO-CONFIG-COPY MIB to download the congiuration edit it then upload it.

Since I know the rw community string and have SNMP access to the devices I was able to work it our easily