How to move a port from one vlan to another?

Jun 23, 2006 2 Replies

I have a Cisco 2900 XL router that has 2 VLAN's. I ran "show vlan brief" and it has listed ports . I used set vlan [vlan#] [port#] but it didn't work. The router think vlan keyword is a problem. Can anyone tell me what is the correct way to move ports from one vlan to another?



Thanks for your help



The 2900XL is a switch, not a router. It can't do anything on layer-3.

set vlan port# is a CatOS command. The 2924xl is an IOS device, you need to use IOS commands.

int Faste 0/1 switchport access vlan 2

Many thanks for your help

This is how I did it

Switch>enable Switch#configure terminal Switch(config)#interface Fa0/10 Switch(config-if)#switchport access vlan 3

Thanks again.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required