snmp-agent trap enable fc-zone
Use snmp-agent trap enable fc-zone to enable SNMP notifications for the zoning module.
Use undo snmp-agent trap enable fc-zone to disable SNMP notifications for the zoning module.
Syntax
snmp-agent trap enable fc-zone [ activation-completed | defaultzone-change | hardzone-change | merge-failed | merge-succeeded ] *
undo snmp-agent trap enable fc-zone [ activation-completed | defaultzone-change | hardzone-change | merge-failed | merge-succeeded ] *
Default
All SNMP notifications for the zoning module are disabled.
Views
System view
Predefined user roles
network-admin
Parameters
activation-completed: Specifies notifications about zone set activation or deactivation.
defaultzone-change: Specifies notifications about default zone policy changes.
hardzone-change: Specifies notifications about hard zoning status changes.
merge-failed: Specifies notifications about for merge failures.
merge-succeeded: Specifies notifications about for merge successes.
Usage guidelines
Only FCF and FCF-NPV switches support this command.
To report critical zoning events to an NMS, enable SNMP notifications for the zoning module. For zoning event notifications to be sent correctly, you must also configure SNMP on the device. For more information about SNMP configuration, see the network management and monitoring configuration guide for the device.
If you do not specify a notification, this command enables all SNMP notifications for the zoning module.
Examples
# Enable all SNMP notifications for the zoning module.
<Sysname> system-view [Sysname] snmp-agent trap enable fc-zone