LINUX.ORG.RU
ФорумAdmin

Cisco C2960S режет скорость интернета

 


0

2

Доброго Local time.

Есть проблемка, в домашний циско свитч приходит канал в 600Mb, а вот со свича на комп приходит всего 70Mb. Не пойму в чем может быть дело, хитрых правил на циске нет, все в большинстве своем по умолчанию. Пробовал подключаться к разным портам, результат одинаковый. Uplink на 24м порту

C2960S-Home#sh interfaces vlan 1
Vlan1 is up, line protocol is up
  Hardware is EtherSVI, address is f4ea.679e.4540 (bia f4ea.679e.4540)
  Internet address is 192.10.1.254/24
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive not supported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:02, output 00:01:41, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 1000 bits/sec, 1 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     4525205 packets input, 780305022 bytes, 0 no buffer
     Received 0 broadcasts (0 IP multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     124535 packets output, 29538225 bytes, 0 underruns
     0 output errors, 2 interface resets
     0 unknown protocol drops
     0 output buffer failures, 0 output buffers swapped out
C2960S-Home#sh run
Building configuration...

Current configuration : 6328 bytes
!
! Last configuration change at 19:02:34 EST Sun Jan 1 2006
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname C2960S-Home
!
boot-start-marker
boot-end-marker
!
enable password 7 XXX
!
username admin privilege 15 password 7 XXX
no aaa new-model
clock timezone EST -5 0
clock summer-time EDT recurring
switch 1 provision ws-c2960s-24ps-l
!
!
ip name-server 1.1.1.1
ip name-server 4.2.2.2
!
!
!
!
!
!
mls qos map policed-dscp  0 10 18 24 46 to 8
mls qos map cos-dscp 0 8 16 24 32 46 48 56
mls qos srr-queue output cos-map queue 1 threshold 3 4 5
mls qos srr-queue output cos-map queue 2 threshold 1 2
mls qos srr-queue output cos-map queue 2 threshold 2 3
mls qos srr-queue output cos-map queue 2 threshold 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 0
mls qos srr-queue output cos-map queue 4 threshold 3 1
mls qos srr-queue output dscp-map queue 1 threshold 3 32 33 40 41 42 43 44 45
mls qos srr-queue output dscp-map queue 1 threshold 3 46 47
mls qos srr-queue output dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 2 threshold 1 26 27 28 29 30 31 34 35
mls qos srr-queue output dscp-map queue 2 threshold 1 36 37 38 39
mls qos srr-queue output dscp-map queue 2 threshold 2 24
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 11 13 15
mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
mls qos queue-set output 1 threshold 1 100 100 50 200
mls qos queue-set output 1 threshold 2 125 125 100 400
mls qos queue-set output 1 threshold 3 100 100 100 400
mls qos queue-set output 1 threshold 4 60 150 50 200
mls qos queue-set output 1 buffers 15 25 40 20
mls qos
!
crypto pki trustpoint TP-self-signed-1738425600
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-1738425600
 revocation-check none
 rsakeypair TP-self-signed-1738425600
!
!
crypto pki certificate chain TP-self-signed-1738425600
 certificate self-signed 01
  3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 31373338 34323536 3030301E 170D3036 30313032 30303031
  34385A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 37333834
  32353630 3030819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100C0F7 69ED300B E11E010C B3BF5275 D89828B8 C0E2CE91 0627BBDD 288499F4
  70BEE490 7DB0F5CB 99822939 8CF9FFCC 894EF501 9F4986A5 7A4A7665 DBF5B606
  CDE26136 2CFBEDD7 27945ECA BA242BB0 70250674 1AFCC28F 1B8FC5B7 B6901655
  33F11229 9EA9AF79 0E881758 4887C1DA 415309B7 F390BEFE B655C10A AF7ED394
  20530203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603
  551D2304 18301680 14A88341 78BB649F AB810B23 178E3297 50329C6A 43301D06
  03551D0E 04160414 A8834178 BB649FAB 810B2317 8E329750 329C6A43 300D0609
  2A864886 F70D0101 05050003 8181002C CD0C548A 826C7871 AD1C22DC A632F491
  88FB9D7C 110194B1 6AF72C9F F267E7B0 3502B18F 33368BA2 781D8C32 48E67F8E
  A3CCE3B3 203B8BBE 88A26B45 8EBEC3D1 4391E513 DF2CBC0D 95F21A83 8B0C9710
  38AF3415 EBD2E3EF A53F4230 E633FB4B AD415152 D4F47A03 313F4266 E3EFA85B
  C1714FB2 329B1D65 2E658E7F 28DC11
        quit
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
lldp run
!
class-map match-all AUTOQOS_VOIP_DATA_CLASS
 match ip dscp ef
class-map match-all AUTOQOS_DEFAULT_CLASS
 match access-group name AUTOQOS-ACL-DEFAULT
class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS
 match ip dscp cs3
!
policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
 class AUTOQOS_VOIP_DATA_CLASS
  set dscp ef
  police 128000 8000 exceed-action policed-dscp-transmit
 class AUTOQOS_VOIP_SIGNAL_CLASS
  set dscp cs3
  police 32000 8000 exceed-action policed-dscp-transmit
 class AUTOQOS_DEFAULT_CLASS
  set dscp default
  police 10000000 8000 exceed-action policed-dscp-transmit
!
!
!
!
!
!
interface FastEthernet0
 no ip address
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
 switchport mode access
 switchport voice vlan 1
 switchport port-security maximum 2
 switchport port-security violation  restrict
 switchport port-security aging time 2
 switchport port-security aging type inactivity
 switchport port-security
 srr-queue bandwidth share 1 30 35 5
 priority-queue out
 mls qos trust device cisco-phone
 mls qos trust cos
 macro description cisco-phone
 auto qos voip cisco-phone
 spanning-tree portfast
 spanning-tree bpduguard enable
 service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
 description === Uplink to INTERNET ===
!
interface GigabitEthernet1/0/25
!
interface GigabitEthernet1/0/26
!
interface GigabitEthernet1/0/27
!
interface GigabitEthernet1/0/28
!
interface Vlan1
 ip address 192.10.1.254 255.255.255.0
 ip helper-address 192.10.1.1
!
ip default-gateway 192.10.1.1
no ip http server
ip http authentication local
ip http secure-server
!
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 2
!
ip access-list extended AUTOQOS-ACL-DEFAULT
 permit ip any any
!
!
line con 0
line vty 0 4
 login
 transport input telnet ssh
line vty 5 15
 login
!
ntp server time.nist.gov
ntp server pool.ntp.org minpoll 10
end

Этот 2960 настроен как обычный L2 свич, все порты в одном вилане. Надо посмотреть на согласованную скорость портов — аплинка и писюка. вроде show int g0/24.

А ты мегабиты в секунду с мегабайтами в секунду нигде не попутал?

iliyap ★★★★★
()
Ответ на: комментарий от iliyap

Я запускал speedtest.net Подключал кабель от компа напрямую к модему - 600Mbps, а вот через свич уже мистика, 70Mbps. На маке показывает 193Mbps Мистика

Аплинк:

C2960S-Home#sh int GigabitEthernet 1/0/24
GigabitEthernet1/0/24 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is f4ea.679e.4518 (bia f4ea.679e.4518)
  Description: === Uplink to INTERNET ===
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 09:38:20, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 833000 bits/sec, 97 packets/sec
  5 minute output rate 84000 bits/sec, 58 packets/sec
     286732874 packets input, 242023852125 bytes, 0 no buffer
     Received 223321 broadcasts (32913 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 32913 multicast, 0 pause input
     0 input packets with dribble condition detected
     223723524 packets output, 79600504314 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

домашний комп

C2960S-Home#sh int Gi1/0/8
GigabitEthernet1/0/8 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is f4ea.679e.4508 (bia f4ea.679e.4508)
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 5185
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 421000 bits/sec, 83 packets/sec
  5 minute output rate 522000 bits/sec, 54 packets/sec
     860520231 packets input, 679857732025 bytes, 0 no buffer
     Received 173094 broadcasts (155648 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 155648 multicast, 0 pause input
     0 input packets with dribble condition detected
     677200189 packets output, 773973420425 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out
mentax
() автор топика

Не спец по цискам, но вот этот момент выглядит мутно:

хитрых правил на циске нет, все в большинстве своем по умолчанию

То есть, какие-то правила есть и что-то не по-умолчанию?

В чём вообще смысл использования циски в данном случае?

Какие результаты теста пропускной способности сети если тестить между десктопом и маком?

Есть ли разница, если перетыкать кабели в разные порты?

manntes-live ★★★
()