2-4Note:z The rmon alarm and rmon prialarm commands take effect on existing nodes only.z For each port, only one RMON statistics entry can be created. That is, if an RMON statisticsentry is already created for a given port, you will fail to create another statistics entry with adifferent index for the same port.2.3 Displaying RMONTo do… Use the command… RemarksDisplay RMON statistics display rmon statistics [ interface-typeinterface-number | unit unit-number ]Display RMON history information display rmon history [ interface-typeinterface-number | unit unit-number ]Display RMON alarm information display rmon alarm [ entry-number ]Display extended RMON alarminformation display rmon prialarm [ prialarm-entry-number ]Display RMON events display rmon event [ event-entry ]Display RMON event logs display rmon eventlog [ event-entry ]Available in anyview.2.4 RMON Configuration Example1. Network requirementsz The switch to be tested is connected to a remote NMS through the Internet. Ensure that theSNMP agents are correctly configured before performing RMON configuration.z Create an entry in the extended alarm table to monitor the information of statistics on theEthernet port, if the change rate of which exceeds the set threshold, the alarm events will betriggered.2. Network diagram图2-1 Network diagram for RMON configuration3. Configuration procedures# Add the statistics entry numbered 1 to take statistics on GigabitEthernet 1/0/1. system-view[Sysname] interface GigabitEthernet 1/0/1[Sysname-GigabitEthernet1/0/1] rmon statistics 1[Sysname-GigabitEthernet1/0/1] quit