Examples
# Enable SNMP notifications for domain ID changes.
<Sysname> system-view
[Sysname] snmp-agent trap enable fc-fabric domain-id-change
# Enable SNMP notifications for fabric changes.
<Sysname> system-view
[Sysname] snmp-agent trap enable fc fabric-change
snmp-agent trap enable fc-name-service
Use snmp-agent trap enable fc-name-service to enable SNMP notifications for the name service module.
Use undo snmp-agent trap enable fc-name-service to disable SNMP notifications for the name service
module.
Syntax
snmp-agent trap enable fc-name-service [ login| logout ] *
undo snmp-agent trap enable fc-name-service [ login| logout ] *
Default
All SNMP notifications for the name service module are disabled.
Views
System view
Predefined user roles
network-admin
Parameters
login: Specifies node login.
logout: Specifies node logout.
Usage guidelines
Only FCF and FCF-NPV switches support this command.
If you do not specify any keywords, this command enables all SNMP notifications for the name service
module.
After you enable SNMP notifications for node login or logout, the switch generates a notification when
a node registers or deregisters its name service information with the switch. The notification includes the
VSAN ID, the switch WWN, and the WWN of the N_Port.
Generated notifications are sent to the SNMP module. For more information about SNMP notifications,
see Network Management and Monitoring Configuration Guide.
Examples
# Enable all SNMP notifications for the name service module.
<Sysname> system-view
[Sysname] snmp-agent trap enable fc-name-service
47