Figure 7-1 Networking diagram of configuring RMON
Configuration Roadmap
To send a Trap message to the NMS, you need to use SNMP commands to enable the Trap
function and set a corresponding community name. For details, refer to the chapter SNMP
Configuration.
The configuration roadmap is as follows:
l Enable the statistics function.
l Configure the etherStatsTable.
l Configure the historyControlTable.
l Configure the eventTable.
l Configure the alarmTable.
Data Preparation
To complete the configuration, you need the following data:
l Interval for sampling data
l Threshold for triggering alarms
l Community name for communicating with the NMS
Configuration Procedure
1. Configure reachable routes between the Switch and the NMSs. The configuration procedure
is not mentioned.
2. Enable the statistics function.
# Enable the RMON statistics function on the interface.
<Switch> system-view
[Switch] interface gigabitethernet 0/0/1
[Switch-GigabitEthernet0/0/1] rmon-statistics enable
# Configure the etherStatsTable.
[Switch-GigabitEthernet0/0/1] rmon statistics 1 owner User01
# Verify the configuration. You can check the traffic on the subnet.
[Switch-GigabitEthernet0/0/1] display rmon statistics GigabitEthernet0/0/1
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management 7 RMON Configuration
Issue 01 (2011-10-26) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
401