Connectrix: Cisco: As portas entram em um estado imediato Erro desativado
Resumo: Este artigo da KB descreve um problema em que o Connectrix: As portas Cisco entram em um estado desativado de erro imediato.
Sintomas
Várias abas de porta, o que faz com que a memória Ternary Content Addressable Memory (TCAM) seja usada em certos casos.
As portas fazem a transição imediatamente para a Error disabled Estado ao executar no shutdown.
Se houver login no dispositivo, a porta entra na Error disabled Estado:
edge-(config-if)# no shutdown fc4/29: (error) Failed to Write to TCAM
A programação de listas de controle de acesso (ACL) falha ao causar falha na ativação da zona ou falha de login do dispositivo.
As seguintes mensagens do syslog são exibidas:
%ZONE-2-ZS_TCAM_SWITCHED_TO_SOFT_ZONING_MODE: %$VSAN 12%$ Switched to soft zoning : Reason: Hard zoning disabled
Analisadas as entradas do TCAM:
show system internal acl tcam-usage TCAM Entries: ============= Region1 Region2 Region3 Region4 Region5 Region6 Mod Fwd Dir TOP SYS SECURITY ZONING BOTTOM FCC DIS FCC ENA Eng Use/Total Use/Total Use/Total Use/Total Use/Total Use/Total --- --- ------ ---------- --------- ------------ --------- --------- --------- 4 3 INPUT 239/19664 0/9840 35004/49136* 87/19664 0/0 0/0
Em seguida, esse erro aparece:
show port internal event-history errors 12) Event:E_DEBUG, length:119, at 424487 usecs after Wed Oct 5 00:50:56 2016 [102] pi_fsm_port_attr_change_init: Ifindex (fc4/26)0x1199000, Err disabled event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23
O mesmo erro existe para:
[102] pi_fsm_ac_cfg_wait_resp_rcvd: Ifindex (fc4/32)0x119f000, Err disabled (0x404e0005) event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23 due to acl mode failure [102] pi_fsm_ac_cfg_wait_resp_rcvd: Ifindex (fc4/27)0x119a000, Err disabled (0x404e0005) event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23 due to acl mode failure [102] pi_fsm_ac_cfg_wait_resp_rcvd: Ifindex (fc4/29)0x119c000, Err disabled (0x404e0005) event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23 due to acl mode failure
E para isso:
show port internal event-history errors 12) Event:E_DEBUG, length:119, at 424487 usecs after Wed Oct 5 00:50:56 2016 [102] pi_fsm_port_attr_change_init: Ifindex (fc4/26)0x1199000, Err disabled event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23
O mesmo erro existe para:
[102] pi_fsm_ac_cfg_wait_resp_rcvd: Ifindex (fc4/32)0x119f000, Err disabled (0x404e0005) event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23 due to acl mode failure [102] pi_fsm_ac_cfg_wait_resp_rcvd: Ifindex (fc4/27)0x119a000, Err disabled (0x404e0005) event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23 due to acl mode failure [102] pi_fsm_ac_cfg_wait_resp_rcvd: Ifindex (fc4/29)0x119c000, Err disabled (0x404e0005) event (PI_FSM_EV_ACL_MODE_PROG_FAILURE)0x23 due to acl mode failure
Causa
Bug da Cisco CSCuw15428 Escala de FC: Erro de porta desabilitada devido a falha de regravação do TCAM
A programação da ACL falha, pois o uso do TCAM quase atingiu o limite e reclama de falta de espaço:
'show system internal acl tcam-usage' 1 1 INPUT 2506/13114 0/3290 65496/68786* 16/13114 0/0 0/0 1 1 OUTPUT 7/4077 0/1645 0/11469 0/4077 6/1651 9/1654
O alto valor é devido a algumas entradas duplicadas programadas:
module-1# sh process acltcam fwd-engine 1 input match interface fc 1/15 | inc d80601 00442 44 0 136 d80601 d80601 0 12 - - - - - - - - - | 0 0 0 0 0 0 02802 44 0 136 d80601 d80601 0 12 - - - - - - - - - | 0 0 0 0 0 0 08282 bb 0 136 d80601 6e028d 0 12 - - - - - - - - - | 0 0 0 0 1 0 0854a bb 0 136 d80601 6e028d 0 12 - - - - - - - - - | 0 0 0 0 1 0 08562 bb 0 136 d80601 6e028b 0 12 - - - - - - - - - | 0 0 0 0 1 0 08563 bb 0 136 d80601 6e028b 0 12 - - - - - - - - - | 0 0 0 0 1 0
Às vezes, o tcam-usage O valor fica negativo:
`show system internal acl tcam-usage` TCAM Entries: ============= Region1 Region2 Region3 Region4 Region5 Region6 Mod Fwd Dir TOP SYS SECURITY ZONING BOTTOM FCC DIS FCC ENA Eng Use/Total Use/Total Use/Total Use/Total Use/Total Use/Total --- --- ------ ---------- --------- ------------ --------- --------- --------- 3 3 INPUT 192/9824 0/0 -1126/-1126* 131/9824 0/0 0/0
A partir da versão 7.3.0 e versões posteriores, em vez de um valor negativo, um valor inesperadamente grande é exibido:
1 5 INPUT 598/9824 0/0 4294964129/4294964129* 523/9824 0/0 0/0
Resolução
Corrigir:
Faça upgrade para o NX-OS 6.2(17).
Solução alternativa:
Recarregue a placa de linha em questão.
Mais informações
No caso identificado, o switch era um 9710 @ 6.2.11c e a placa de linha em questão era um DS-X9448-768K9 (módulo FC avançado de 2/4/8/10/16 Gbps).