Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble setting vlan for 2912 switch

Status
Not open for further replies.

mlien

Technical User
Dec 29, 2000
25
0
0
CA
I have a switch model WS-C2912-XL-A switch with "c2900XL-h2-mz-120.5.1-XP.bin" flash. I ran into trouble when I tried to practice setting up the vlan. I follow "Exam Cram" Switching book to excercise the command. Which is follow:

Switch(config)#vlan database
Swich(config-database)#vlan vlan_number[name vlan_name][mtu mtu_size]

The command seems to be missing. I type "?" in the global configuration mode, and there is no such command. However, I have no trouble assign ports to Vlans. The command I use are:

Switch(config)#interface module_number/port_number
Switch(config-if)#switchport mode access
switch(config-if)#switchport access vlan vlan_number

And when I tried to verified it by using the "show interface fa0/1 switchport". The switch can't recognize the command because of "switchport". Here is the outcome:

Switch#show interface fa0/1 switchport
^
% Invalid input detected at '^' marker.
Switch#show interface fa0/1 ?
accounting Show interface accounting
crb Show interface routing/bridging info
fair-queue Show interface Weighted Fair Queueing (WFQ) info
flow-control Show flow control information
irb Show interface routing/bridging info
link-trap Show interface traps on no link
mac-accounting Show interface MAC accounting info
precedence Show interface precedence accounting info
random-detect Show interface Weighted Random Early Detection (WRED) info
rate-limit Show interface rate-limit info
type Show vlan types
| Output modifiers
<cr>

Please help me out. Is there any step I miss here? I need to get on some hand-on experience for my switching exam. Thanks in advance.
 
I would guess you do not have the enterprise version of the IOS. Without it, you do not get VLANs. Do a show ver and check the version.

MikeS Find me at
&quot;Diplomacy; the art of saying 'nice doggie' till you can find a rock&quot; Wynn Catlin
 
Hi Wybnormal, Thanks for the info. I don't know much about switch. Here is the show ver:Cisco Internetwork Operating System Software
IOS (tm) C2900XL Software (C2900XL-H2-M), Version 12.0(5.1)XP, MAINTENANCE INTER
IM SOFTWARE
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Fri 10-Dec-99 11:00 by cchang
Image text-base: 0x00003000, data-base: 0x00282880

ROM: Bootstrap program is C2900XL boot loader

Switch uptime is 3 minutes
System returned to ROM by power-on
System image file is &quot;flash:c2900XL-h2-mz-120.5.1-XP.bin&quot;


cisco WS-C2912-XL (PowerPC403GA) processor (revision 0x11) with 8192K/1024K byte
s of memory.
Processor board ID 0x0D, with hardware revision 0x01
Last reset from power-on

Processor is running Standard Edition Software
Cluster member switch capable
12 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:B0:64:F1:C0:00
Motherboard assembly number: 73-3397-07
Power supply part number: 34-0834-01
Motherboard serial number: FAB040342SL
Power supply serial number: PHI0340012Q
Model revision number: A0
Model number: WS-C2912-XL-A
System serial number: FAB0404T0F2
Configuration register is 0xF

 
:::snip::
Processor is running Standard Edition Software
:::Snip::


This line means no vlans. You need the enterprise version of the software. You can download this from the CCO at Cisco.

MikeS Find me at
&quot;Diplomacy; the art of saying 'nice doggie' till you can find a rock&quot; Wynn Catlin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top