HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 67
Displaying and maintaining SNMP
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 67 highlights
Step Command Remarks 2. Configure a target host. snmp-agent target-host trap address udp-domain { ip-address | ipv6 ipv6-address } [ udp-port port-number ] [ dscp dscp-value ] [ vpn-instance vpn-instance-name ] params securityname security-string [ v1 | v2c | v3 [ authentication | privacy ] ] If the trap destination is a host, the ip-address argument must be the IP address of the host. 3. Configure the source address snmp-agent trap source for traps. interface-type interface-number Optional. By default, SNMP chooses the IP address of an interface to be the source IP address of traps. 4. Extend the standard linkUp/linkDown traps. snmp-agent trap if-mib link extended Optional. By default, standard linkUp/linkDown traps are used. Extended linkUp/linkDown traps add interface description and interface type to standard linkUp/linkDown traps. If the NMS does not support extended SNMP messages, use standard linkUp/linkDown traps. 5. Configure the trap queue size. snmp-agent trap queue-size size Optional. The default trap queue size is 100. When the trap queue is full, the oldest traps are automatically deleted for new traps. 6. Configure the trap holding time. snmp-agent trap life seconds Optional. The default setting is 120 seconds. A trap is deleted when its holding time expires. Displaying and maintaining SNMP Task Command Remarks Display SNMP agent system information, including the contact, physical location, and SNMP version. display snmp-agent sys-info [ contact | location | version ]* [ | { begin | exclude | include } regular-expression ] Available in any view Display SNMP agent statistics. display snmp-agent statistics [ | { begin | exclude | include } regular-expression ] Available in any view Display the local engine ID. display snmp-agent local-engineid [ | { begin | exclude | include } regular-expression ] Available in any view Display SNMP group information. display snmp-agent group [ group-name ] [ | { begin | exclude | include } regular-expression ] Available in any view 60