Configuring Alarm Group Example - HP 5820X Switch Configuration Manual

Network management and monitoring
Hide thumbs Also See for 5820X Switch:
Table of Contents

Advertisement

Configuring alarm group example

Network requirements
As shown in
across Ethernet.
Do the following:
Connect GigabitEthernet 1/0/1 to the FTP server. Gather statistics on traffic of the server on
GigabitEthernet 1/0/1 with the sampling interval being five seconds. When traffic is above or
below the thresholds, Agent sends the corresponding traps to the NMS.
Execute the display rmon statistics command on Agent to display the statistics, and query the
statistics on the NMS.
Figure 44 Network diagram for RMON
Configuration procedure
# Configure the SNMP agent. Parameter values configured on the agent must be the same as the
following configured on the NMS: suppose SNMPv1 is enabled on the NMS, the read community name
is public, the write community name is private, the IP address of the NMS is 1.1.1.2, authentication
protocol is MD5, authorization password is authkey, the privacy protocol is DES56, and the privacy
password is prikey.
<Sysname> system-view
[Sysname] snmp-agent
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
[Sysname] snmp-agent sys-info version v1
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname
public
# Configure RMON to gather statistics on interface GigabitEthernet 1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] rmon statistics 1 owner user1
[Sysname-GigabitEthernet1/0/1] quit
# Create an RMON alarm entry that when the delta sampling value of node 1.3.6.1.2.1.16.1.1.1.4.1
exceeds 100 or is lower than 50, event 1 is triggered to send traps.
[Sysname] rmon event 1 trap public owner user1
[Sysname] rmon alarm 1 1.3.6.1.2.1.16.1.1.1.4.1 5 delta rising-threshold 100 1 falling-
threshold 50 1
Figure
44, Agent is connected to a console terminal through its console port and to an NMS
119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 switch

Table of Contents