The display rmon2 nlhosttable command displays information about entries in the nlHostTable.
display rmon2 nlhosttable [ hostcontrolindex ctrl-index ] [ timemark time-value ] [ protocoldirlocalindex protocol-local-index ] [ hostaddress ip-address ]
Parameter | Description | Value |
---|---|---|
hostcontrolindex ctrl-index | Specifies the index number. A ctrl-index uniquely identifies an entry in the hlHostControlTable. | It is an integer ranging from 1 to 65535. |
timemark time-value | Enables the time filter. | The value is in the range of 0 to 4294967295. The entries in the nlHostTable with the ChgTm value being larger than this value are displayed. |
protocoldirlocalindex protocol-local-index | Identifies the network layer protocol of the nlHostAddress. | Its value ranges from 1 to 2147483647. |
hostaddress ip-address | Checks the traffic on a specified host. | - |
After statistics function is configured on an interface, you can view traffic statistics using this command. A maximum of 5000 rows can be displayed for each protocol on an interface.
# Display information about the entry with index 1 in the host table.
<HUAWEI> display rmon2 nlhosttable hostcontrolindex 1 protocoldirlocalindex 2 hostaddress 10.110.94.177
Abbreviation:
HIdx - hlHostControlIndex
PIdx - ProtocolDirLocalIndex
Addr - nlHostAddress
InPkts - nlHostInPkts
OutPkts - nlHostOutPkts
InOctes - nlHostInOctets
OutOctes - nlHostOutOctets
OutMac - nlHostOutMacNonUnicastPkts
ChgTm - nlHostTimeMark
CrtTm - nlHostCreateTime
HIdx PIdx Addr InPkts OutPkts InOctes OutOctes OutMac ChgTm CrtTm
1 2 10.110.94.177 59 68 3240 3821 0 0 days 00h:01m:29s.09th(8909) 0 days 00h:01m:01s.13th(6113)
Item |
Description |
---|---|
HIdx |
Index of the host control table. |
PIdx |
Protocol directory index. |
Addr |
Host address. It is the source address of the incoming IP packets on the monitored interface and destination address of the outgoing IP packets on the interface. |
InPkts |
Number of incoming packets on the monitored interface. |
OutPkts |
Number of outgoing packets on the monitored interface. |
InOctes |
Number of incoming bytes on the monitored interface. |
OutOctes |
Number of outgoing bytes on the monitored interface. |
OutMac |
Number of outgoing non-unicast packets on the monitored interface. |
ChgTm |
Entry time filter in the host control table. |
CrtTm |
Customized time filter. |