event filter copy
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Copy an event filter
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The event filter copy
command copies an existing filter to a new filter. The new filter will be created with rules from the source filter. For more information, see the event filter create command.
Parameters
-filter-name <text>
- Filter Name-
Use this mandatory parameter to specify the name of the event filter to copy.
-new-filter-name <text>
- New Event Filter Name-
Use this mandatory parameter to specify the name of the new event filter to create and copy the rules.
Examples
The following example copies an existing event filter named emer-wafl-events to a new filter named filter1:
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 * * * *=* emer-wafl-events 1 include wafl.* EMERGENCY * *=* 2 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 * * * *=* 10 entries were displayed. cluster1::> event filter copy -filter-name emer-wafl-events -new-filter-name filter1 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 * * * *=* emer-wafl-events 1 include wafl.* EMERGENCY * *=* 2 exclude * * * *=* filter1 1 include wafl.* EMERGENCY * *=* 2 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 * * * *=* 12 entries were displayed.