exit
15.4.2.4
Activation d'un évènement pour l'émission d'une notification SNMP
Pour activer un évènement afin de déclencher une notification SNMP, procédez comme suit :
Remarque
Pour qu'un évènement déclenche une notification SNMP, il faut au préalable configurer et activer
SNMP.
Pour plus d'informations, voir "SNMP (Page 504)".
Opéra‐
tion
1
2
3
4
5
Exemple
Dans l'exemple suivant, l'évènement Bouncing-link est activé pour le déclenchement d'une
notification SNMP.
localhost# config
localhost(config)# system events event-config event switch-mgmt Bouncing-
link snmp-trap
localhost(config-event-switch-mgmt/Bouncing-link)# commit
Commit complete.
localhost(config-event-switch-mgmt/Bouncing-link)# end
localhost# show running-config system events event-config event switch-mgmt
Bouncing-link snmp-trap
system
events
event-config
exit
exit
exit
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07
Instruction
Passez en mode de configuration.
Activez les notifications SNMP pour l'évène‐
ment sélectionné.
Validez la modification.
Quittez le mode de configuration.
Contrôlez la configuration.
event switch-mgmt Bouncing-link
snmp-trap
exit
15.4 Gestion des évènements
Commande
config
system events event-config event
{ Ressource } { ID d'évènement }
snmp-trap
commit
end
show running-config system
events event-config event
{ Ressource } { ID d'évènement }
snmp-trap
Diagnostic
699