The snmp-agent trap enable feature-name vrrp command enables the trap function for the VRRP module.
The undo snmp-agent trap enable feature-name vrrp command disables the trap function for the VRRP module.
By default, the trap function is enabled for the VRRP module.
snmp-agent trap enable feature-name vrrp [ trap-name { vrrptrapauthfailure | vrrptrapmasterdown | vrrptrapnewmaster | hwvrrpexttrapnonmaster | vrrpv3newmaster | vrrpv3protoerror } ]
undo snmp-agent trap enable feature-name vrrp [ trap-name { vrrptrapauthfailure | vrrptrapmasterdown | vrrptrapnewmaster | hwvrrpexttrapnonmaster | vrrpv3newmaster | vrrpv3protoerror } ]
Parameter | Description | Value |
---|---|---|
trap-name | Enables the trap function for the specified event. If no event type is specified using the trap-name parameter, the trap function is enabled for all events. | - |
vrrptrapauthfailure | Enables the vrrptrapauthfailure trap. When the authentication mode and key in the received packet conflicts with those on the switch, the switch sends this trap message to the NMS. | - |
vrrptrapmasterdown | Enables the vrrptrapmasterdown trap. When the VRRP status changes from the Master state to the Backup or Initialize state, the switch sends this trap message to the NMS. | - |
vrrptrapnewmaster | Enables the vrrptrapnewmaster trap. When the VRRP status change from Backup or Initialize to Master, the switch sends this trap message to the NMS. | - |
hwvrrpexttrapnonmaster | This trap is generated when the VRRP backup group status changes from Backup to Initialize or from Initialize to Backup. | - |
vrrpv3newmaster | Enables the trap function when VRRPv3 changes from another state to the Master state. | - |
vrrpv3protoerror | Enables the trap function when a device in a VRRPv3 backup group receives an incorrect VRRP packet. | - |