tdog89
asked on
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.
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.
Enter the command SHOW PORT - that should do the trick.
sh int status
ASKER
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
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
try SHOW MODULE - then SHOW PORT followed by a module number obtained from the first command.
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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