07-18-2012 09:30 PM - edited 03-07-2019 07:51 AM
I have 3 different routers:
2610xm x 1
2620xm x 2
My issue is I can't create a vlan. I have tried the following:
conf t
(config)#int vlan 10
^
% Invalid input detected at '^' marker.
I have also tried:
#vlan database
(vlan)#vlan 10
VLAN 10 added:
Name: VLAN0010
But when I so a "show vlans" I continue to get "No Virtual LANs configured"
I know these are older routers but I am strictly using them for studies. What am I doing wrong that I can't create a simple vlan?
Thanks
07-19-2012 03:55 AM
Hi Chris,
This my be IOS version related
Try this
vlan data
vlan 10 name XXXXX
apply
exit
!
show vlan-switch
May be now you can see vlan 10
conf t
!
int vlan 10
desc ** VLAN 10 SVI ***
ip add a.b.c.d m.m.m.m
!
Typo fixed
Thanks Alessio
Regards,
Alex.
Please rate useful posts.
07-19-2012 04:37 AM
Hi Chirs,
acampbell gave you the right ide but at the very beginning of the config just separate the commands:
vlan data name XXXXX
vlan 10
router#
router#vlan database
router(vlan)# vlan 10 name myvlan
router(vlan)#apply
router(vlan)#exit
router#
the order of operation is important. BTW check also if you tried to set VTP in CLIENT mode...
Happy studies
Alessio
PS: you have old but brilliant routers!!!!! Upgrade them to c2600-adventerprisek9-mz.124-25d.bin after checking the RAM/FLASH requirements and you will defiintely enjoy more!!!
07-19-2012 06:06 AM
Thanks guys, when I do a:
show vlan-switch
it does show up but i still can't get into the interface vlan 10 to config anything.
To give a little more info I bought these routers on ebay for a lab. How can I upgrade the them through cisco? Do I need to have maintanence to upgrade the switches?
Am I out of luck on the upgrade?
Thanks
07-19-2012 06:42 AM
The main issue is that they are EOL and EOS.... Maybe by Luck you will find this IOS among the ones that a friend of yours bought in the past.... but first of all you need to check which version you have right now.
you should anyway check if in the flash there are further vlan configurations and which privilege you are working with. Even with a 12.1 version you should not have issues .. how many interfaces did you assign to this vlan? if you have NO connected interfaces to your vlan you will not do anything with it.
Make sure the "ip routing" command is present on your config and check the output of show vlans command.
before writing your SVI
define the vlan below the interface:
int fa0/1
sw mo acc
sw acc vlan 10
exit
int fa0/2
sw mo acc
sw acc vlan 10
end
!
!
and then define your SVI
int vlan 10
ip address 1.1.1.1 255.0.0.0
des I did it
end
!
Good Luck and let us know
Alessio
07-19-2012 06:20 PM
ok, i updated to c2600-adventerprisek9-mz.124-25d.bin and still have the same issues. "IP Routing" is NOT in my config even after i enable it, and I also don't have the "sw" command when configuring the interface access to the vlan.
Maybe these routers aren't capable? I'm not sure what's going on. I have created vlans and gave them access to interfaces on switches, but can't get this to work with my routers.
Any other ideas? Thanks
07-19-2012 06:37 PM
So, my test vlan 11 does show up when I add it through the vlan database and then run a "show vlan-switch". Anybody know another way to assign vlans to interfaces?
Harry#show vlan-switch
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
11 test 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 - - - - - 1002 1003
11 enet 100011 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 1 1003
1003 tr 101003 1500 1005 0 - - srb 1 1002
1004 fdnet 101004 1500 - - 1 ibm - 0 0
1005 trnet 101005 1500 - - 1 ibm - 0 0
Harry#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide