Looking for command.

Answered Question

Hi,


A co-worker of mine used a command to determine how many bytes per MAC address connected to a switch transferred. I think it might have been an accounting command but I can't seem to get it to work.


All I remember is it showed this data based on the mac address and showed how many bytes or kb for up and down. We would basically use this to see if data was being sent to/from a known mac or to see who was the "Top Talkers" on any given switch. Especially if they had speed issues.


Also, this may have been done on a router instead of a switch.


Appreciate any help, thanks.

Correct Answer by Reza Sharifi about 7 years 3 months ago

Hi Dan,


How about:


  • router(config-if)# ip accounting mac-address {input | output}, where:
    • input performs accounting based on the source MAC address on received packets.
    • output performs accounting based on the destination MAC address on transmitted packets.
  • router# show interface [type number] mac-accounting

  • HTH

    Reza

    Correct Answer by burleyman about 7 years 3 months ago

    I am not overly firmilular with this but check this link.

    http://www.ciscopress.com/articles/article.asp?p=764234&seqNum=3



    Please rate if this helps.


    Mike

    • 1
    • 2
    • 3
    • 4
    • 5
    Overall Rating: 5 (2 ratings)
    Loading.
    Correct Answer
    Reza Sharifi Mon, 12/28/2009 - 09:29
    User Badges:
    • Super Bronze, 10000 points or more
    • Cisco Designated VIP,

      2017 LAN

    Hi Dan,


    How about:


  • router(config-if)# ip accounting mac-address {input | output}, where:
    • input performs accounting based on the source MAC address on received packets.
    • output performs accounting based on the destination MAC address on transmitted packets.
  • router# show interface [type number] mac-accounting

  • HTH

    Reza

    Actions

    This Discussion