12-02-2024 05:26 PM - editado 12-02-2024 05:59 PM
Hola todos,
Tengo una pregunta sobre el nivel de mensajes del sistema HSRP en Nexus9000.
según el comando "show logging level hsrp"
Parece que el nivel es "tres". pero el mensaje real es "cinco" cuando el estado cambiar.
¿No sé la razón?
N9K-1(config)# logging level hsrp 5
N9K-1# show logging level hsrp
Facility Default Severity Current Session Severity
-------- ---------------- ------------------------
hsrp_engine 3 5
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
==>Cambiar la prioridad HSRP en el otro lado
N9K-1#
2024 Dec 3 09:58:28 N9K-1 %HSRP_ENGINE-5-ACTIVE_CHANGE: Interface Vlan1 IPV4 Grp 1 Active router is 0.0.0.0
2024 Dec 3 09:58:28 N9K-1 %HSRP_ENGINE-5-ACTIVEROUTERPRIORITY: Interface Vlan1 IPV4 Grp 1 Active router priority changed to 0
2024 Dec 3 09:58:28 N9K-1 %HSRP_ENGINE-5-GRPSTATECHANGE: Interface Vlan1 IPV4 Grp 1 state changed from Active to Speak reason Rx Coup.
2024 Dec 3 09:58:28 N9K-1 %HSRP_ENGINE-5-ACTIVE_CHANGE: Interface Vlan1 IPV4 Grp 1 Active router is 192.168.1.102
2024 Dec 3 09:58:28 N9K-1 %HSRP_ENGINE-5-ACTIVEROUTERPRIORITY: Interface Vlan1 IPV4 Grp 1 Active router priority changed to 111
2024 Dec 3 09:58:38 N9K-1 %HSRP_ENGINE-5-GRPSTATECHANGE: Interface Vlan1 IPV4 Grp 1 state changed from Speak to Standby reason Sby Timer Expired.
2024 Dec 3 09:58:38 N9K-1 %HSRP_ENGINE-5-STANDBY_CHANGE: Interface Vlan1 IPV4 Grp 1 Standby router is 192.168.1.101
2024 Dec 3 09:58:38 N9K-1 %HSRP_ENGINE-5-STANDBYROUTERPRIORITYCHANGE: Interface Vlan1 IPV4 Grp 1 Standby router priority changed to 110
#####
==>si cambia desde la configuración inicial.
N9K-1# sh logging level hsrp
Facility Default Severity Current Session Severity
-------- ---------------- ------------------------
hsrp_engine 3 3
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
N9K-1# sh hsrp brief
*:IPv6 group #:group belongs to a bundle
P indicates configured to preempt.
|
Interface Grp Prio P State Active addr Standby addr Group addr
Vlan1 1 110 P Active local 192.168.1.102 192.168.1.2
54 (conf)
==>Cambiar la prioridad HSRP en el otro lado, pero No hay ningún mensaje.
N9K-1# sh hsrp brief
*:IPv6 group #:group belongs to a bundle
P indicates configured to preempt.
|
Interface Grp Prio P State Active addr Standby addr Group addr
Vlan1 1 110 P Standby 192.168.1.102 local 192.168.1.2
Agradecería si me pueden hacer saber cualquier información.
Muchas gracias.
Masanobu Hiyoshi de Japón.
el 12-03-2024 07:18 AM
saludos @mhiyoshi gracias por comunicarte con la comunidad de cisco recuerda que exiten niveles de alertas en los dispositivos, los cuales detallo a continuación.
Level KeywordLevelDescriptionSyslog Definition
emergencies | 0 | System unstable | LOG_EMERG |
alerts | 1 | Immediate action needed | LOG_ALERT |
critical | 2 | Critical conditions | LOG_CRIT |
errors | 3 | Error conditions | LOG_ERR |
warnings | 4 | Warning conditions | LOG_WARNING |
notifications | 5 | Normal but significant condition | LOG_NOTICE |
informational | 6 | Informational messages only | LOG_INFO |
debugging | 7 | Debugging messages | LOG_DEBUG |
este mensaje indica que el nexus 9k ejecuto cambio de prioridades y tomo la configuracion de HSRP con priority 110.
esto no supone ningún problema en la plataforma, mas que cambio de prioridades en el HSRP.
Por favor recuerda darle like y si esto solvento tu duda selecciona como respuesta solucionada.
Referencia https://www.cisco.com/c/en/us/td/docs/routers/access/wireless/software/guide/SysMsgLogging.html
el 12-03-2024 08:28 PM
Gracias por su información.
Creo que normalmente el nivel de logging HSRP es cinco, pero el nivel de configuración de logging de Nexus9K es tres,
por ejemplo, si cambia la prioridad superior del HSRP...
%HSRP_ENGINE-5-ACTIVE_CHANGE:
Es una limitación para el nivel de instalación de registro. Se define cada nivel de instalación,
puede verlo con el comando "show logging level hsrp".
Por lo que si configuras "logging console 5(notificación)", no puede mostrar el mensaje HSRP, ¿verdad?
¿Conoce usted alguna URL relacionada?
Saludos
Masanobu Hiyoshi
Descubra y salve sus notas favoritas. Vuelva a encontrar las respuestas de los expertos, guías paso a paso, temas recientes y mucho más.
¿Es nuevo por aquí? Empiece con estos tips. Cómo usar la comunidad Guía para nuevos miembros
Navegue y encuentre contenido personalizado de la comunidad