Tom
I just ran a "sho cdp ne det" on my switch and it showed be the all the
devices it saw with the ip addresses of the SC0 interfaces on all connected
switches.. and also the IP add of the RSM in that switch
----- Original Message -----
From: "Tom Pruneau" <[EMAIL PROTECTED]>
To: "Peter Van Oene" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, November 14, 2000 3:27 AM
Subject: Re: switch port IP address
>
> I'm not sure what is downstream of your switch, what types of devices, but
> I'm pretty damn sure that there is no command on a catalyst switch (a
layer
> two device) which will tell you the IP addresses of the devices connected
> to it. The switch not only doesn't know, it doesn't care. Presumably you
> have a router which is upstream of the switch and all devices hanging off
> of the switch have the ip address of the router interface (which connects
> to the switch) as their default gateway. Only the router will know the IP
> addresses. Depending on your needs and urgency the only way to really deal
> with this would be to write a script which takes the cam table from the
> switch (which will list mac addresses and ports to which they connect) and
> the arp table from the router (which will map mac addresses to IP
> addresses) and match them up so you end up with a list of IP associated
> with MAC associated with switch port. I am pretty much positive the switch
> doesn't know the ip addreses. As you mentioned cdp neighbor detail will
> tell you the address, but that will only work for cisco devices running
> cdp. Doesn't help you at all for devices from other manufacturers.
>
>
>
>
> At 02:25 PM 11/14/2000 -0500, Peter Van Oene wrote:
> >What about looking at the arp cache "sh ip arp" or "sh cam dynamic"
> >
> >This will list the port, mac, ip relationships on a switch.
> >
> >Pete
> >
> >
> >*********** REPLY SEPARATOR ***********
> >
> >On 11/14/2000 at 11:51 AM Sites, Bob wrote:
> >
> >>I guess I need to clarify this a little. Yes, I'm talking about Cisco
> >>switches, 6509 & 5000's. No, I'm not looking for MAC addresses. I
thought
> >>that there was a command that would list the IP of all connecting
devices on
> >>(all) ports on the switch. The "sho cdp nei det" or other variations
only
> >>shows the ip of the ports that are "trunking." I need all of the ports,
not
> >>just the trunking ports. Any ideas?
> >>
> >>
> >>Can someone refresh my memory on this. What is the command on a switch
that
> >>will show you the IP address of connecting devices on the ports? Can't
seem
> >>to get any hits in the archives. I use it so seldom I've forgotten what
it
> >>was?
> >>
> >>Bob Sites, CCNA
> >>System Engineer
> >>
> >>_________________________________
> >>FAQ, list archives, and subscription info:
> http://www.groupstudy.com/list/cisco.html
> >>Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
> >
> >
> >
> >_________________________________
> >FAQ, list archives, and subscription info:
> http://www.groupstudy.com/list/cisco.html
> >Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
> >
> >
> Tom Pruneau
> Trainer Network Operations
> GENUITY
> 3 Van de Graff Drive Burlington Ma. 01803
> 24 Hr. Network Operations Center 800-436-8489
> If you need to get a hold of me my hours are 7AM-3PM ET Mon-Fri
>
> --------------------------------------------------------------------------
-
> This email is composed of 82% post consumer recycled data bits
> --------------------------------------------------------------------------
-
>
> "Once in a while you get shown the light
> in the strangest of places if you look at it right"
>
> _________________________________
> FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
>
_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]