cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3585
Views
2
Helpful
6
Replies

How to check application / server listening to specific port

shailesh.hardas
Level 1
Level 1

Usually, we use tenet <IP> <port> from traditional switch or router to check server listening to the port.

 

like ping ==> iping and traceroute ==> itraceroute used in ACI

 

Do we have any mechanism to check similar thing.

 

Thanks in advance.

6 Replies 6

gmonroy
Cisco Employee
Cisco Employee

Shailesh,

    A few questions:

1. What src/dst IPs are you trying to test port connectivity from/to?

    a. IPs local to switch nodes/APIC nodes?

    b. Endpoints?

 

If you are trying to see what is opened for endpoints to communicate with, you can check the following from an apic:

> show contract *contract_name*

> show access-list *access-group-name*

 

If you are looking to catch denies or permits given active traffic flows, you can refer to the following document:

APIC Security Guide

 

-Gabriel

Thanks Gabriel for responding.

 

my query is how we can ensure endpoint listening on port 80 or it's a valid http server. In the traditional switches we used to use

 

telnet <IP of server> 80 and it used to respond.

 

Looking for similar arrangement in ACI.

 

Hope I'm able to spell my query correctly.

 

Thanks in advance

 

Hi,

You can use nmap from any Linux based workstation. Don't do this from a switch or ACI.

 

Nicolas

Thanks, this we need to do when we don't have access to end servers / and no reachability to system administrator.

 

So wanted to check similar arrangement / method in ACI to check this.

 

 

Justin Thompson
Level 1
Level 1

Has anyone found a way to do this from an ACI Leaf switch?  This would be super handy

Ali Aghababaei
Level 1
Level 1

Hi @shailesh.hardas 

 

You can do it on Operational> Visibility & Troubleshooting .

iTraceroute supports ICMP, UDP, and TCP. When using UDP or TCP as the Layer 4 protocol, a source or range of source ports can be specified, as can a destination port or port range. The leaf ASIC decides how to forward this packet as if the source host sent it.

 

Hope you will find it helpful.

Ali

Save 25% on Day-2 Operations Add-On License