In 20 years, you will be more dissapointed by what you didn't do than by what you did.

Netstat on IOS ?

I was wondering last time is there any similar command to window’s “netstat -n” in IOS? I want to list the open TCP and UDP ports and connection on my router.

IOS provides a command : show control-plane host open-ports. 

GTS#sho control-plane host open-ports
Active internet connections (servers and established)
Prot               Local Address             Foreign Address                  Service    State
 tcp                       *:179            10.125.6.2:63292                       BGP   ESTABLIS
 tcp                       *:22                                     *:0               SSH-Server    LISTEN
 tcp                       *:23                                     *:0                        Telnet     LISTEN
 tcp                       *:22            10.125.6.9:24180             SSH-Server   ESTABLIS
 tcp                       *:179                                   *:0                          BGP    LISTEN
 udp                      *:123                                   *:0                           NTP    LISTEN
 udp                      *:1975                                 *:0                           IPC     LISTEN

As we can see my http server is open on router. Let’s fix this.

GTS(config)#no ip http server
GTS#show control-plane ?
  aggregate            Control Plane aggregate path
  cef-exception     Control Plane cef-exception path
  counters             feature and packet counters
  features               configured features
  host                     Control Plane host path
  transit                  Control Plane transit path


GTS#show control-plane host open-ports
 
Active internet connections (servers and established)
Prot               Local Address             Foreign Address                  Service    State
 tcp                       *:179            10.125.6.2:63292                      BGP    ESTABLIS
 tcp                       *:22                                        *:0               SSH-Server    LISTEN
 tcp                       *:23                                        *:0                   Telnet         LISTEN
 tcp                       *:22               10.125.6.9:24180               SSH-Server  ESTABLIS
 tcp                       *:179                                      *:0                      BGP         LISTEN
 udp                      *:123                                      *:0                      NTP          LISTEN
 udp                      *:1975                                    *:0                      IPC           LISTEN

Comments

17 Responses to "Netstat on IOS ?"

Anonymous said... November 12, 2013 at 8:37 AM

How did you get this data??

How you make Netstat work on iOS platform??

Unknown said... March 7, 2017 at 6:47 AM

Really nice information you had posted. Its very informative and definitely it will be useful for many people
iOS Training in Chennai
Android Training in Chennai
php Training in Chennai

Unknown said... June 24, 2017 at 9:22 AM

useful information ios online training

sai said... September 3, 2018 at 10:52 AM

A universal message I suppose, not giving up is the formula for success I think. Some things take longer than others to accomplish, so people must understand that they should have their eyes on the goal, and that should keep them motivated to see it out til the end.
Click here:
angularjs training in bangalore
Click here:
angularjs training in chennai

ummayasri said... September 10, 2018 at 1:08 PM

This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot. 

Blueprism training in Chennai

Blueprism training in Bangalore

Blueprism training in Pune

Blueprism online training

Blueprism training in tambaram

gowsalya said... September 17, 2018 at 7:31 AM

The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
Devops training in sholinganallur

gowsalya said... October 17, 2018 at 10:09 AM


Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.

Selenium Interview Questions and Answers

Best Selenium Training in Chennai | Selenium Training Institute in Chennai | Besant Technologies

Selenium Training in Bangalore | Best Selenium Training in Bangalore

Free Selenium Tutorial |Selenium Webdriver Tutorial |For Beginners

prabha said... October 20, 2018 at 9:29 AM

I love the blog. Great post. It is very true, people must learn how to learn before they can learn. lol i know it sounds funny but its very true. . .

angularjs Training in electronic-city

angularjs online Training

angularjs Training in marathahalli

angularjs interview questions and answers

angularjs Training in bangalore

angularjs Training in bangalore

Softgen Infotech said... December 16, 2019 at 2:36 PM

Thank you so much for the great and very beneficial stuff that you have shared with the world.

Become an Expert In SAP BASIS Training! The most trusted and trending Programming Language. Learn from experienced Trainers and get the knowledge to crack a coding interview, @Softgen Infotech Located in BTM Layout.

subha said... June 6, 2020 at 9:28 AM

Thank you for sharing information. Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!update some more.
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai

360digitmg said... July 8, 2020 at 6:55 PM

I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing.
artificial intelligence course in ecil

360digitmg said... July 10, 2020 at 6:58 PM

Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
artificial intelligence course in ecil

360digitmg said... July 13, 2020 at 12:42 PM

Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!
data science training in ecil

360digitmg said... July 21, 2020 at 7:04 PM

I have bookmarked your website because this site contains valuable information in it. I am really happy with articles quality and presentation. Thanks a lot for keeping great stuff. I am very much thankful for this site.
data science institute in ecil

Digital Weekday said... September 8, 2020 at 4:10 PM

Damien Grant
Damien Grant
Damien Grant
Damien Grant
Damien Grant
Damien Grant
Damien Grant
Damien Grant

ram said... January 19, 2021 at 10:07 AM

Sharing the same interest, Infycle feels so happy to share our detailed information about all these courses with you all! Do check them out
big data training in chennai & get to know everything you want to about software trainings.

Devi said... July 24, 2021 at 11:40 AM

Infycle Technologies, the No.1 software training institute in Chennai offers the No.1 Big Data course in Chennai for tech professionals and students at the best offers. In addition to the Big Data course, other in-demand courses such as Python, Selenium, Oracle, Java, Python, Power BI, Digital Marketing also will be trained with 100% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7504633633 to get more info and a free demo.Best Big Data Course in Chennai | Infycle Technologies

Post a Comment

Popular Posts