From: midaskim (janggulove@hanmail.net)
Date: Mon Apr 21 2003 - 01:52:41 GMT-3
I'm sorry. Please read a pasted file.
My computer is out of order.
I can't write any comments in here.. I don't know why it is..
Maybe explorer problem.
Again, Plz read a pasted file.
  ---------[ 9^@: 8^@O 3;?k ]----------
  A&8q : RE: ip accounting-trasits
  3/B% : Mon, 21 Apr 2003 10:05:25 +0800
  :83=@L : 퍫3U$/ <johnson_liu@corp.giga.net.tw>
  9^4B@L : "cannonr" <cannonr@attbi.com>, "midaskim"
  <janggulove@hanmail.net>, <ccielab@groupstudy.com>
  I am agree with cannonor's comment.
  According to you question, you should use 'ip accounting-threshold
  300' to replace "ip accounting-trasits 300" command to archive your
  request.
  --
  Johnson Liu
  Gigamedia, Inc.
  Senoir Network Engineer
  CCNP/CCDP/CCIE#11440
  -----Original Message-----
  From: cannonr [mailto:cannonr@attbi.com]
  Sent: Monday, April 21, 2003 12:19 AM
  To: midaskim; ccielab@groupstudy.com
  Subject: Re: ip accounting-trasits
  From Cisco...
  Usage Guidelines
  Transit entries are those that do not match any of the filters
  specified by ip accounting-list global configuration commands. If no
  filters are defined, no transit entries are possible.
  .... You need to define an ip accounting-list before you can use the
  accounting-transits command.
  HTH
  ----- Original Message -----
  From: "midaskim"
  To:
  Sent: Sunday, April 20, 2003 10:15 AM
  Subject: ip accounting-trasits
  > I'm working about "ip accounting-trasits".
  >
  > --s0.1s0.2-----
  >
  > In this topology,
  >
  > I'm testing that R5 will record the amount of traffic through R5 to
  > R6.
  >
  > It is supporting up to 300 records.
  >
  > I configured "ip accounting-trasits 300" in global cofiguration
  mode,
  > and "ip accounting out-packets" in S0.2 interface configuration
  mode.
  >
  > But. After configuring, there is no "ip accounting-trasits 300" in
  > running-configuration.
  >
  > What is my mistake ??
  >
  > My configuration is right about testing ????
  >
  >
  >
  > r5(config)#ip accounting-transits 300
  > r5(config)#int s0.2
  > r5(config-subif)#ip accounting output-packets r5(config-subif)#
  > r5#sh ru
  > Building configuration...
  >
  > Current configuration : 864 bytes
  > !
  > version 12.1
  > no service single-slot-reload-enable
  > service timestamps debug uptime
  > service timestamps log uptime
  > no service password-encryption
  > !
  > hostname r5
  > !
  > logging rate-limit console 10 except errors
  > !
  > ip subnet-zero
  > no ip finger
  > !
  > cns event-service server
  > !
  > interface Ethernet0
  > ip address 10.1.5.1 255.255.255.0
  > !
  > interface Serial0
  > no ip address
  > encapsulation frame-relay
  > !
  > interface Serial0.1 multipoint
  > ip address 10.1.35.2 255.255.255.0
  > frame-relay map ip 10.1.35.1 153 broadcast
  > !
  > interface Serial0.2 multipoint
  > ip address 10.1.56.1 255.255.255.0
  > ip accounting output-packets
  > frame-relay map ip 10.1.56.2 156 broadcast
  >
  > [IMAGE]
  >
  > [IMAGE]
  >
  > [IMAGE]
  >
  > midaskim
  >
  > [IMAGE]
  >
  > [IMAGE]
  >
  > "?l8. @NEM3], Daum" http://www.daum.net !:Fr;}>24B 9+7a GQ8^@O3]!;
  >
  > [IMAGE]
  >
  > GA8.9L>v 8^@O =a:8n?d?
  > 60!Av =:E2+?k7.H.@e+%a 3*88@G 8BCc 8^@O!
  >
  > [IMAGE]
  >
  > [IMAGE]
  >
  > GQ8^@O3] =:FTA&7N =C=:E[
  > =:FT >x4B FmAvGT! GQ8^@O3] FmAvGT!
  >
  > [IMAGE]
[IMAGE]
[IMAGE]
[IMAGE]
midaskim
[IMAGE]
[IMAGE]
"?l8. @NEM3], Daum" http://www.daum.net  !:Fr;}>24B 9+7a GQ8^@O3]!;
[IMAGE]
GA8.9L>v 8^@O =a:8<L>n?d?
60!Av =:E2+?k7.H.@e+%a 3*88@G 8BCc 8^@O!
[IMAGE]
[IMAGE]
GQ8^@O3] =:FTA&7N =C=:E[
=:FT >x4B FmAvGT! GQ8^@O3] FmAvGT!
[IMAGE]
Johnson Liu
"ip accounting-threshold" is Maximum number of entries (source and destination address pairs) that the Cisco IOS software accumulates.
I think this is incorrect command corresponding to my question.
As a result of my testing, 
"ip accounting-transits" with "ip accounting-list" was correct.
But, 
I still have a wondering issue.
I don't know what "ip accounting-list" command is.
A address of "ip accounting-list" should be configure what address ????
In my test, 
"ip accounting-transits" is correctly worked regardless of any address in "ip accounting-list"
(included not in testing network address)
R1------R2------R3
in this topology, 
I configured the commands on R2.
r2(config)#ip accounting-list 10.1.23.1 0.0.0.0
r2(config)#ip accounting-transits 50
r2(config)#int s0.2
r2(config-subif)#ip account
r2(config-subif)#ip accounting 
r1#p
Target IP address: 10.1.3.1
Repeat count [5]: 100
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds:
!!!!!!!!!
r2#sh ip accou
   Source           Destination              Packets               Bytes
 10.1.12.1        10.1.3.1                        44                4400
Accounting data age is 38
r2#sh ip accou
   Source           Destination              Packets               Bytes
 10.1.12.1        10.1.3.1                        50                5000
Accounting data age is 38
r2#sh ip accou
   Source           Destination              Packets               Bytes
 10.1.12.1        10.1.3.1                        50                5000
Accounting data age is 38
-----------------------------------------------------------------------------
r2(config)#no ip accounting-list 10.1.23.1 0.0.0.0
r2(config)#ip accounting-list 3.3.3.3 0.0.0.0    ": there is no address in test network.
r1#p
Target IP address: 10.1.3.1
Repeat count [5]: 100
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.1.3.1, timeout is 2 seconds:
!!!!!!!!!
r2#sh ip accou
   Source           Destination              Packets               Bytes
 10.1.12.1        10.1.3.1                        47                4700
Accounting data age is 0
r2#sh ip accou
   Source           Destination              Packets               Bytes
 10.1.12.1        10.1.3.1                        50                5000
Accounting data age is 0
r2#sh ip accou
   Source           Destination              Packets               Bytes
 10.1.12.1        10.1.3.1                        50                5000
Accounting data age is 0
This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:59 GMT-3