Huawei S9300 Configuration Manual page 563

Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - Network Management
# Enable the RMON statistics function on the interface.
[Switch] interface GigabitEthernet3/0/0
[Switch-GigabitEthernet3/0/0] rmon-statistics enable
# Configure the ethernetStatsTable.
[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.
# Configure the Switch to record logs for RMON event 1, and send trap messages to the NMS
for event 2.
[Switch] rmon event 1 log owner Test300
[Switch] rmon event 2 description forUseofPrialarm trap public owner Test300
Step 7 Configure the alarmTable.
# Set the sampling interval and the threshold for triggering event 1 (OID is
1.3.6.1.2.1.16.1.1.1.6.1).
[Switch] rmon alarm 1 1.3.6.1.2.1.16.1.1.1.6.1 30 absolute rising-threshold 500 1
falling-threshold 100 1 owner Test300
Step 8 Configure the prialarmTable.
# Configure RMON to perform sampling every 30 seconds for the total number of broadcast
and multicast packets in the ethernetStatsTable. If the delta sampled value is larger than the
maximum threshold value 1000 or less than the minimum threshold value 0, event 2 is triggered,
and trap messages are sent to the NMS.
[Switch] rmon prialarm 1 .1.3.6.1.2.1.16.1.1.1.6.1+.1.3.6.1.2.1.16.1.1.1.7.1
sumofbroadandmulti 30 delta rising-threshold
1000 2 falling-threshold 0 2 entrytype forever owner Test300
Step 9 Verify the configuration.
# Check the effect of configurations. You can check traffic statistics on the subnet in real time.
<Switch> display rmon statistics GigabitEthernet3/0/0
Statistics entry 1 owned by Test300 is VALID.
Interface : GigabitEthernet3/0/0<ifEntry.402653698>
Received
octets
broadcast packets
undersized packets
fragments packets
CRC alignment errors:0
Dropped packet (insufficient resources):1795
Packets received according to length (octets):
64
256-511:3698
# Check the effect of configurations. Only the last sampling record is displayed through the
command lines. To display all the history records, you need special NMS software.
Issue 01 (2012-03-15)
NOTE
The interface enabled with the statistics function cannot be added to an Eth-trunk.
:
:142915224 , packets
:11603
:0
:0
:150183
,
65-127
,
512-1023:0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
, multicast packets:756252
, oversized packets:0
, jabbers packets
, collisions
:150183
,
128-255
,
1024-1518:0
8 RMON and RMON2 Configuration
:1749151
:0
:0
:1383
548

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents