
1.
Assign IP addresses to interfaces of the Switch.
2.
Configure a reachable route between the Switch and the NMS.
3.
Configure the function of sending trap messages and set the group names by using SNMP
commands.
4.
Enable the statistics function and configure the statistics table.
5.
Configure the historyControlTable.
6.
Configure the eventTable.
7.
Configure the alarmTable and prialarmTable.
Data Preparation
To complete the configuration, you need the following data:
l
Interval for sampling data
l
Threshold for triggering alarms
Procedure
Step 1
Set IP addresses for the interfaces of the Switch. The configuration procedure is not mentioned
here.
Step 2
Configure a reachable route between the Switch and the NMS. The configuration procedure is
not mentioned.
Step 3
Configure the Switch to send trap messages to the NMS.
# Enable the function of sending trap messages through SNMP.
<Quidway>
system-view
[Quidway]
sysname Switch
[Switch]
snmp-agent trap enable
# Configure the function of sending trap messages to the specified NMS.
[Switch]
snmp-agent target-host trap address udp-domain 1.1.1.1 params securityname
public
Step 4
Enable the statistics function.
# Enable the RMON statistics function on the interface.
[Switch]
interface gigabitethernet 3/0/0
[Switch-GigabitEthernet3/0/0]
rmon-statistics enable
# Configure the ethernetStatsTable.
NOTE
The interface enabled with the statistics function cannot be added to an Eth-trunk.
[Switch-GigabitEthernet3/0/0]
rmon statistics 1 owner Test300
Step 5
Configure the historyControlTable.
# Sample the traffic on the subnet every 30 seconds and save the latest 10 history entries.
[Switch-GigabitEthernet3/0/0]
rmon history 1 buckets 10 interval 30 owner Test300
[Switch-GigabitEthernet3/0/0]
quit
Step 6
Configure the eventTable.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
2 RMON and RMON2 Configuration
Issue 03 (2010-09-20)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2-17