cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2555
Views
0
Helpful
2
Replies

How to use snmpset to change the tacacs server ip for 3925?

frank
Level 1
Level 1

Can anyone help to show me how to use snmpset to change the tacacs server IP address for a 3925 router?

I got the syntax as "snmpset -v 2c -c "string" "3925-ip" 1.3.6.1.4.1.9.5.1.16.9.1.1" but was getting "No Such Object available on this agent at this OID".

Is the 9.5.1.16.9.1.1 correct OID for 3925 tacacs server address?

2 Accepted Solutions

Accepted Solutions

Vinod Arya
Cisco Employee
Cisco Employee

The OID you are using is a Read Only string which will only share the IP address of Tacacs Server.

I don't think due to security restrictions, we have any MIB which can set the Tacacs server IP on a device.

Though, the workaround to do this can be :

1. Use snmp to retrive device confguring using snmp on a tftp server.

2. Change config of Tacacs server and re-deploy the configuration on device.

For details on this, you can check :

http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15217-copy-configs-snmp.html

If anyone has other information on how to change Tacacs server IP using snmp on this forum they can share.

-Thanks
Vinod
**Rating Encourages contributors, and its really free. **

-Thanks Vinod **Rating Encourages contributors, and its really free. **

View solution in original post

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Frank ,

I agree with my friend Vinod. this object is READ ONLY.


tacacsServerAddr       1.3.6.1.4.1.9.5.1.16.9.1.1     IpAddress        read-only

I also get the below error when I tried the same:

Error in packet.

Reason: noCreation (That table does not support row creation or that object can

not ever be created)

Failed object: SNMPv2-SMI::enterprises.9.5.1.16.9.1.1.0

Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

2 Replies 2

Vinod Arya
Cisco Employee
Cisco Employee

The OID you are using is a Read Only string which will only share the IP address of Tacacs Server.

I don't think due to security restrictions, we have any MIB which can set the Tacacs server IP on a device.

Though, the workaround to do this can be :

1. Use snmp to retrive device confguring using snmp on a tftp server.

2. Change config of Tacacs server and re-deploy the configuration on device.

For details on this, you can check :

http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15217-copy-configs-snmp.html

If anyone has other information on how to change Tacacs server IP using snmp on this forum they can share.

-Thanks
Vinod
**Rating Encourages contributors, and its really free. **

-Thanks Vinod **Rating Encourages contributors, and its really free. **

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Frank ,

I agree with my friend Vinod. this object is READ ONLY.


tacacsServerAddr       1.3.6.1.4.1.9.5.1.16.9.1.1     IpAddress        read-only

I also get the below error when I tried the same:

Error in packet.

Reason: noCreation (That table does not support row creation or that object can

not ever be created)

Failed object: SNMPv2-SMI::enterprises.9.5.1.16.9.1.1.0

Thanks-
Afroz
[Do rate the useful post]
****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****