Solved

List switch ports on cisco switch 2800+ series

Posted on 2010-09-20
7
683 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Managing 24/7 IT Operations is a hands-on job and indeed a difficult one. Over the years I have found some simple tips and techniques to increase the efficiency of the overall operations. The core concept has always been on continuous improvement; a…
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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