I have a frew Ciscos: C2924M-XL, Version 12.0(5.1)XP, and want to configure VLANs
However, when I tried to use the "SET VTP TRANSPARENT" command I get the following:
% Type "set ?" for a list of subcommands
TestSwitch#set ?
% Unrecognized command
I also tried "VLAN DATABASE" at the priviledge mode but I got the following result:
TestSwitch#vlan database
% Invalid input detected at '^' marker.

How do I create VLANs in my C2924M-XL switch?

Thank you for your assistance!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

'set' commands are CATOS commands. The 2924 uses the IOS command set.

See http://www.ciscopress.com/articles/article.asp?p=29803&rl=1
mimi9905Author Commented:
The VTP command in global mode gets me the following results:
TestSwitch(config)#vtp ?
% Unrecognized command

Perhaps this model of switch does not support VTP. Have you tried configuring the VLAN's anyway?
For example:-

conf t
int fa0/1
switchport mode access
switchport access vlan 2
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

mimi9905Author Commented:

I suppose that my switch doesn't support VTP.
I tried your command sequence for configuring the VLAN and was able to switch a port from one VLAN to another.
My next step is to configure my ports with 4 VLANS, I will follow your command sequence for each port.

Will my next step be to configure fa0/1 (port connected to router) for multi VLAN mode?
To configure fa0/1 for multiple vlan's you switch it into trunk mode and define the list of permitted vlan's.
VLAN 1 is normally the native vlan and always goes across without any tagging so you dont bother adding it to the permitted vlan list. you can change the native vlan but it is best to just avoid using vlan 1 unless it is traffic that you want being sent to every switch anyway.

conf t
int fa0/1
switchport mode trunk
switchport trunk allowed vlan add 2,3,4,5                     etc...

If your switch supports multiple trunk types (the default 802.1q and the cisco own propietry ISL) then you can add the following to set 802.1q. It is likly though only 802.1q is supported so this command may not be accepted:-
switchport trunk encapsulation dot1q
mimi9905Author Commented:
You have no idea how I have searched for the answers you have given me.
Thank you very much.

I have enough ammunition to get the job done (I think)

Where did you get this detailed information you just provided me?

Page 2 of the URL I gave you earlier contains the information. I have used the newer 2950-24 switches quite a lot at work so know most of the commands. I have a 2912M with the enterprise (XL) software loaded at home in a mini lab with a couple of 2501 routers.
mimi9905Author Commented:
Thank you
I need no further assistance for now.

Signing off!
Don JohnstonInstructorCommented:
Your 2924XL supports VTP. You just need to be in vlan database mode to configure it.


Switch#vlan data
Switch(vlan-data)#vtp mode transparent


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.