Re: 3550 - vtp domain name

From: ccie2be (ccie2be@nyc.rr.com)
Date: Thu Oct 09 2003 - 22:44:29 GMT-3


Hi guys,

Is it possible for a Cat to relearn the vlan's via vtp after the vlan.dat
file is deleted? I ask because I thought that before vtp can propagate vlan
info, both switches have to share the same vtp domain name and if the
vlan.dat file has been deleted, then wouldn't the vtp domain name also be
deleted? Isn't that the way it works?

dt
----- Original Message -----
From: "Brian McGahan" <bmcgahan@internetworkexpert.com>
To: "'Jonathan V Hays'" <jhays@jtan.com>; "'ccie2be'" <ccie2be@nyc.rr.com>;
"'Group Study'" <ccielab@groupstudy.com>; "'Brian Dennis'"
<bdennis@internetworkexpert.com>
Sent: Thursday, October 09, 2003 8:24 PM
Subject: RE: 3550 - vtp domain name

> Jonathan,
>
> The vlan database is a file stored in flash. The dir output I
> showed illustrates that the file was removed from the flash. Do you
> have multiple switches connected? It could be that you are deleting the
> database on one switch, reloading it, and the switch is then relearning
> about the VLANs through VTP. If you have multiple switches connected
> shut the trunk links down and try it out. If you're still having issues
> with this, it may possibly be version dependent. What version are you
> running?
>
> Here is a more detailed output:
>
> Switch#dir
> Directory of flash:/
>
> 2 -rwx 5 Mar 01 1993 20:52:00 private-config.text
> 4 drwx 64 Mar 01 1993 00:05:06
> c3550-i5k2l2q3-mz.121-11.EA1a
> 5 -rwx 348 Mar 04 1993 02:56:53 system_env_vars
> 25 drwx 64 Mar 01 1993 00:02:56 backup
> 9 drwx 320 Mar 01 1993 00:56:17
> c3550-i9q3l2-mz.121-11.EA1
> 28 -rwx 0 Mar 04 1993 02:56:53 env_vars
>
> 15998976 bytes total (7408640 bytes free)
> Switch#vlan dat
> Switch(vlan)#vlan 100
> VLAN 100 added:
> Name: VLAN0100
> Switch(vlan)#exit
> APPLY completed.
> Exiting....
> Switch#dir
> Directory of flash:/
>
> 2 -rwx 5 Mar 01 1993 20:52:00 private-config.text
> 3 -rwx 616 Mar 01 1993 01:40:13 vlan.dat
> 4 drwx 64 Mar 01 1993 00:05:06
> c3550-i5k2l2q3-mz.121-11.EA1a
> 5 -rwx 348 Mar 04 1993 02:56:53 system_env_vars
> 25 drwx 64 Mar 01 1993 00:02:56 backup
> 9 drwx 320 Mar 01 1993 00:56:17
> c3550-i9q3l2-mz.121-11.EA1
> 28 -rwx 0 Mar 04 1993 02:56:53 env_vars
>
> 15998976 bytes total (7407616 bytes free)
> Switch#sh vlan
>
> VLAN Name Status Ports
> ---- -------------------------------- ---------
> -------------------------------
> 1 default active Fa0/1, Fa0/2, Fa0/3,
> Fa0/4
> Fa0/5, Fa0/6, Fa0/7,
> Fa0/8
> Fa0/9, Fa0/10, Fa0/11,
> Fa0/12
> Fa0/16, Fa0/17, Fa0/18,
> Fa0/19
> Fa0/20, Fa0/21, Fa0/22,
> Fa0/23
> Fa0/24, Gi0/1, Gi0/2
> 100 VLAN0100 active
> 1002 fddi-default active
> 1003 token-ring-default active
> 1004 fddinet-default active
> 1005 trnet-default active
>
> VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1
> Trans2
> ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------
> ------
> 1 enet 100001 1500 - - - - - 0
> 0
> 100 enet 100100 1500 - - - - - 0
> 0
> 1002 fddi 101002 1500 - - - - - 0
> 0
> 1003 tr 101003 1500 - - - - - 0
> 0
> 1004 fdnet 101004 1500 - - - ieee - 0
> 0
> 1005 trnet 101005 1500 - - - ibm - 0
> 0
>
>
> Primary Secondary Type Ports
> ------- --------- -----------------
> ------------------------------------------
>
> Switch#del vlan.dat
> Delete filename [vlan.dat]?
> Delete flash:vlan.dat? [confirm]y
> Switch#dir
> Directory of flash:/
>
> 2 -rwx 5 Mar 01 1993 20:52:00 private-config.text
> 4 drwx 64 Mar 01 1993 00:05:06
> c3550-i5k2l2q3-mz.121-11.EA1a
> 5 -rwx 348 Mar 04 1993 02:56:53 system_env_vars
> 25 drwx 64 Mar 01 1993 00:02:56 backup
> 9 drwx 320 Mar 01 1993 00:56:17
> c3550-i9q3l2-mz.121-11.EA1
> 28 -rwx 0 Mar 04 1993 02:56:53 env_vars
>
> 15998976 bytes total (7408640 bytes free)
> Switch#rel
> Proceed with reload? [confirm]
>
> <snip>
> Press RETURN to get started!
>
>
> Switch>
> 00:01:16: %LINK-5-CHANGED: Interface Vlan1, changed state to
> administratively down
> 00:01:17: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed
> state to down
> Switch>en
> Switch#dir
> Directory of flash:/
>
> 2 -rwx 5 Mar 01 1993 20:52:00 private-config.text
> 4 drwx 64 Mar 01 1993 00:05:06
> c3550-i5k2l2q3-mz.121-11.EA1a
> 5 -rwx 348 Mar 04 1993 02:56:53 system_env_vars
> 25 drwx 64 Mar 01 1993 00:02:56 backup
> 9 drwx 320 Mar 01 1993 00:56:17
> c3550-i9q3l2-mz.121-11.EA1
> 28 -rwx 0 Mar 04 1993 02:56:53 env_vars
>
> 15998976 bytes total (7408640 bytes free)
> Switch#sh vlan
>
> VLAN Name Status Ports
> ---- -------------------------------- ---------
> -------------------------------
> 1 default active Fa0/1, Fa0/2, Fa0/3,
> Fa0/4
> Fa0/5, Fa0/6, Fa0/7,
> Fa0/8
> Fa0/9, Fa0/10, Fa0/11,
> Fa0/12
> Fa0/13, Fa0/14, Fa0/15,
> Fa0/16
> Fa0/17, Fa0/18, Fa0/19,
> Fa0/20
> Fa0/21, Fa0/22, Fa0/23,
> Fa0/24
> Gi0/1, Gi0/2
> 1002 fddi-default active
> 1003 token-ring-default active
> 1004 fddinet-default active
> 1005 trnet-default active
>
> VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1
> Trans2
> ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------
> ------
> 1 enet 100001 1500 - - - - - 0
> 0
> 1002 fddi 101002 1500 - - - - - 0
> 0
> 1003 tr 101003 1500 - - - - - 0
> 0
> 1004 fdnet 101004 1500 - - - ieee - 0
> 0
> 1005 trnet 101005 1500 - - - ibm - 0
> 0
>
>
>
> Primary Secondary Type Ports
> ------- --------- -----------------
> ------------------------------------------
>
> Switch#
>
>
>
> Brian McGahan, CCIE #8593
> bmcgahan@internetworkexpert.com
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987
> Direct: 708-362-1418 (Outside the US and Canada)
>
>
> > -----Original Message-----
> > From: Jonathan V Hays [mailto:jhays@jtan.com]
> > Sent: Thursday, October 09, 2003 7:06 PM
> > To: 'Brian McGahan'; 'ccie2be'; 'Group Study'; 'Brian Dennis'
> > Subject: RE: 3550 - vtp domain name
> >
> > Brian,
> >
> > With all due respect, the output you have included is not adequate
> > proof. Show us the output after you have rebooted and see if your
> VLANs
> > are still there.
> >
> > My point is that the Catalyst IOS does not complain, at least for the
> > version I am running. Evidently this is true for the IOS version that
> > ccie2be is running also. It simply does not actually delete vlan.dat.
> I
> > know for a fact that typing 'y' will result in the IOS *retaining*
> > vlan.dat on the 2 switches that I work with because I do it
> accidentally
> > all the time and have to redo it and reboot again.
> >
> > It's possible this behavior may be version dependent.
> >
> > Jonathan
> >
> > -----Original Message-----
> > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> Of
> > Brian McGahan
> > Sent: Thursday, October 09, 2003 7:36 PM
> > To: 'Jonathan V Hays'; 'ccie2be'; 'Group Study'; 'Brian Dennis'
> > Subject: RE: 3550 - vtp domain name
> >
> >
> > Works fine for me:
> >
> > Switch#dir vlan.dat
> > Directory of flash:/vlan.dat
> >
> > 2 -rwx 616 Mar 01 1993 01:01:28 vlan.dat
> >
> > 15998976 bytes total (7407616 bytes free)
> > Switch#del vlan.dat
> > Delete filename [vlan.dat]?
> > Delete flash:vlan.dat? [confirm]y
> > Switch#dir vlan.dat
> > %Error opening flash:/vlan.dat (No such file or directory)
> > Switch#
> >
> > HTH,
> >
> > Brian McGahan, CCIE #8593
> > bmcgahan@internetworkexpert.com
> >
> > Internetwork Expert, Inc.
> > http://www.InternetworkExpert.com
> > Toll Free: 877-224-8987
> > Direct: 708-362-1418 (Outside the US and Canada)
> >
> >
> > > -----Original Message-----
> > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> > Of
> > > Jonathan V Hays
> > > Sent: Thursday, October 09, 2003 3:24 PM
> > > To: 'ccie2be'; 'Group Study'; 'Brian Dennis'
> > > Subject: RE: 3550 - vtp domain name
> > >
> > > You typed 'y' to confirm. The Catalyst 3550 does not like that
> > response
> > > and vlan.dat will not be deleted as a consequence.
> > >
> > > You must hit only the <Enter> key to confirm. The correct sequence
> is:
> > >
> > > Rack1SW2#delete vlan.dat
> > > Delete filename [vlan.dat]? <Enter>
> > > Delete flash:vlan.dat? [confirm] <Enter>
> > >
> > >
> > > HTH,
> > >
> > > Jonathan
> > >
> > > -----Original Message-----
> > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> > Of
> > > ccie2be
> > > Sent: Thursday, October 09, 2003 3:20 PM
> > > To: Group Study; Brian Dennis
> > > Subject: Re: 3550 - vtp domain name
> > >
> > >
> > > Hi Brian,
> > >
> > > Yesterday, while renting some rack time, I tried to delete the
> > vlan.dat
> > > file
> > > on a 3550. It didn't work but I don't think I entered a "?" after
> the
> > > 1st
> > > switch respose and I'm pretty sure I just hit the "return" key when
> it
> > > ask
> > > me to confirm. Actually, I think I just hit "return" both times.
> Was
> > > that
> > > why it didn't work?
> > >
> > > Thanks, dt
> > >
> > > ----- Original Message -----
> > > From: "Brian Dennis" <bdennis@internetworkexpert.com>
> > > To: "'ccie2be'" <ccie2be@nyc.rr.com>; "'Group Study'"
> > > <ccielab@groupstudy.com>
> > > Sent: Friday, October 03, 2003 2:46 PM
> > > Subject: RE: 3550 - vtp domain name
> > >
> > >
> > > > Delete the vlan.dat file from flash before reloading.
> > > >
> > > > Rack1SW2#delete vlan.dat
> > > > Delete filename [vlan.dat]?
> > > > Delete flash:vlan.dat? [confirm]y
> > > >
> > > > Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
> > > > bdennis@internetworkexpert.com
> > > > Toll Free: 877-224-8987
> > > > Direct: 775-745-6404 (Outside the US and Canada)
> > > > Internetwork Expert, Inc.
> > > > http://www.InternetworkExpert.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf
> > > Of
> > > > ccie2be
> > > > Sent: Friday, October 03, 2003 11:42 AM
> > > > To: Group Study
> > > > Subject: 3550 - vtp domain name
> > > >
> > > > Hi,
> > > >
> > > > I tried to get rid of the vtp domain name but failed to do so. I
> > > wanted
> > > > to
> > > > return a 3550 to it's of the box condition. So, I did a write
> erase
> > > > then a
> > > > reload, but the old vtp domain name was still there.
> > > >
> > > > How do you get rid of the vtp domain name?
> > > >
> > > > Thanks, dt
> > > >
> > > > ***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
> > > >
> > >
> >
> _______________________________________________________________________
> > > > Please help support GroupStudy by purchasing your study materials
> > > from:
> > > > shop.groupstudy.com
> > > >
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > > ***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
> > >
> >
> _______________________________________________________________________
> > > Please help support GroupStudy by purchasing your study materials
> > from:
> > > shop.groupstudy.com
> > >
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> > >
> > > ***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
> > >
> >
> _______________________________________________________________________
> > > Please help support GroupStudy by purchasing your study materials
> > from:
> > > shop.groupstudy.com
> > >
> > > Subscription information may be found at:
> > > http://www.groupstudy.com/list/CCIELab.html
> >
> > ***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***
> >
> _______________________________________________________________________
> > Please help support GroupStudy by purchasing your study materials
> from:
> > shop.groupstudy.com
> >
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html

***Get your CCIE and a FREE vacation: Shop.GroupStudy.com***



This archive was generated by hypermail 2.1.4 : Mon Nov 24 2003 - 07:52:59 GMT-3