beautypg.com

Configuration procedure – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 317

background image

302

Connect GigabitEthernet 0/1 to the FTP server. Gather statistics on traffic of the server on

GigabitEthernet 0/1 with the sampling interval being five seconds. When traffic is above or below
the thresholds, SecBlade sends the corresponding traps to the NMS.

Execute the display rmon statistics command on SecBlade to display the statistics, and query the
statistics on the NMS.

Figure 94 Network diagram for RMON

Configuration procedure

# Configure the SNMP SecBlade. (Note that parameter values configured on the SecBlade 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.)

system-view
[SecBlade] snmp-agent
[SecBlade] snmp-agent community read public
[SecBlade] snmp-agent community write private
[SecBlade] snmp-agent sys-info version v1
[SecBlade] snmp-agent trap enable
[SecBlade] snmp-agent target-host trap address udp-domain 1.1.1.2 params securityname
public

# Configure RMON to gather statistics on interface GigabitEthernet 0/1.

[SecBlade] interface GigabitEthernet 0/1
[SecBlade-GigabitEthernet0/1] rmon statistics 1 owner user1
[SecBlade-GigabitEthernet0/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.

[SecBlade] rmon event 1 trap public owner user1
[SecBlade] 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.

display rmon alarm 1
AlarmEntry 1 owned by null is Valid.
Samples type : delta