3Com 10014299 Network Router User Manual


 
Troubleshooting 369
II. Networking Diagram
See Figure 4-1 Networking for IP Count application for reference.
III. Configuration Procedure
1 Configure the router
a Enable IP Count service
[Router]ip count enable
b Specify count maximum of exterior-list to 10
[Router]ip count exterior-threshold 10
c Specify count maximum of interior-list to 10
[Router]ip count interior-threshold 10
d Configure an IP Count list
[Router]ip count table 169.254.10.1 255.255.0.0
e Enter the interface view of the interface Ethernet 0 and assign it with the
address 169.254.10.2.
[Router]interface ethernet 0
[Router-Ethernet0]ip address 169.254.10.2 255.255.0.0
f Configure IP Count to make statistics on the packets input and output on the
interface.
[Router-Ethernet0] ip count inbound-packets
[Router-Ethernet0] ip count outbound-packets
IV. Test Procedure
1 Ping the router on PC1.
ping -n 5 169.254.10.2
2 Execute the display command of IP Count to view the IP Count statistics.
[Router] display ip count inbound-packets interior
Input packets in Interior-list
Src Dst Packets Bytes Protocol
169.254.10.1 169.254.10.2 5 420 ICMP
[Router] display ip count outbound-packets interior
Output packets in Interior-list
Src Dst Packets Bytes Protocol
169.254.10.2 169.254.10.1 5 420 ICMP
Troubleshooting Fault 1: Executing the display ip count command but no packet
information is displayed.
Troubleshooting:
1 First, analyze the information that is output by executing the display ip count
command. The prompt “****** Disable” means that the statistics has not been
made yet on the data information requiring display. In other words, IP Count has
not been configured on the interface of the router.
2 IP Count has been configured on the interface. Execute the display ip count
command, but still, no packet information is displayed. This time, the prompt “Src
Dst Packets Bytes Protocol” appears, which means that IP Count has not
been enabled. Use the
ip count enable command to enable IP Count service.