The snmp-agent trap enable feature-name erps command enables the trap function for the Ethernet Ring Protection Switching (ERPS) module.
The undo snmp-agent trap enable feature-name erps command disables the trap function for the ERPS module.
By default, the trap function is enabled for the ERPS module.
snmp-agent trap enable feature-name erps [ trap-name { hwerpsfwstatediscarding | hwerpsfwstateforwarding } ]
undo snmp-agent trap enable feature-name erps [ trap-name { hwerpsfwstatediscarding | hwerpsfwstateforwarding } ]
Parameter | Description | Value |
---|---|---|
trap-name | Enables or disables the trap function for ERPS events of specified types. | - |
hwerpsfwstatediscarding | Enables or disables the trap function when a port in an ERPS ring enters the Discarding state. | - |
hwerpsfwstateforwarding | Enables or disables the trap function when a port in an ERPS ring enters the Forwarding state. | - |