event filter prepare-for-revert
Contributors
Suggest changes
Deletes unsupported filter or updates unsupported parameter-criteria (parameter-criteria values other than =)
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The event filter prepare-for-revert
command can be used to remove event filters or update event filter rules that are not supported when the cluster reverts to the previous release. Event filters with rules having a parameter-criteria
value other than *=*
are not supported.
Parameters
- {
-delete-unsupported-filters {true|false}
- Clear Unsupported Filters (privilege: advanced) -
Use this parameter to delete the event filters that are not supported in the previous release.
- |
-update-unsupported-filter-param-criteria {true|false}
- Update Unsupported Filter Parameter Criteria (privilege: advanced) } -
Use this parameter to update the event filter rules that are not supported in the previous release to
*=*
.
Examples
The following shows examples of "event filter prepare-for-revert":
cluster1::> event filter show Filter Rule Rule SNMP Trap Name Posn Type Message Name Severity Type Parameters ----------- ---- -------- ------------- ----------- --------- ---------- default-trap-events 1 include * EMERGENCY, ALERT * *=* 2 include * * Standard, Built-in *=* 3 exclude * * * *=* important-events 1 include * EMERGENCY, ALERT * *=* 2 include callhome.* ERROR * *=* 3 exclude * * * *=* no-info-debug-events 1 include * EMERGENCY, ALERT, ERROR, NOTICE * *=* 2 exclude * * * *=* wafl-filter 1 include wafl.* EMERGENCY * vol=xyz 2 exclude * * * *=* 10 entries were displayed. cluster1::*> event filter prepare-for-revert -delete-unsupported-filters true cluster1::> event filter show Filter Rule Rule SNMP Trap Name Posn Type Message Name Severity Type Parameters ----------- ---- -------- ------------- ----------- --------- ---------- default-trap-events 1 include * EMERGENCY, ALERT * *=* 2 include * * Standard, Built-in *=* 3 exclude * * * *=* important-events 1 include * EMERGENCY, ALERT * *=* 2 include callhome.* ERROR * *=* 3 exclude * * * *=* no-info-debug-events 1 include * EMERGENCY, ALERT, ERROR, NOTICE * *=* 2 exclude * * * *=* 8 entries were displayed.