This is an article about the Cisco router IP address, which is very old and should be useful to everyone, so we have selected it from the vast network. Hope you don't sink it down. We will give you a satisfactory response on how to use the IP address of the Cisco router to obtain traffic. When using a cisco router as an Internet Router, cisco's IP packet filtering function is generally used to count IP traffic. The method is to add the ip accounting output-packets command at each entrance of the cisco router. The cisco router automatically counts the IP traffic of these ports.
- Comprehensive comparison of layer-3 switches, routers, and hubs
- Dynamic Routing in Cisco router configuration
- Procedure
- Analysis of advanced technology of Cisco router applications
- Brief Introduction to Cisco router IOS
Common snmp or telnet terminal simulation show ip account) method to obtain IP traffic. In Cisco IOS v.11 and later versions, the http Server feature is provided. Users can manage the IP addresses of Cisco routers from the WWW page. IP traffic can be easily collected without any programming, for the sake of security, you can also restrict access to the server's clients. The method is as follows:
Access-list 10 permit 202.111_2.5
Ip http server
Ip http access-list 10
In client 202.112.162.5, use the web download tool wget to periodically collect and clear IP traffic. The method is as follows: # Read IP traffic and store it in the outpu-packets webpage File
Wget -- http-user = admin -- http-passwd = cisco
Http: // cisco/exec/show/ip/accounting/output-packets
Clear collected Cisco router IP traffic
Wget -- http-user = admin -- http-passwd = cisco
Http: // cisco/exec // clear/ip/accounting/CR
In the web page outpu-packets, read the IP flow statement between the identifiers <pre> and </pre> to count the IP traffic of the Cisco router.
Source Destination Packets Bytes
202.112.175.7 202.205.10.30 592
202.112.175.175 203.207.176.15 17 17 2000
202.1121322 202.96. 44.134 1 40
202.112134.5 202.103.134.58 1 40
202.112.175.201 202.114.98.12 3 430
202.112134.151 202.96. 49.1 6 279