HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 77
snmp-agent ifmib long-ifindex enable
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 77 highlights
Use undo snmp-agent log to restore the default. By default, SNMP logging is disabled. Use SNMP logging to record the SNMP operations performed on the SNMP agent for auditing NMS behaviors. The SNMP agent sends log data to the information center. You can configure the information center to output the data to a specific destination as needed. Examples # Enable logging SNMP GET operations. system-view [Sysname] snmp-agent log get-operation # Enable logging SNMP SET operations. system-view [Sysname] snmp-agent log set-operation snmp-agent ifmib long-ifindex enable Syntax snmp-agent ifmib long-ifindex enable View undo snmp-agent ifmib long-ifindex enable System view Default level 2: System level Parameters None Description Use snmp-agent ifmib long-ifindex enable to switch the format of an NM-specific ifindex from 16-bit to 32-bit. Use undo snmp-agent ifmib long-ifindex enable to restore the default. By default, an NM-specific ifindex is in 16-bit format. Some configurations use parameters relating to NM-specific ifindex; therefore, the switch of NM-specific ifindex causes temporary ineffectiveness of these configurations (if the format of the ifindex is switched back, the configurations will become effective again). In this case, you need to perform the configurations again with the new NM-specific ifindexes, and then the related configurations become effective. For example, in the configuration of RMON alarm group and private alarm group, the alarm variables are presented in the format of OID/variable-name.NM-specific-ifindex; the switching of NM-specific ifindex format makes the RMON alarm variables ineffective. To monitor the affected nodes again, you need to re-configure the alarm groups with the new format of NM-specific ifindexes. Examples # Switch the format of an NM-specific ifindex from 16-bit to 32-bit. system-view [Sysname] snmp-agent ifmib long-ifindex enable 71