R3303-HP 6600/HSR6600 Routers Network Management and Monitoring Configuration Guide
193
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.
[Router] display host-monitor
Total 9 flow(s).
State: Unfixed
Source Destination Protocol Direction Interface VPN
-------------------------------------------------------------------------------
192.168.1.102 192.168.1.255 17 Inbound GE2/1/1
192.168.1.1 239.255.255.250 17 Inbound GE2/1/1
192.168.20.65 239.255.255.250 17 Inbound GE2/1/1
56.56.56.44 224.0.0.5 89 Inbound GE2/1/1
192.168.20.167 192.168.20.255 17 Inbound GE2/1/1
192.168.20.170 192.168.20.255 17 Inbound GE2/1/1
192.168.20.191 192.168.20.255 17 Inbound GE2/1/1
192.168.80.133 192.168.80.131 1 Outbound GE2/1/2
40.0.0.3 40.0.0.255 17 Inbound GE2/1/1
GE2/1/1
GE2/1/2
GE2/1/3
Router










