cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8357
Views
10
Helpful
5
Replies

Error assigning port to VLAN on 877

gordon.ross
Level 1
Level 1

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

Hi

First change the mode to vtp server i.e

vlan database#vtp server

then create vlans.

Thanks

Mahmood

View solution in original post

5 Replies 5

mahmoodmkl
Level 7
Level 7

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

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

Hi

First change the mode to vtp server i.e

vlan database#vtp server

then create vlans.

Thanks

Mahmood

That sorted it.

Thanks !

GTG

Thanks, MAHMOOD, it's working on GNS3 Ethernet Switch router.

Review Cisco Networking products for a $25 gift card