RMON2 collects traffic statistics on a specified interface, including the source and destination hosts of traffic and traffic passing the interface from each host on the network.
RMON2 on the switch collects statistics on IP packets on the specified interfaces.
The system view is displayed.
A host control table is created and an entry is added to the table.
If the host control table contains too many entries, system performance is degraded. Therefore, the default settings of the host control table are recommended. By default, a host control table contains a maximum of 50 entries.
When creating an entry, specify the datasource interface parameter to identify the interface and subnet. The parameter value, namely, the interface index, is the data source defining the entry. In the command, the data source is represented by interface type and number. Only one entry can be created for each interface in the host control table.
The parameter status in the display rmon2 hlhostcontroltable command output matches the hlhostcontrolstatus value, which indicates the entry status.
When the hlhostcontrolstatus value is set to inactive, all related entries in the host table are deleted automatically.
When the hlhostcontrolstatus value is set to active, the hlhostcontroldatasource and hlhostcontrolnlmaxdesiredentries values cannot be changed.
If an interface that corresponds to the hlhostcontroldatasource in an entry is deleted, the entry is deleted at the same time.
A protocol directory table is created and an entry is added to the table.
A protocol occupies an entry, so there is only one entry in the table. RMON2 only supports statistics on IP packets on an Ethernet interface.
When running the rmon2 protocoldirtable command, set the description and protocols supported by the host. The descr and host parameters are mandatory.
The parameter status in the display rmon2 protocoldirtable command output matches the protocolDirStatus value, which indicates the entry status.
When the status is inactive, all related entries in the host table are deleted.