Configuration Example, Routing

Netstat on IOS router

René Jorissen on December 4, 2008 0 Comments • Tags: #control #controlplane #host #netstat #openports #plane

I often use the netstat command on a Windows machine to check on which IP and/or ports the servers or workstation is listening or established connection.

By accident I found the same kind of command for a Cisco IOS router, while I was looking through the CLI. Check out the output below:

Router#sh control-plane host open-ports
Active internet connections (servers and established)
Prot        Local Address      Foreign Address                  Service    State
tcp                 *:22                  *:0               SSH-Server   LISTEN
tcp                 *:23                  *:0                   Telnet   LISTEN
tcp                 *:23                   Telnet ESTABLIS
udp                 *:67                  *:0            DHCPD Receive   LISTEN
udp              *:50015                  *:0                  IP SNMP   LISTEN
udp                *:161                  *:0                  IP SNMP   LISTEN
udp                *:162                  *:0                  IP SNMP   LISTEN

The following two tabs change content below.

René Jorissen

Co-owner and Solution Specialist at 4IP Solutions
René Jorissen works as Solution Specialist for 4IP in the Netherlands. Network Infrastructures are the primary focus. René works with equipment of multiple vendors, like Cisco, Aruba Networks, FortiNet, HP Networking, Juniper Networks, RSA SecurID, AeroHive, Microsoft and many more. René is Aruba Certified Edge Expert (ACEX #26), Aruba Certified Mobility Expert (ACMX #438), Aruba Certified ClearPass Expert (ACCX #725), Aruba Certified Design Expert (ACDX #760), CCNP R&S, FCNSP and Certified Ethical Hacker (CEF) certified. You can follow René on Twitter and LinkedIn.

Latest posts by René Jorissen (see all)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.