3com S7906E Guide De Référence

Page de 2327
 
1-17 
<Sysname> system-view 
[Sysname] rmon event 1 log 
[Sysname] rmon event 2 none 
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] rmon statistics 1 
[Sysname-GigabitEthernet2/0/1] quit 
[Sysname] rmon prialarm 1 (1.3.6.1.2.1.16.1.1.1.6.1*100/.1.3.6.1.2.1.16.1.1.1.5.1) 
packet GigabitEthernet2/0/1 10 absolute rising_threshold 80 1 falling_threshold 5 2 entrytype 
forever owner user1 
1.3.6.1.2.1.16.1.1.1.6.1 is the OID of the node etherStatsBroadcastPkts.1, and 1.3.6.1.2.1.16.1.1.1.5.1 
is the OID of the node etherStatsPkts.1. 1 indicates the serial number of the interface statistics entry. 
Therefore, if you execute the rmon statistics 5 command, you should use 1.3.6.1.2.1.16.1.1.1.6.5 and 
1.3.6.1.2.1.16.1.1.1.5.5. 
The above configuration implements the following: 
Sampling and monitoring interface GigabitEthernet 2/0/1 
If the portion of broadcast packets received in the total packets is greater than or equal to 80%, the 
system will log the event; if the portion is less than or equal to 5%, the system will take no action. 
You can view the event log using the display rmon eventlog command. 
rmon statistics 
Syntax 
rmon statistics entry-number owner text ] 
undo rmon statistics entry-number 
View 
Ethernet interface view 
Default Level 
2: System level 
Parameters 
entry-number: Index of statistics entry, in the range 1 to 65535. 
owner text: Owner of the entry, a string of 1 to 127 characters. It is case sensitive and space is 
supported. 
Description 
Use the rmon statistics command to create an entry in the RMON statistics table. 
Use the undo rmon statistics command to remove a specified entry from the RMON statistics table. 
After an entry is created, the system continuously calculates the information of the interface. Statistics 
include number of collisions, CRC alignment errors, number of undersize or oversize packets, number 
of broadcasts, number of multicasts, number of bytes received, number of packets received. The 
statistics are cleared after the device reboots. 
To display information for the RMON statistics table, use the display rmon statistics command.