How to move a port from one vlan to another?

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

Reply to
soup_or_power
Loading thread data ...

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

Reply to
Doug McIntyre

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.

Reply to
soup_or_power

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.