can not add a vlan on cisco 876

Unanswered Question
Oct 26th, 2007


I' trying to add a vlan on vlan database of a cisco 876, but it says to me:

Router#vlan database

Router(vlan)#vlan 2

Vlan can not be added. Maximum number of 1 vlan(s) in the database.

why I can't add a new vlan?

I have the c870-advsecurityk9-mz.124-4.T7 image.


I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Kevin Dorrell Fri, 10/26/2007 - 03:27

The VLAN database is relevant to switches, not to routers.

I presume your router is connected to a switch that can handle VLANs. That is where you need to create your layer-2 VLANs. If you want your router to connect to a VLAN, say VLAN 2, then you have to do it something like this:

interface f0.2

encapsulation dot1q 2

ip address

Repeat that for however many VLANs you want to route.

Kevin Dorrell


scootertgm Fri, 10/26/2007 - 06:14

Don't forget to trunk the port on your switch. Also check the model of the switch. Some switches only run dot1q, others (older switches) like to run isl.

Make sure your encapsulation matches between both devices.

shyam.rao Mon, 11/19/2007 - 05:00


According to the features on cisco 870 series routers all the ethernet ports are layer 2 nor layer 3 it means u cannot assign ipaddress and more over all the 4 ethernet ports are in the vlan 1 and this ciso 876 supports only one VLAN and no more vlans.

Hope this info is help and if i am wrong and if u were able to create a 2nd VLAN,please let me know how to do it.



raulblanco122 Tue, 11/20/2007 - 13:12



I'm able to create 2 or more VLAN's:

I couldn't create the second VLAN when I had the default IOS, but with another IOS you can create various VLAN's.

regards. Raul

shyam.rao Wed, 11/21/2007 - 21:28

Hi Raul,

what is the IOS image that you are using allows to create a second VLAN.?

Thanks in Advance,



This Discussion