User Manual

63
Users Manual of XGS-6350-24X4C
to the log table. If the trap attribute is set to the rMon event, a trap message is sent out in name of community.
If you run rmon event many times to configure event items with the same index, only the last configuration is
effective. You can run no rmon event index to cancel event items whose indexes are index.
c) Configuring rMon statistics for switch
The rMon statistics group is used to monitor the statistics information on every port of the device. The
steps to configure the rMon statistics are as follows:
Step Command Purpose
1.
configure
Enter the global configuration mode.
2.
interface iftype ifid
Enter the port mode.
iftype means the type of the port.
ifid means the ID of the interface.
3.
rmon collection
stat index
[ownerstring]
Enable the statistics function on the port.
index means the index of the statistics.
owner string is to describe the information about
the statistics.
4.
exit
Enter the global office mode.
5.
exit
Enter the management mode again.
6.
write
Save the configuration.
If you run rmon collection stat many times to configure statistics items with the same index, only the last
configuration is effective. You can run no rmon collection stats index to cancel statistics items whose
indexes are index.
d) Configuring rMon history for switch
The rMon history group is used to collect statistics information of different time sections on a port in a
device. The rMon statistics function is configured as follows:
Step Command Purpose
1. configure Enter the global configuration command.
2. interface iftype ifid Enter the port mode.
iftype means the type of the port.
ifid means the ID of the interface.
3. rmon collection
history index
[buckets
bucket-number]
[interval second]
[owner owner-name]
Enable the history function on the port.
index means the index of the history item.
Among all data collected by history item, the latest
bucket-number items need to be saved. You can
browse the history item of the Ethernet to abtain
these statistics values. The default value is 50 items.
second means the interval to abtain the statistics
data every other time. The default value is 1800