Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 694
  • Last Modified:

List switch ports on cisco switch 2800+ series

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
tdog89
Asked:
tdog89
  • 3
  • 2
  • 2
1 Solution
 
benofishalCommented:
Enter the command SHOW PORT - that should do the trick.
0
 
Andre ThibodeauITCommented:
sh int status
0
 
tdog89Author Commented:
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
Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as the high-speed power of the cloud.

 
benofishalCommented:
try SHOW MODULE - then SHOW PORT followed by a module number obtained from the first command.
0
 
tdog89Author Commented:
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
 
benofishalCommented:
That is the output you would get from the SHOW PORTS command, seems your IOS doesn't support it.
0
 
Andre ThibodeauITCommented:
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

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now