Alarm group configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 142
131
Alarm group configuration example
Network requirements
Configure the RMON alarm group on the RMON agent in
to send alarms in traps when the
five-second incoming traffic statistic on GigabitEthernet 0/1 crosses the rising threshold or drops below
the falling threshold.
Figure 59 Network diagram
Configuration procedure
# Configure the SNMP agent with the same SNMP settings as the NMS at 1.1.1.2. This example uses
SNMPv1, read community public, and write community private.
[SecPath] snmp-agent
[SecPath] snmp-agent community read public
[SecPath] snmp-agent community write private
[SecPath] snmp-agent sys-info version v1
[SecPath] snmp-agent trap enable
[SecPath] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname
public
# Configure the RMON statistics group to gather traffic statistics for GigabitEthernet 0/1.
[SecPath] interface GigabitEthernet 0/1
[SecPath-GigabitEthernet0/1] rmon statistics 1 owner user1
[SecPath-GigabitEthernet0/1] quit
# Create an RMON event entry and an RMON alarm entry so the RMON agent sends traps when the
delta sampling value of node 1.3.6.1.2.1.16.1.1.1.4.1 exceeds 100 or drops below 50.
[SecPath] rmon event 1 trap public owner user1
[SecPath] 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
# Display the RMON alarm entry configuration.
AlarmEntry 1 owned by null is Valid.
Samples type : delta
Variable formula : 1.3.6.1.2.1.16.1.1.1.4.1
Sampling interval : 5(sec)
Rising threshold : 100(linked with event 1)
Falling threshold : 50(linked with event 2)
When startup enables : risingOrFallingAlarm
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS