Есть 2 одинаковых свитча, циска 2950 Т 24.
Они обьедены двумя каналами, первый проходит через 2 свитча одной компании, второй через 5 свитчей второй, плюс в обоих случаях через медиаконвертеры.
Интерфейсы обьедены в EtherChannel, в итоге работает 1 канал, второй только как резерв, т.е. при отключении первого через 25-30 секунд начинает работать второй. Конечно задача резервирования как-бы решена, но желательно использовать каналы вместе, когда они оба работают.
Конфигурация обоих свитчей аналогична, поэтому привожу часть конфига одной из цисок:
!
interface FastEthernet0/2
switchport access vlan 2
switchport mode access
speed 100
duplex full
no cdp enable
channel-group 1 mode active
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
speed 100
duplex full
no cdp enable
channel-group 1 mode active
spanning-tree portfast
!
--------------------
sw#sh etherchannel detail
Channel-group listing:
----------------------
Group: 1
----------
Group state = L2
Ports: 2 Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol: LACP
Ports in the group:
-------------------
Port: Fa0/2
------------
Port state = Up Sngl-port-Bndl Mstr Not-in-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = null GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Fa0/2 SA indep 32768 0x1 0x1 0x2 0x7D
Age of the port in the current state: 0d:00h:54m:13s
Port: Fa0/3
------------
Port state = Up Sngl-port-Bndl Mstr Not-in-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = null GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDUs.
A - Device is in active mode. P - Device is in passive mode.
Local information:
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Fa0/3 SA indep 32768 0x1 0x1 0x3 0x7D
Age of the port in the current state: 0d:00h:55m:24s
Port-channels in the group:
---------------------------
Port-channel: Po1 (Primary Aggregator)
------------
Age of the Port-channel = 0d:04h:21m:30s
Logical slot/port = 1/0 Number of ports = 0
HotStandBy port = null
Port state = Port-channel Ag-Not-Inuse
Protocol = LACP