Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Anyway to trace/ping to a server port?

Ive been looking at this and wondering if there is anyway to trace/ping to a server IP address and particular port of that

server from a router??

thx

4 REPLIES
Hall of Fame Super Silver

Re: Anyway to trace/ping to a server port?

Richard

Since ping uses ICMP there is no way to specify a port number when using ping. So you can ping the server address but can not specify any port. With IOS traceroute it does use UDP packets so there are port numbers. Within certain limits it is possible to calculate the number of hops and to adjust the port number that traceroute starts with so that it sends a UDP with the specific port number to the server.

Note that this would be UDP port numbers. There is not any way to get TCP port numbers.

HTH

Rick

New Member

Re: Anyway to trace/ping to a server port?

great thx

New Member

Re: Anyway to trace/ping to a server port?

i noticed the extended trace command in IOS

gives you the port option..is this the source or destination?

Hall of Fame Super Silver

Re: Anyway to trace/ping to a server port?

Richard

This would be the destination port.

HTH

Rick

360
Views
5
Helpful
4
Replies