Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Copy Config VLANs missing issue...

Alright:

So I have an older Cisco 3560G 48PT switch and I've purchased a new Cisco 3560G 48PT switch.  I took the config on the old one and copied it to FTP.

I set up the new switch and copied the older switches config to it.

It seems like everything copied fine except when we went to replace the switch a couple of our links were amber lights and never came on correctly.  Looking at these links they were on a VLAN we had, VLAN 102...

Now in the config on the NEW switch when i do a Show run everything is exactly the same as the old, VLAN 102 is THERE with an IP address assigned to it, the strange thing is when I connect to the NEW switch with Cisco Network Assistant, that vlan does NOT show up in the configure vlans section or the intervlan routing wizard...on the old switch it does....so I'm thinking my issue is something to do with the vlans, but i'm not sure what the issue is because when I do a show run side by side the old and new switch match exactly, all the vlans are there, everything is the same (with the exception the new switch has an extra line at the top of the config "system mtu routing 1500" i'm not sure what that is but

Is there something that doesn't get copied right when copying configs that I should be aware of, with vlans?

I've tried erasing the config on the new switch and recopying it, with no success, i even ran a no shutdown command on the vlan 102 and it still doesn't show up in cisco network assistant..

Now I went in and deleted the vlan from the command line and recreated it and it shows up now in cisco network assistant, but did I do something wrong? or is this some kind of bug?

7 REPLIES
Hall of Fame Super Blue

Re: Copy Config VLANs missing issue...

johnwhites wrote:

Alright:

So I have an older Cisco 3560G 48PT switch and I've purchased a new Cisco 3560G 48PT switch.  I took the config on the old one and copied it to FTP.

I set up the new switch and copied the older switches config to it.

It seems like everything copied fine except when we went to replace the switch a couple of our links were amber lights and never came on correctly.  Looking at these links they were on a VLAN we had, VLAN 102...

Now in the config on the NEW switch when i do a Show run everything is exactly the same as the old, VLAN 102 is THERE with an IP address assigned to it, the strange thing is when I connect to the NEW switch with Cisco Network Assistant, that vlan does NOT show up in the configure vlans section or the intervlan routing wizard...on the old switch it does....so I'm thinking my issue is something to do with the vlans, but i'm not sure what the issue is because when I do a show run side by side the old and new switch match exactly, all the vlans are there, everything is the same (with the exception the new switch has an extra line at the top of the config "system mtu routing 1500" i'm not sure what that is but

Is there something that doesn't get copied right when copying configs that I should be aware of, with vlans?

I've tried erasing the config on the new switch and recopying it, with no success, i even ran a no shutdown command on the vlan 102 and it still doesn't show up in cisco network assistant..

John

Can you post output from new switch -

sh vtp status

sh vlan

Jon

New Member

Re: Copy Config VLANs missing issue...

This if from the new switch AFTER I recreated VLAN 102....

There are actually 3 vlans missing, VLAN 6, VLAN 2, and VLAN 90

In the old switch in the config I backed up, vlan 90 is in the config text and show running config, however 2 and 6 are not.  2 and 6 only show up in cisco network assistant, vlan 6 i'm not worried about, but vlan 2 is one that is being used on a port.

sh vtp status
VTP Version                     : 2
Configuration Revision          : 4
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 7
VTP Operating Mode              : Server
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x53 0xD3 0xB1 0xB5 0x79 0x1D 0xC9 0xFB
Configuration last modified by 10.1.2.136 at 3-1-93 00:16:14
Local updater ID is 10.1.2.136 on interface Vl10 (lowest numbered VLAN interface found)
Peoples_CoreSwitch#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi0/7, Gi0/32, Gi0/49, Gi0/50
                                                Gi0/52
10   VLAN0010                         active    Gi0/1, Gi0/2, Gi0/3, Gi0/4
                                                Gi0/5, Gi0/6, Gi0/8, Gi0/9
                                                Gi0/10, Gi0/11, Gi0/12, Gi0/13
                                                Gi0/14, Gi0/15, Gi0/16, Gi0/17
                                                Gi0/18, Gi0/19, Gi0/20, Gi0/21
                                                Gi0/22, Gi0/23, Gi0/24, Gi0/25
                                                Gi0/26, Gi0/27, Gi0/28, Gi0/29
                                                Gi0/30, Gi0/33, Gi0/34, Gi0/35
                                                Gi0/36, Gi0/37, Gi0/38, Gi0/39
                                                Gi0/41, Gi0/43, Gi0/45, Gi0/46
102  VLAN0102                         active    Gi0/31, Gi0/40, Gi0/42, Gi0/47
                                                Gi0/48
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
--More--                           ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0  
10   enet  100010     1500  -      -      -        -    -        0      0  
102  enet  100102     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 

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

Hall of Fame Super Blue

Re: Copy Config VLANs missing issue...

johnwhites wrote:

This if from the new switch AFTER I recreated VLAN 102....

There are actually 3 vlans missing, VLAN 6, VLAN 2, and VLAN 90

In the old switch in the config I backed up, vlan 90 is in the config text and show running config, however 2 and 6 are not.  2 and 6 only show up in cisco network assistant, vlan 6 i'm not worried about, but vlan 2 is one that is being used on a port.

sh vtp status
VTP Version                     : 2
Configuration Revision          : 4
Maximum VLANs supported locally : 1005
Number of existing VLANs        : 7
VTP Operating Mode              : Server
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x53 0xD3 0xB1 0xB5 0x79 0x1D 0xC9 0xFB
Configuration last modified by 10.1.2.136 at 3-1-93 00:16:14
Local updater ID is 10.1.2.136 on interface Vl10 (lowest numbered VLAN interface found)
Peoples_CoreSwitch#show vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Gi0/7, Gi0/32, Gi0/49, Gi0/50
                                                Gi0/52
10   VLAN0010                         active    Gi0/1, Gi0/2, Gi0/3, Gi0/4
                                                Gi0/5, Gi0/6, Gi0/8, Gi0/9
                                                Gi0/10, Gi0/11, Gi0/12, Gi0/13
                                                Gi0/14, Gi0/15, Gi0/16, Gi0/17
                                                Gi0/18, Gi0/19, Gi0/20, Gi0/21
                                                Gi0/22, Gi0/23, Gi0/24, Gi0/25
                                                Gi0/26, Gi0/27, Gi0/28, Gi0/29
                                                Gi0/30, Gi0/33, Gi0/34, Gi0/35
                                                Gi0/36, Gi0/37, Gi0/38, Gi0/39
                                                Gi0/41, Gi0/43, Gi0/45, Gi0/46
102  VLAN0102                         active    Gi0/31, Gi0/40, Gi0/42, Gi0/47
                                                Gi0/48
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
--More--                           ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0  
10   enet  100010     1500  -      -      -        -    -        0      0  
102  enet  100102     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 

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type              Ports
------- --------- ----------------- ------------------------------------------

The switch is in VTP server mode so the vlan configuration is not stored in the running config. What you need to do is copy the vlan.dat file from the old 3560 switch and restore it to the new 3560.

If your switch was in VTP transparent mode then the vlan info would have been stored in running config so you would have been alright.

Jon

New Member

Re: Copy Config VLANs missing issue...

That makes sense.  I knew it had to be me! Cisco always works right! lol.  Thanks a ton.

Is there a simple way to copy this vlan.dat file?

Hall of Fame Super Blue

Re: Copy Config VLANs missing issue...

johnwhites wrote:

That makes sense.  I knew it had to be me! Cisco always works right! lol.  Thanks a ton.

Is there a simple way to copy this vlan.dat file?

John

It should be in flash but you can check with "dir /all" command. You can tftp it just like you did with the config file. If it's only a couple of vlans though it may just be quicker to recreate them on the new 3560.

Jon

New Member

Re: Copy Config VLANs missing issue...

Yup, it was in the flash. Thanks again!

Hall of Fame Super Blue

Re: Copy Config VLANs missing issue...

johnwhites wrote:

Yup, it was in the flash. Thanks again!

No problem, glad to have helped.

Jon

391
Views
0
Helpful
7
Replies
CreatePlease to create content