09-25-2007 02:20 AM - edited 03-05-2019 06:41 PM
I've got an 877 running IOS 12.4.6, and I want to create two VLANs (1 & 26)
1 already exists, and all the ethernet ports are already in it.
I create VLAN 26 by doing:
int vlan 26
ip add x.x.x.x 255.255.255.0
Now, if I go to an interface and do:
int f0
switchport mode access vlan 26
I get the message back:
%Access VLAN 26 does not exist. Please add it to vlan database
What am I missing ?
Thanks,
GTG
Solved! Go to Solution.
09-25-2007 02:43 AM
Hi
First change the mode to vtp server i.e
vlan database#vtp server
then create vlans.
Thanks
Mahmood
09-25-2007 02:29 AM
Hi
I think u need to first create a vlan before u assign any port to it.what the message says that u need to create a vlan first.ie.
router#vlan database
router(vlan database)# vlan 26 name (anyname)
Thanks
Mahmood
09-25-2007 02:41 AM
Minor progress:
Router#vlan database
Router(vlan)#vlan 26 name "Clients"
VLAN 26 added:
Name: Clients
Router(vlan)#show
VLAN ISL Id: 1
Name: default
Media Type: Ethernet
VLAN 802.10 Id: 100001
State: Operational
MTU: 1500
Translational Bridged VLAN: 1002
Translational Bridged VLAN: 1003
VLAN ISL Id: 26
Name: Clients
Media Type: Ethernet
VLAN 802.10 Id: 100026
State: Operational
MTU: 1500
Router(vlan)#exit
In CLIENT state, no apply attempted.
Exiting....
Router#vlan database
Router(vlan)#show
And VLAN26 has disappeared....
GTG
09-25-2007 02:43 AM
Hi
First change the mode to vtp server i.e
vlan database#vtp server
then create vlans.
Thanks
Mahmood
09-25-2007 03:14 AM
That sorted it.
Thanks !
GTG
01-29-2021 05:46 AM
Thanks, MAHMOOD, it's working on GNS3 Ethernet Switch router.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: