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
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 SNMP notifications for node login.
<Sysname> system-view
[Sysname] snmp-agent trap enable fc-name-service login
timer distributed-services
Use timer distributed-services to specify the distributed service timeout period for a VSAN.
Use undo timer distributed-services to restore the default.
Syntax
timer distributed-services value
undo timer distributed-services
Default
The distributed service timeout period is 5000 milliseconds.
Views
VSAN view
Predefined user roles
network-admin
72