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.
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.