
79
To do…
Use the command…
Remarks
Display the RMON history
control entry and history
sampling information
display rmon history
[
interface-type
interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display RMON alarm
configuration information
display rmon alarm
[
entry-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display RMON prialarm
configuration information
display rmon prialarm
[
entry-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display RMON events
configuration information
display rmon event
[
entry-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display log information for
the specified or all event
entries
display rmon eventlog
[
entry
-
number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Ethernet statistics group configuration example
Network requirements
As shown in
, Agent is connected to a configuration terminal through its console port and to
Server through Ethernet cables.
Configure the RMON Ethernet statistics table to gather incoming packet statistics for Ethernet 1/0/1, so
the administrator can view the incoming traffic status of the interface at any time.
Figure 29
Network diagram
Configuration procedure
# Configure RMON to gather statistics for interface Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] rmon statistics 1 owner user1
The system gathers incoming packet statistics for Ethernet 1/0/1. To view the statistics:
•
Execute the
display
command.
<Sysname> display rmon statistics ethernet 1/0/1
EtherStatsEntry 1 owned by user1-rmon is VALID.
Interface : Ethernet1/0/1<ifIndex.3>
etherStatsOctets : 21657 , etherStatsPkts : 307
etherStatsBroadcastPkts : 56 , etherStatsMulticastPkts : 34
etherStatsUndersizePkts : 0 , etherStatsOversizePkts : 0