Solved

List switch ports on cisco switch 2800+ series

Posted on 2010-09-20
7
645 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NEXUS3524 - SFP validation failed 3 52
catalyst 6500 - recover from corrupted IOS 4 58
voice vlan on meraki using 3CX 3 60
Interface VLAN dependencies 6 34
I wrote this article to help simplify the process of combining multiple subnets. This can be used for route summarization also but there are other better ways to summarize routes, This article is a result of questions I participate in here at Ex…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

867 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