PDA

View Full Version : switch cisco : connection time out


topperharley
22-01-2009, 17:27
Ciao a tutti,
sono nuovissimo del forum e spero di scrivere nell'area giusta...
ho un gran problema che non riesco proprio a spiegarmi sulla rete aziendale...funziona tutto benissimo, ma quando mi collego ad un qualsiasi switch in telnet se resto attivo nessun problema...ma se mollo il terminale per un tempo superiore ai 10 secondi (neanche il tempo di leggere quello che serve) perdo la connessione e devo ricominciare dall'inizio...

a qualcuno è mai capitata una cosa simile?vi assicuro che è una cosa frustrante alla lunga... :muro: :help:

Grazie mille!

Irondream
22-01-2009, 17:42
devi vedere com'è impostato il valore exec-timeout che di default è di 10 minuti
in enable se fai exec-timeout 10 imposti 10 minuti prima di far cadere la connessione, se fai exec-timeout 0 10 imposti 10 secondi...

controlla ;)

topperharley
23-01-2009, 08:44
devi vedere com'è impostato il valore exec-timeout che di default è di 10 minuti
in enable se fai exec-timeout 10 imposti 10 minuti prima di far cadere la connessione, se fai exec-timeout 0 10 imposti 10 secondi...

controlla ;)


Grazie per la dritta Irondream...ho impostato l'exec-timeout a 10 min sia sul line con 0 che sul line vty 0 4 ma purtroppo il problema rimane..."connection to host lost" dopo qualche secondo di inattività (facendo attenzione direi circa 25/30 secondi)...
Può essere un problema di instradamento del traffico sulla rete? xò perchè mi capita solo sugli switch (ne ho 7 e per tutti il problema è lo stesso) mentre con i router tutto ok...? :help:

Irondream
23-01-2009, 08:50
riesci a postare la configurazione dello switch e le caratteristiche della rete?

topperharley
23-01-2009, 08:58
eccola, grazie :


kilo01#sh run
Building configuration...

Current configuration:
!
! Last configuration change at 10:09:53 UTC Wed Jan 14 2009
! NVRAM config last updated at 10:10:12 UTC Wed Jan 14 2009
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname kilo01
!
enable password cisco
!
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
!
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 60
switchport trunk allowed vlan 1,60,61,1002-1005
switchport mode trunk
switchport voice vlan 61
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 60
switchport trunk allowed vlan 1,60,61,1002-1005
switchport mode trunk
switchport voice vlan 61
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport trunk native vlan 60
switchport trunk allowed vlan 1,60,61,1002-1005
switchport mode trunk
switchport voice vlan 61
!
interface FastEthernet0/4
switchport trunk encapsulation dot1q
switchport trunk native vlan 60
switchport trunk allowed vlan 1,60,61,1002-1005
switchport mode trunk
switchport voice vlan 61
!
interface FastEthernet0/5
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/6
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/7
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/10
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/12
switchport trunk encapsulation dot1q
switchport trunk native vlan 50
switchport trunk allowed vlan 1,50,51,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/13
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/14
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/15
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/16
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/17
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/18
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/19
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/20
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/21
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/22
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface FastEthernet0/23
switchport trunk encapsulation dot1q
switchport trunk native vlan 60
switchport trunk allowed vlan 1,60,61,1002-1005
switchport mode trunk
switchport voice vlan 61
spanning-tree portfast
!
interface FastEthernet0/24
switchport trunk encapsulation dot1q
switchport trunk native vlan 75
switchport trunk allowed vlan 1,51,75,1002-1005
switchport mode trunk
switchport voice vlan 51
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no snmp trap link-status
!
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no snmp trap link-status
!
interface VLAN1
ip address 192.168.55.250 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
login
!
ntp clock-period 11259152
ntp server 192.168.52.1
end

topperharley
23-01-2009, 10:08
riesci a postare la configurazione dello switch e le caratteristiche della rete?

come caratteristiche della rete cosa ti interessa sapere? è una vlan 100Mbit..con all'interno un DC, exchange, dhcp, dns, switch e router per la connessione con la "casa madre"

Irondream
23-01-2009, 11:27
guardando le mie configurazioni ho notato solo la differenza nel line con 0

line con 0
line vty 0 4
password xxxx
login
line vty 5 15
password xxxx
login

Non vedo altre differenze...

cisketto
23-01-2009, 13:04
no service password-encryption

Non vedo il motivo di disabilitarlo.(P.S. non c'entra niente con il tuo problema ma offre un molto minimale sistema di criptazione password)

line con 0
line vty 0 4
password xxxx
login
line vty 5 15
password xxxx
login

Diventa:

line con 0
line vty 0 4
password xxxx
no exec-timeout
login
line vty 5 15
password xxxx
no exec timeout
login

Fammi sapere come è andata.

Saluti cisketto

topperharley
23-01-2009, 14:02
no service password-encryption

Non vedo il motivo di disabilitarlo.(P.S. non c'entra niente con il tuo problema ma offre un molto minimale sistema di criptazione password)

line con 0
line vty 0 4
password xxxx
login
line vty 5 15
password xxxx
login

Diventa:

line con 0
line vty 0 4
password xxxx
no exec-timeout
login
line vty 5 15
password xxxx
no exec timeout
login

Fammi sapere come è andata.

Saluti cisketto


Grazie per il post cisketto ma purtroppo anche eliminando il timeout il problema persiste...a questo punto non credo che sia lo switch ad interrompere la comunicazione col client o viceversa...per qualche strana ragione se non hanno un continuo scambio di pacchetti si perdono...alcuni mi hanno consigliato di creare una route statica sul pc ed indirizzare il traffico degli switch...che ne dici? il problema è che sono un junior e non so proprio bene bene come fare :D