R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

193
Task Command Remarks
Display the flow entries in the host
monitor table (in IRF mode).
display host-monitor [ invalid ]
[ verbose ] [ destination ip-address |
interface interface-type interface-number
| source ip-address ] * [ chassis
chassis-number slot slot-number ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Clear the flow statistics in the host
monitor table (in standalone
mode).
reset host-monitor statistics [ slot
slot-number ]
Available in user view.
Clear the flow statistics in the host
monitor table (in IRF mode).
reset host-monitor statistics [ chassis
chassis-number slot slot-number ]
Available in user view.
Host-monitor configuration example
Network requirements
Configure Host-monitor on the router in Figure 66 to monitor the incoming traffic on GigabitEthernet
2/1/1 and outgoing traffic on GigabitEthernet 2/1/2.
Figure 66 Network diagram
Configuration procedure
# Configure the IP address of GigabitEthernet 2/1/1.
<Router> system-view
[Router] interface GigabitEthernet 2/1/1
[Router-GigabitEthernet2/1/1] ip address 192.168.40.1 255.255.255.0
# Configure the IP address of GigabitEthernet 2/1/2.
[Router] interface GigabitEthernet 2/1/2
[Router-GigabitEthernet2/1/2] ip address 192.168.80.1 255.255.255.0
# Enable Host-monitor.
[Router] host-monitor inbound
[Router] host-monitor outbound
# Display brief information about the flow entries automatically imported from NetStream.
GE2/1/1
GE2/1/2
GE2/1/3
Router