[afnog] Discover IPs Connected to Cisco Switch

Eliufoo C. Mahinda venomius at yahoo.com
Fri Dec 4 09:32:15 UTC 2009


Hi Dan,
thanks for the feedback.
It a L2 switch. However, the method for show mac-add and show ip arp command will require me to track and associate individual mac address to a IP address.
That can do this automatically?

--- On Fri, 12/4/09, daniel Onwude <igevioya at gmail.com> wrote:

From: daniel Onwude <igevioya at gmail.com>
Subject: Re: [afnog] Discover IPs Connected to Cisco Switch
To: "Eliufoo C. Mahinda" <venomius at yahoo.com>
Cc: "Afnog Mailing List" <afnog at afnog.org>
Date: Friday, December 4, 2009, 11:05 AM

This depends on the kind of switch you have.

A L2 switch does not have any knowledge of IPs (so you wont be able to
see the IP's connected to the switch)

In this case use the mac address table (sh mac-add) to discover all the
mac connected the the switch

The use the arp table of the terminating L3 device to resolve the IP to mac.

Rgds
dan

Eliufoo C. Mahinda wrote:
> Hi Team,
>
> How can i discover IPs address that are connected to a Cisco switch?
>
> Thanks,
> Elly
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> afnog mailing list
> http://afnog.org/mailman/listinfo/afnog




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20091204/8ce3f7b3/attachment.htm>


More information about the afnog mailing list