Traffic Accounting MAC Address Accounting

REFERENCE

Configuring IP Services

MEMO

MACアドレス毎に集計

R1(config-if)#ip accounting mac-address ?
  input   Source MAC address on received packets
  output  Destination MAC address on transmitted packets

R1(config-if)#ip accounting mac-address input

R1#show interfaces gi1/0 mac-accounting
GigabitEthernet1/0
  Input  (510 free)
    ca01.1540.001c(130):  17 packets, 1326 bytes, last: 2244ms ago
    ca06.1878.001c(176):  18 packets, 1404 bytes, last: 480ms ago
                  Total:  35 packets, 2730 bytes

R1#show arp
Protocol  Address       Age (min)  Hardware Addr   Type   Interface
Internet  155.1.146.4          9   ca06.1878.001c  ARPA   GigabitEthernet1/0.146
Internet  155.1.146.6          9   ca01.1540.001c  ARPA   GigabitEthernet1/0.146

R1#show interfaces gi1/0 mac-accounting
GigabitEthernet1/0
  Input  (510 free)
    ca01.1540.001c(130):  25 packets, 1950 bytes, last: 3792ms ago
    ca06.1878.001c(176):  26 packets, 2028 bytes, last: 3484ms ago
                  Total:  51 packets, 3978 bytes

コメント