Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > 2924 Switch: VLAN config not in config.text

Reply
Thread Tools

2924 Switch: VLAN config not in config.text

 
 
JF Mezei
Guest
Posts: n/a
 
      05-22-2007
I just realised that on my 2924 switch, the vlan definition commands
such as

switch# vlan database
switch(vlan)# vlan 2 name Accounting
switch(vlan)# vlan 3 name Engineering
switch(vlan)# vlan 4 name Executives
switch(vlan)# apply

Those commands are not included in a show running-config or in the
config.text that is created in flash (or on remote system via tftp).

What is the recommended way to manage this ?

Is the only way to do a binary backup of the vlan.dat file to a remote
system, or is there a way to setup the commands in a text file on a
remote system and have them executed on the switch ?

Are there other configuration data which are not reflected in the
config.text file that I should be aware of and manually backup ?



Cisco Internetwork Operating System Software
IOS (tm) C2900XL Software (C2900XL-C3H2S-M), Version 12.0(5)WC9, RELEASE
SOFTWA)
 
Reply With Quote
 
 
 
 
Doug McIntyre
Guest
Posts: n/a
 
      05-22-2007
JF Mezei <> writes:
>I just realised that on my 2924 switch, the vlan definition commands
>such as


>switch# vlan database
>switch(vlan)# vlan 2 name Accounting
>switch(vlan)# vlan 3 name Engineering
>switch(vlan)# vlan 4 name Executives
>switch(vlan)# apply


>Those commands are not included in a show running-config or in the
>config.text that is created in flash (or on remote system via tftp).



Yes, cisco figured out that was a pain, and changed that a few years ago in
the current hardware crop. Of course, this long EOL'd switch didn't get
the updates...


>What is the recommended way to manage this ?


Check things with 'show vlan'? I think cisco expected you to really
managed vlan ID's with VTP out from some other switch that might have
had better vlan definition style (ie. CatOS). Otherwise, copying the
vlan.dat file is fine.


>Is the only way to do a binary backup of the vlan.dat file to a remote
>system, or is there a way to setup the commands in a text file on a
>remote system and have them executed on the switch ?


No, you won't find any plain-text configs for vlan setup. The
interactive 'show vlan' is the best one you can do. RANCID keeps track
of this as part of its change-tracking.


>Are there other configuration data which are not reflected in the
>config.text file that I should be aware of and manually backup ?


The only other one has to do with SNMP index persistance. If you
aren't using that, you've got the two big ones to do a restore.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To vlan or to not vlan thegmanagain Cisco 2 05-13-2008 01:21 PM
2924 XL terminal port not talking David Meed Cisco 3 10-23-2007 07:43 AM
setup VLAN trunking between 2924 switch and 2611 router tjiang@computeredservices.com Cisco 5 01-02-2005 01:59 AM
native vlan mismatch on 2 2924 switches w/ only 1 vlan defined (same on both switches) avraham shir-el Cisco 4 07-20-2004 08:08 AM
VLAN or Not to VLAN Paul Cisco 0 10-27-2003 06:16 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57