[nflug] cisco switch command

David J. Andruczyk djandruczyk at yahoo.com
Fri Feb 10 16:59:35 EST 2006


show mac on the switch will tell you. 
I used to have a program I wrote (script actually in expect) that would
query from the root switch down to track a host and determine it's
port.

There's a few similar to it,  try searching on freshmeat.net for
"cisco"


--- anthonyriga <torrodimerda at yahoo.com> wrote:

> I am also trying to figure out what port the servers are on too. I do
> a show arp it gives me the ipaddresses on the switch but now Id like
> to know what port those ipaddress are conncted to. I dont do much
> Cisco stuff. 
> 
> anthonyriga <torrodimerda at yahoo.com> wrote: May bad its a switch... 
> 
> Cyber Source <peter at thecybersource.com> wrote: anthonyriga wrote:
> > I was wondering what command that would give me all the ipaddresses
> 
> > that are connected to a router I have. I dont want to trace cat5 
> > cables to the servers so I figure if I can get list of the all the 
> 
> > ports that the ipaddress is on I can match the ip to the server.
> Its a 
> > cisco 3560g. Any suggestions
> >
> >
>
------------------------------------------------------------------------
> > Yahoo! Mail
> > Use Photomail 
> >  
> > to share photos without annoying attachments.
> >
>
------------------------------------------------------------------------
> >
> > _______________________________________________
> > nflug mailing list
> > nflug at nflug.org
> >  http://www.nflug.org/mailman/listinfo/nflug
> >   
> nmap will do all that. "nmap -sP 192.168.1.*" will scan the whole 
> subnet. Run it as root and it will show the mac addresses too.
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 
>    
> 
> ---------------------------------
>  Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more
> on new and used cars._______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 
> 
> 		
> ---------------------------------
>  
>  What are the most popular cars? Find out at Yahoo! Autos >
_______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug
> 


Dave J. Andruczyk

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list