Solved

List switch ports on cisco switch 2800+ series

Posted on 2010-09-20
7
634 Views
Last Modified: 2012-05-10
Hello,

Is there a way to list switch ports inside the switch. I can list the interfaces but this has alot of data I do not need. I am looking to just see (connected/unconnected), speed, port, and description. I have looked over several different commands but have been unsuccessful.
0
Comment
Question by:tdog89
  • 3
  • 2
  • 2
7 Comments
 
LVL 3

Expert Comment

by:benofishal
ID: 33720869
Enter the command SHOW PORT - that should do the trick.
0
 
LVL 3

Expert Comment

by:Andre Thibodeau
ID: 33720880
sh int status
0
 

Author Comment

by:tdog89
ID: 33720898
For the show port it doesn't show nothing.

For the sh int status invalid command.

show ver:
Cisco WS-C2950-24
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)


show commands available;

  access-lists       List access lists
  arp                Arp table
  boot               show boot attributes
  cdp                CDP information
  clock              Display the system clock
  dtp                DTP information
  etherchannel       EtherChannel information
  flash:             display information about flash: file system
  history            Display the session command history
  hosts              IP domain-name, lookup style, nameservers, and host table
  interfaces         Interface status and configuration
  ip                 IP information
  logging            Show the contents of logging buffers
  mac-address-table  MAC forwarding table
  mls                Show MultiLayer Switching information
  port-security      Show secure port information
  privilege          Show current privilege level
  processes          Active process statistics
  running-config     Current operating configuration
  sessions           Information about Telnet connections
  snmp               snmp statistics
  spanning-tree      Spanning tree topology
  startup-config     Contents of startup configuration
  storm-control      Show storm control configuration
  tcp                Status of TCP connections
  tech-support       Show system information for Tech-Support
  terminal           Display terminal configuration parameters
  users              Display information about terminal lines
  version            System hardware and software status
  vlan               VTP VLAN status
  vtp                VTP information
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 3

Expert Comment

by:benofishal
ID: 33720913
try SHOW MODULE - then SHOW PORT followed by a module number obtained from the first command.
0
 

Author Comment

by:tdog89
ID: 33720950
No still didn't work correctly.

Here is what I am trying to display.

Port  Name               Status     Vlan       Level  Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
 2/1  1      connected  7          normal a-full a-100 10/100BaseTX
 2/2  2          connected  7          normal   half    10 10/100BaseTX
 2/3  3        connected  7          normal a-full a-100 10/100BaseTX
 2/4  4     connected  7          normal   full    10 10/100BaseTX
 2/5  5      connected  7          normal a-full a-100 10/100BaseTX
 2/6  6     connected  7          normal   full    10 10/100BaseTX
 2/7  7       connected  7          normal   full    10 10/100BaseTX
 2/8  8     connected  7          normal   half    10 10/100BaseTX
 2/9  9      connected  7          normal a-full a-100 10/100BaseTX
 2/10 10      connected  7          normal a-full a-100 10/100BaseTX
 2/11 11      connected  7          normal a-full a-100 10/100BaseTX
 2/12                    notconnect 7          normal   auto  auto 10/100BaseTX
 2/13                    notconnect 7          normal   auto  auto 10/100BaseTX
 2/14                    notconnect 7          normal   auto  auto 10/100BaseTX
 2/15                    notconnect 7          normal   auto  auto 10/100BaseTX
 2/16                    notconnect 7          normal   auto  auto 10/100BaseTX
 2/17                    notconnect 7          normal   auto  auto 10/100BaseTX
 2/18                    notconnect 7          normal   auto  auto 10/100BaseTX
 2/19                    notconnect 7          normal   auto  auto 10/100BaseTX


This is displayed from WS-C2948 Software, Version NmpSW: 8.4(9)GLX

I am trying to view this in IOS
0
 
LVL 3

Accepted Solution

by:
benofishal earned 500 total points
ID: 33720967
That is the output you would get from the SHOW PORTS command, seems your IOS doesn't support it.
0
 
LVL 3

Expert Comment

by:Andre Thibodeau
ID: 33720988
show interface status

you should get a result something like...
 
cat6513#show interface status
Port Name Status Vlan Duplex Speed
Po40 To tungsten-a e1b connected 42 a-full 10G
Po41 To tungsten-a e0b connected 42 a-full a-1000
Po41A connected 42 a-full a-1000
Po42 To tungsten-b e0a connected 42 a-full a-1000
Po42B connected 42 a-full a-1000
Po43 To tungsten-b e4c connected 42 a-full a-1000
 
AT
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now