Alarm Function Configuration Example - HPE FlexFabric 5700 Series Network Management And Monitoring Configuration Manual

Hide thumbs Also See for FlexFabric 5700 Series:
Table of Contents

Advertisement

multicast packets : 6
undersize packets : 0
fragments
collisions
# Get the traffic statistics from the NMS through SNMP. (Details not shown.)

Alarm function configuration example

Network requirements
As shown in
Ten-GigabitEthernet 1/0/1, and send RMON alarms when the following events occur:
The 5-second delta sample for the traffic statistic crosses the rising threshold (100).
The 5-second delta sample for the traffic statistic drops below the falling threshold (50).
Figure 35 Network diagram
Configuration procedure
# Configure the SNMP agent (the device) with the same SNMP settings as the NMS at 1.1.1.2. This
example uses SNMPv1, read community public, and write community private.
<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 trap log
[Sysname] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname
public
# Create an RMON Ethernet statistics entry for Ten-GigabitEthernet 1/0/1.
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] rmon statistics 1 owner user1
[Sysname-Ten-GigabitEthernet1/0/1] quit
# Create an RMON event entry and an RMON alarm entry to send SNMP notifications when the
delta sample for 1.3.6.1.2.1.16.1.1.1.4.1 exceeds 100 or drops below 50.
[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 owner user1
NOTE:
1.3.6.1.2.1.16.1.1.1.4.1 is the object instance for Ten-GigabitEthernet 1/0/1, where
1.3.6.1.2.1.16.1.1.1.4 represents the object for total incoming traffic statistics, and 1 is the RMON
Ethernet statistics entry index for Ten-GigabitEthernet 1/0/1.
# Display the RMON alarm entry.
: 0
: 0
Figure
35, configure the device to monitor the incoming traffic statistic on
, CRC alignment errors : 0
, oversize packets
, jabbers
, utilization
106
: 0
: 0
: 0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents