Traffic Accounting IP Output Packet Accounting

REFERENCE

Configuring IP Services

MEMO

指定したアドレスを宛先or送信元とした
あるIFからOUTPUTの集計

R8(config)#ip accounting-list ?
  A.B.C.D  IP address of host

R8(config)#ip accounting-list 155.1.58.5 ?
  A.B.C.D  IP address mask

R8(config)#ip accounting-list 155.1.58.5 0.0.0.0

R8(config)#int gi1/0.108
R8(config-subif)#ip accounting output-packets

Accounting data age is 0
R8#show ip accounting
   Source           Destination              Packets               Bytes
 155.1.58.5       155.1.108.10                     5                 500

Accounting data age is 0
R8#show ip accounting
   Source           Destination              Packets               Bytes
 155.1.58.5       150.1.10.10                      5                 500
 155.1.58.5       155.1.108.10                     5                 500

accountingできるエントリ数を指定できる

R8(config)#ip accounting-threshold 3

コメント