Options

ARP broadcast on a Cisco switch?

boxerboy1168boxerboy1168 Member Posts: 395 ■■■□□□□□□□
Can I send out a broadcast on a switch to collect all the currently connected MAC addresses?? If so what's the command?

Thanks.

I tried Googling it but it's hard to find a direct answer.
Currently enrolling into WGU's IT - Security Program. Working on LPIC (1,2,3) and CCNA (and S) as long term goals and preparing for the Security+ and A+ as short term goals.

Comments

  • Options
    Welly_59Welly_59 Member Posts: 431
    The switch will pick up the Mac of connected devices as soon as it receives a packet from that Mac on that interface unless I'm missing something else?
  • Options
    Cisco InfernoCisco Inferno Member Posts: 1,034 ■■■■■■□□□□
    could just ping sweep
    2019 Goals
    CompTIA Linux+
    [ ] Bachelor's Degree
  • Options
    boxerboy1168boxerboy1168 Member Posts: 395 ■■■□□□□□□□
    ok thanks
    Currently enrolling into WGU's IT - Security Program. Working on LPIC (1,2,3) and CCNA (and S) as long term goals and preparing for the Security+ and A+ as short term goals.
  • Options
    Cisco InfernoCisco Inferno Member Posts: 1,034 ■■■■■■□□□□
    ok thanks


    yep, thats what I meant to say, which is sorta the same thing.

    One thing to remember is that the default mac address table (CAM Table) lifetime is 5 minutes. Thats why its not too significant.


    A host's MAC will not be flushed as long as it continuously sends and receives traffic. If a host has not sent or received any traffic within the duration of the aging time, it's MAC will be removed from the table.


    Devices and IPs change and things are moved around. You wouldnt want to wait a while for that to flush.
    2019 Goals
    CompTIA Linux+
    [ ] Bachelor's Degree
  • Options
    stlsmoorestlsmoore Member Posts: 515 ■■■□□□□□□□
    I think you can ping the broadcast address and get some hits on a Cisco switch, but it's pretty flaky from my experience. For example pinging 192.168.1.255 on the subnet 192.168.1.0/24.
    My Cisco Blog Adventure: http://shawnmoorecisco.blogspot.com/

    Don't Forget to Add me on LinkedIn!
    https://www.linkedin.com/in/shawnrmoore
Sign In or Register to comment.