snmp question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers snmp question
# 1  
Old 08-02-2005
snmp question

Anyone know how to retrieve the configuration files from Cisco 2500 routers using snmp?
# 2  
Old 08-10-2005
I finally found how to retrieve router configs using snmp.
using snmpset the command is
snmpset -v1 -c READ-WRITE-STRING ROUTER-IP .1.3.6.1.4.1.9.2.1.55.TFTP-SERVER-IP s FILE-NAME
The READ-WRITE-STRING is the snmp-server community rw string and the TFTP-SERVER-IP is appended at the end of the OID. FILE-NAME is the file name the config will be saved as on the tftp server. The file must already exist in the tftpboot directory.

The following MIBS must exist on the querying server.
CISCO-SMI-V1SMI.my
SNMPv2-TC-V1SMI.my
CISCO-CONFIG-COPY-MIB-V1SMI.my
CISCO-FLASH-MIB.my

This will not work on all cisco routers.

Thought someone might find this useful sometime.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

i am working with embedded system -Dell DCS management sub system. my question is as below: currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies

2. Infrastructure Monitoring

SNMP traps to SNMP server

Dear Champs, I am new to unix, and need to configure linux server to send below traps to a SNMP server. Monitoring TRAP Disk Space Low Monitoring TRAP Memory Low Monitoring TRAP CPU high Monitoring TRAP Admin login/Logoff Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies

3. IP Networking

SNMP Problem - SNMP not getting to the agent.

I am having a problem with an SNMP event, and I am not sure where I should be looking to solve this problem. Description: There is an SNMP event in our system that for one reason or another is not getting sent out as an email because it is never getting to our SNMP agent. I see where the... (0 Replies)
Discussion started by: broberts
0 Replies

4. UNIX for Advanced & Expert Users

SNMP syntax question

Hello, I need to create an snmp.comf file that defines 2 IPs to the same community string. Do I need to have 2 community strings with the same name and diff't IPs? Or should I have 1 string and list the IPs? (comma seperated?) Example: rocommunity EC_8000_RO arguments EC_8000_RO... (2 Replies)
Discussion started by: felbvts
2 Replies

5. Red Hat

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies

6. IP Networking

Sending data from DELL OMSA SNMP and Custom SNMP MIB to same UDP port 161

Hi , Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies

7. HP-UX

SNMP in HP-UX.

Dear All, Please help me, how to install net-snmp step by step, so i can monitoring disk, cpu, memory usage by Solarwind Many thanks !! Vu. (1 Reply)
Discussion started by: Nguyen Quang Vu
1 Replies
Login or Register to Ask a Question