From: Frank (ocsic@web.de)
Date: Sun Oct 29 2006 - 05:53:57 ART
Thanks both.
yes i was looking for something like "netstat -l" on a unix box for the
Lab exam.
sh tcp bri is listing establised tcp connections.
"sh ip sockets" does not listen all.
frank@la:~> netstat -l
Listening on
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:sane-port *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 localhost:smtp *:* LISTEN
udp 0 0 192.168.2.1:ntp *:*
udp 0 0 192.168.3.1:ntp *:*
udp 0 0 192.168.4.1:ntp *:*
udp 0 0 localhost:ntp *:*
udp 0 0 *:ntp *:*
udp 0 0 *:ntp *:*
....
hping is great. It can do tcp ping.
Frank
> In addition, you may find "hping" really useful.
>
> http://www.hping.org/
>
> HTH
>
> 28.10.06, *Alexei Monastyrnyi* <alexeim@orcsoftware.com
> <mailto:alexeim@orcsoftware.com>> NAPISAL(A):
>
> telnetting to a specific port would probably work for you as "TCP
> ping"...
> And I bet you can find some Perl modules with this.
>
> A.
>
> Frank wrote:
> > Hi,
> >
> > is there a TCP ping available?
> >
> > I would like to test for "service tcp-small servers".
> >
> > Also, is there a command to show all open ports or services on a
> router?
> >
> > Thank you very much, :)
> >
> > Frank
> >
> >
> _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> <http://www.groupstudy.com/list/CCIELab.html>
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
> <http://www.groupstudy.com/list/CCIELab.html>
>
>
>
>
> --
> Petr Lapukhov, CCIE #16379
> petr@internetworkexpert.com <mailto:petr@internetworkexpert.com>
>
> Internetwork Expert, Inc.
> http://www.InternetworkExpert.com
> Toll Free: 877-224-8987
> Outside US: 775-826-4344
This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:07 ART