2924 Switch: VLAN config not in config.text

Discussion in 'Cisco' started by JF Mezei, May 22, 2007.

  1. JF Mezei

    JF Mezei Guest

    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)
    JF Mezei, May 22, 2007
    #1
    1. Advertising

  2. 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.
    Doug McIntyre, May 22, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. avraham shir-el
    Replies:
    4
    Views:
    8,447
    avraham shir-el
    Jul 20, 2004
  2. Replies:
    5
    Views:
    9,514
    Walter Roberson
    Jan 2, 2005
  3. PBS
    Replies:
    8
    Views:
    1,121
  4. PBS
    Replies:
    2
    Views:
    410
    thrill5
    Apr 15, 2005
  5. Trouble
    Replies:
    1
    Views:
    1,935
    Doug McIntyre
    Aug 23, 2006
Loading...

Share This Page