Столкнулись с проблемой восстановления работы порта коммутатора после его блокировки по событию errordisable с настроенным errordisable recovery.
Порты TenGigabit коммутатора объединены в агрегат LACP
Код: Выделить всё
alliance-test#sh interfaces Port-Channel 1
Po1 is up (connected)
Interface index is 1000
Hardware is aggregated ethernet interface(s), MAC address is a8:f9:4b:30:04:41
Description: s300-1ag-kirish[poX]
Interface MTU is 1500
Link is up for 0 days, 0 hours, 0 minutes and 4 seconds
Link aggregation type is LACP
No. of members in this port-channel: 2 (active 1)
tengigabitethernet1/0/2, full-duplex, LACP active, 1000Mbps (active)
tengigabitethernet1/0/1, LACP active, 10000Mbps (non-candidate)
Active bandwidth is 1000Mbps
alliance-test#sh fiber-ports optical-transceiver interface te1/0/2
Port Temp Voltage Current Output Input LOS Transceiver
[C] [Volt] [mA] Power Power Type
[mW / dBm] [mW / dBm]
----------- ------ ------- ------- ------------- ------------- --- -------------
te1/0/2 53 3.31 19.40 1.74 / 2.41 0.08 / -10.49 No Fiber
Настройки errordisable recovery
Код: Выделить всё
alliance-test#sh errdisable recovery
Timer interval: 60 Seconds
Reason Automatic Recovery
---------------------- ------------------
loopback_detection Enable
port-security Enable
dot1x-src-address Enable
acl-deny Enable
stp-bpdu-guard Enable
stp-loopback-guard Enable
udld Enable
storm-control Enable
link-flapping Enable
l2pt-guard Enable
При срабатывании события errordisable, порт блокируется и выключается лазер sfp модуля
Код: Выделить всё
alliance-test#show interfaces status TengigabitEthernet 1/0/2
Flow Link Uptime Back Mdix
Port Type Duplex Speed Neg ctrl State (d,h:m:s) Pressure Mode Port Mode
-------- ------------ ------ ----- -------- ---- ----------- ------------- -------- ------- ------------------------
te1/0/2 10G-Fiber -- -- -- -- Down* -- -- -- Access
*: The interface was suspended by the system.
alliance-test#sh fiber-ports optical-transceiver interface te1/0/2
Port Temp Voltage Current Output Input LOS Transceiver
[C] [Volt] [mA] Power Power Type
[mW / dBm] [mW / dBm]
----------- ------ ------- ------- ------------- ------------- --- -------------
te1/0/2 31 3.36 0.00 0.00 / -40.00 0.02 / -15.24 No Fiber
По прошествии времени восстановления из errordisable, порт разблокируется, но выходная оптическая мощность sfp модуля остается на уровне -40 dBm. Соответственно, порт не поднимается
Код: Выделить всё
alliance-test#show interfaces status TengigabitEthernet1/0/2
Flow Link Back Mdix
Port Type Duplex Speed Neg ctrl State Pressure Mode Port Mode
-------- ------------ ------ ----- -------- ---- ----------- -------- ------- ------------------------
te1/0/2 10G-Fiber -- -- -- -- Down -- -- Access
alliance-test#sh fiber-ports optical-transceiver interface te1/0/2
Port Temp Voltage Current Output Input LOS Transceiver
[C] [Volt] [mA] Power Power Type
[mW / dBm] [mW / dBm]
----------- ------ ------- ------- ------------- ------------- --- -------------
te1/0/2 31 3.36 0.00 0.00 / -40.00 0.02 / -15.24 No Fiber
Версия ПО
Код: Выделить всё
alliance-test#sh version
Active-image: flash://system/images/mes3300-4083.ros
Version: 4.0.8.3
Commit: 0bdc2561
Build: 58 (master)
MD5 Digest: 608e7f091ddf57c82eee423c7b1adc9f
Date: 27-Feb-2018
Time: 19:14:08
Inactive-image: flash://system/images/_image1.bin
Version: 4.0.4.1
Commit: 40540c46
MD5 Digest: f0956b416359234cd6343ab1bddbf943
Date: 24-Aug-2016
Time: 15:56:25
Если порт в таком состоянии вывести из агрегата, порт сразу восстанавливает работоспособность