Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Error assigning port to VLAN on 877

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error assigning port to VLAN on 877

Hi

First change the mode to vtp server i.e

vlan database#vtp server

then create vlans.

Thanks

Mahmood

4 REPLIES

Re: Error assigning port to VLAN on 877

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

New Member

Re: Error assigning port to VLAN on 877

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

Re: Error assigning port to VLAN on 877

Hi

First change the mode to vtp server i.e

vlan database#vtp server

then create vlans.

Thanks

Mahmood

New Member

Re: Error assigning port to VLAN on 877

That sorted it.

Thanks !

GTG

2739
Views
5
Helpful
4
Replies