cisco 6000 load sharing
привет столкнулись со следующей вещью - Cisco 6000 / Sup2 / IOS 12.1(27), настраиваем per-packet load sharing. Адрес хоста 62.244.59.200, вот его описание в CEF: #sh ip cef 62.244.59.200 inter 62.244.59.200/32, version 196210, epoch 0, per-packet sharing 0 packets, 0 bytes Flow: AS 0, mask 32 via 62.244.59.14, FastEthernet4/26, 0 dependencies traffic share 1, current path next hop 62.244.59.14, FastEthernet4/26 valid adjacency via 62.244.59.10, FastEthernet4/25, 0 dependencies traffic share 1 next hop 62.244.59.10, FastEthernet4/25 valid adjacency via 62.244.59.6, FastEthernet4/24, 0 dependencies traffic share 1 next hop 62.244.59.6, FastEthernet4/24 valid adjacency via 62.244.59.2, FastEthernet4/23, 0 dependencies traffic share 1 next hop 62.244.59.2, FastEthernet4/23 valid adjacency 0 packets, 0 bytes switched through the prefix tmstats: external 0 packets, 0 bytes internal 0 packets, 0 bytes Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1) Hash OK Interface Address Packets 1 Y FastEthernet4/26 62.244.59.14 0 2 Y FastEthernet4/25 62.244.59.10 0 3 Y FastEthernet4/24 62.244.59.6 0 4 Y FastEthernet4/23 62.244.59.2 0 5 Y FastEthernet4/26 62.244.59.14 0 6 Y FastEthernet4/25 62.244.59.10 0 7 Y FastEthernet4/24 62.244.59.6 0 8 Y FastEthernet4/23 62.244.59.2 0 9 Y FastEthernet4/26 62.244.59.14 0 10 Y FastEthernet4/25 62.244.59.10 0 11 Y FastEthernet4/24 62.244.59.6 0 12 Y FastEthernet4/23 62.244.59.2 0 13 Y FastEthernet4/26 62.244.59.14 0 14 Y FastEthernet4/25 62.244.59.10 0 15 Y FastEthernet4/24 62.244.59.6 0 16 Y FastEthernet4/23 62.244.59.2 0 Типа все зашибись, балансировка должна осуществляться по принципу per-packet по четырем интерфейсам. При этом загрузка интерфейсов неравномерная - Fa4/25 тащит почти сотку (output rate), остальные - в разнобой: FastEthernet4/23 is up, line protocol is up (connected) 5 minute input rate 30913000 bits/sec, 3450 packets/sec 5 minute output rate 2898000 bits/sec, 519 packets/sec FastEthernet4/24 is up, line protocol is up (connected) 5 minute input rate 30091000 bits/sec, 2996 packets/sec 5 minute output rate 19976000 bits/sec, 6419 packets/sec FastEthernet4/25 is up, line protocol is up (connected) 5 minute input rate 32870000 bits/sec, 3851 packets/sec 5 minute output rate 95568000 bits/sec, 8879 packets/sec FastEthernet4/26 is up, line protocol is up (connected) 5 minute input rate 35730000 bits/sec, 7967 packets/sec 5 minute output rate 8990000 bits/sec, 2335 packets/sec аналогичная конфигурация настроена с ответной стороны и, как видно из статистики выше (input rate), распределение нагрузки практически равномерное - около 30Mbps per interface. Конфигурация интерфейсов примитивная: interface FastEthernet4/23 - 26 ip address x.x.x.x 255.255.255.252 ip load-sharing per-packet ip ospf network point-to-point speed 100 duplex full end #sh ip cef summary IP Distributed CEF with switching (Table Version 196265), flags=0x0 7416 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 5782 7416 leaves, 920 nodes, 1966496 bytes, 134567 inserts, 127151 invalidations 10 load sharing elements, 3360 bytes, 10 references universal per-destination load sharing algorithm, id 3706835A 3(0) CEF resets, 624 revisions of existing leaves Resolution Timer: Exponential (currently 1s, peak 4s) 683 in-place/0 aborted modifications refcounts: 249697 leaf, 235776 node Table epoch: 0 (7416 entries at this epoch) Adjacency Table has 724 adjacencies #sh cef interface fa4/23 FastEthernet4/23 is up (if_number 52) Corresponding hwidb fast_if_number 52 Corresponding hwidb firstsw->if_number 52 Internet address is 62.244.59.1/30 ICMP redirects are always sent Per packet load-sharing is enabled IP unicast RPF check is disabled Inbound access list is not set Outbound access list is not set IP policy routing is disabled BGP based policy accounting is disabled Hardware idb is FastEthernet4/23 Fast switching type 22, interface type 122 IP CEF switching enabled IP Feature Fast switching turbo vector IP Feature CEF switching turbo vector Input fast flags 0x0, Output fast flags 0x0 ifindex 228(228) Slot 4 Slot unit 23 VC -1 Transmit limit accumulator 0x0 (0x0) IP MTU 1500 Куда копать? В сторону замены софта? Спасибо -- /doka ~~~~~~~~ http://doka-ua.blogspot.com/ http://omar-ha-em.blogspot.com/ "Справа не в церкві і не в наркотиках. Справа у відповідальності та вдячності. Якщо в тебе це є, маєш шанс померти не останньою скотиною." (с) С.Жадан, "Ворошиловград"
помогло включение mls ip cef load-sharing full также рекомендуется к использованию ip cef load-sharing algorithm universal On 10/26/2011 4:04 PM, Vladimir Litovka wrote:
привет
столкнулись со следующей вещью - Cisco 6000 / Sup2 / IOS 12.1(27), настраиваем per-packet load sharing.
Адрес хоста 62.244.59.200, вот его описание в CEF:
#sh ip cef 62.244.59.200 inter 62.244.59.200/32, version 196210, epoch 0, per-packet sharing 0 packets, 0 bytes Flow: AS 0, mask 32 via 62.244.59.14, FastEthernet4/26, 0 dependencies traffic share 1, current path next hop 62.244.59.14, FastEthernet4/26 valid adjacency via 62.244.59.10, FastEthernet4/25, 0 dependencies traffic share 1 next hop 62.244.59.10, FastEthernet4/25 valid adjacency via 62.244.59.6, FastEthernet4/24, 0 dependencies traffic share 1 next hop 62.244.59.6, FastEthernet4/24 valid adjacency via 62.244.59.2, FastEthernet4/23, 0 dependencies traffic share 1 next hop 62.244.59.2, FastEthernet4/23 valid adjacency
0 packets, 0 bytes switched through the prefix tmstats: external 0 packets, 0 bytes internal 0 packets, 0 bytes Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)
Hash OK Interface Address Packets 1 Y FastEthernet4/26 62.244.59.14 0 2 Y FastEthernet4/25 62.244.59.10 0 3 Y FastEthernet4/24 62.244.59.6 0 4 Y FastEthernet4/23 62.244.59.2 0 5 Y FastEthernet4/26 62.244.59.14 0 6 Y FastEthernet4/25 62.244.59.10 0 7 Y FastEthernet4/24 62.244.59.6 0 8 Y FastEthernet4/23 62.244.59.2 0 9 Y FastEthernet4/26 62.244.59.14 0 10 Y FastEthernet4/25 62.244.59.10 0 11 Y FastEthernet4/24 62.244.59.6 0 12 Y FastEthernet4/23 62.244.59.2 0 13 Y FastEthernet4/26 62.244.59.14 0 14 Y FastEthernet4/25 62.244.59.10 0 15 Y FastEthernet4/24 62.244.59.6 0 16 Y FastEthernet4/23 62.244.59.2 0
Типа все зашибись, балансировка должна осуществляться по принципу per-packet по четырем интерфейсам.
При этом загрузка интерфейсов неравномерная - Fa4/25 тащит почти сотку (output rate), остальные - в разнобой:
FastEthernet4/23 is up, line protocol is up (connected) 5 minute input rate 30913000 bits/sec, 3450 packets/sec 5 minute output rate 2898000 bits/sec, 519 packets/sec FastEthernet4/24 is up, line protocol is up (connected) 5 minute input rate 30091000 bits/sec, 2996 packets/sec 5 minute output rate 19976000 bits/sec, 6419 packets/sec FastEthernet4/25 is up, line protocol is up (connected) 5 minute input rate 32870000 bits/sec, 3851 packets/sec 5 minute output rate 95568000 bits/sec, 8879 packets/sec FastEthernet4/26 is up, line protocol is up (connected) 5 minute input rate 35730000 bits/sec, 7967 packets/sec 5 minute output rate 8990000 bits/sec, 2335 packets/sec
аналогичная конфигурация настроена с ответной стороны и, как видно из статистики выше (input rate), распределение нагрузки практически равномерное - около 30Mbps per interface.
Конфигурация интерфейсов примитивная:
interface FastEthernet4/23 - 26 ip address x.x.x.x 255.255.255.252 ip load-sharing per-packet ip ospf network point-to-point speed 100 duplex full end
#sh ip cef summary IP Distributed CEF with switching (Table Version 196265), flags=0x0 7416 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 5782 7416 leaves, 920 nodes, 1966496 bytes, 134567 inserts, 127151 invalidations 10 load sharing elements, 3360 bytes, 10 references universal per-destination load sharing algorithm, id 3706835A 3(0) CEF resets, 624 revisions of existing leaves Resolution Timer: Exponential (currently 1s, peak 4s) 683 in-place/0 aborted modifications refcounts: 249697 leaf, 235776 node
Table epoch: 0 (7416 entries at this epoch)
Adjacency Table has 724 adjacencies
#sh cef interface fa4/23 FastEthernet4/23 is up (if_number 52) Corresponding hwidb fast_if_number 52 Corresponding hwidb firstsw->if_number 52 Internet address is 62.244.59.1/30 ICMP redirects are always sent Per packet load-sharing is enabled IP unicast RPF check is disabled Inbound access list is not set Outbound access list is not set IP policy routing is disabled BGP based policy accounting is disabled Hardware idb is FastEthernet4/23 Fast switching type 22, interface type 122 IP CEF switching enabled IP Feature Fast switching turbo vector IP Feature CEF switching turbo vector Input fast flags 0x0, Output fast flags 0x0 ifindex 228(228) Slot 4 Slot unit 23 VC -1 Transmit limit accumulator 0x0 (0x0) IP MTU 1500
Куда копать? В сторону замены софта?
Спасибо
-- /doka ~~~~~~~~ http://doka-ua.blogspot.com/ http://omar-ha-em.blogspot.com/ "Справа не в церкві і не в наркотиках. Справа у відповідальності та вдячності. Якщо в тебе це є, маєш шанс померти не останньою скотиною." (с) С.Жадан, "Ворошиловград"
participants (1)
-
Vladimir Litovka