Pagina 1 di 1

[RISOLTO]Problema nell'utilizzo di Packet tracer e VLAN

Inviato: ven 06 apr , 2012 7:30 pm
da enrix
Ciao a tutti,mi sto esercitando con il laboratorio riguardo le VLAN.
Il mio problema e che quando digito il comando switchport access vlan ... per assegnare l'interfaccia alla relativa vlan ottengo:Invalid input detected at '^' market.

Ho riportato un po di output con la IOS utilizzata.Sembra che il
comando switchport non sia riconosciuto.
S1#show vlan

VLAN Name Status Ports
---- -------------------------------- ---------
-------------------------------
1 default active
99 VLAN0099 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
99 enet 100099 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

Remote SPAN VLANs
------------------------------------------------------------------------------


Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
S1#conf term
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#interface f0/0
S1(config-if)#switchport mode access
^
% Invalid input detected at '^' marker.

S1#conf term
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#interface f0/0
S1(config-if)#sw ?
% Unrecognized command
S1#show version
Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version
12.4(15)T1, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Wed 18-Jul-07 06:21 by pt_rel_team

ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.

System returned to ROM by power-on
System image file is "c2800nm-advipservicesk9-mz.124-15.T1.bin"
Consigli?
Grazie e Buona Pasqua!
Enrico

Re: Problema nell'utilizzo di Packet tracer e VLAN

Inviato: ven 06 apr , 2012 8:23 pm
da paolomat75
Stai provando a configurare una porta del router come fosse di uno switch.
Sono tipo di porte differenti.

Paolo

Re: Problema nell'utilizzo di Packet tracer e VLAN

Inviato: sab 07 apr , 2012 8:54 am
da lucahornet
Come dice Paolo.

Il router non lo configuri come una switch,ma lo utilizzi per creare delle connessioni intervlan.
2 modi o utilizzando interfacce fisiche per ogni vlan se il router ne ha a disposizione oppure crei delle subinterface.

Router(config)#int fa0/0
Router(config-if)#ip add xxxxxxxxxxxx
Router(config)#int fa0/0.10
Router(config-subif)#encapsulation dot1Q 10
Router(config-sudif)#ip add xxxxxxxxxxxxxxxxxx

ciao
Luca

Re: Problema nell'utilizzo di Packet tracer e VLAN

Inviato: dom 08 apr , 2012 11:05 am
da enrix
Ciao Ragazzi, grazie mille!