Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

snmp startup-config

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
Cisco Employee

Re: snmp startup-config

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).

232
Views
0
Helpful
1
Replies