cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
477
Views
0
Helpful
1
Replies

snmp startup-config

firehatfirehat
Level 1
Level 1

Hi

i use net-snmp to create VLAN and to Change a Port from One VLAN to Another VLAN ,in cisco Catalyst 2950 i use this document:

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a00801c6035.shtml

i created vlan 6 and i changed port 8 to this vlan :

#sh vlan :

....

6 . . vlan6 . . active. . Fa0/8

but when i reboot my switch the config was changed:

#sh vlan :

........

6 . . vlan6 . . active

the port 8 is in vlan1 (default vlan)

how can I solve this problem ?

can i execute the command " copy running-config startup-config" with snmp ?

help !

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You can use the CISCO-CONFIG-COPY-MIB to do this. See this tech tip:

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a0080094aa6.shtml

Essentially, your config source will be runningConfig(4) and your destination will be startupConfig(3).

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: