cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7677
Views
0
Helpful
5
Replies

Switch port link down status

Lim Seow Hua
Level 1
Level 1

Hi,

How do we check that how  long period that a switch port is in a notconnect status? Like for  example, in Cisco IOS 4506 we can use "show int link" command to show  the port link status. But how do we do that in older switch model such  as 2950,3550,3560 and 4948? And also how to check this info in the  Catalyst switch runnning CatOS image file? Thanks

5 Replies 5

John Blakley
VIP Alumni
VIP Alumni

I can't help with CatOS because I've never used a switch that had that OS. What I do is run "sh int" on the port and then look at the last input/outpu

t section: (The following port hasn't been active in 14 hours)

Switch# sh int g6/0/21

Hardware is Gigabit Ethernet, address is 001c.577a.a715 (bia 001c.577a.a715)
Description: TEST
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
   reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 14:08:10, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
   29959756 packets input, 27403273446 bytes, 0 no buffer
   Received 146496 broadcasts (86714 multicasts)
   0 runts, 0 giants, 0 throttles
   0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
   0 watchdog, 86714 multicast, 0 pause input
   0 input packets with dribble condition detected
   52315010 packets output, 22919928039 bytes, 0 underruns
   0 output errors, 0 collisions, 1 interface resets
   0 babbles, 0 late collision, 0 deferred
   0 lost carrier, 0 no carrier, 0 PAUSE output
   0 output buffer failures, 0 output buffers swapped out

This *should* work for all IOS model switches.

HTH,

John

HTH, John *** Please rate all useful posts ***

Anyone know how to get those info in CatOS?

But why when i run "show int" command in the WS-C3560-48PS switch, it shows this  Last input never, output never, output hang  never. What does this line means?

cisco WS-C3560-48PS (PowerPC405) processor (revision N0) with 118784K/12280K byt
es of memory.
Processor board ID FDO1127Y0RH

KM52A-BAS01>show int f0/7
FastEthernet0/7 is down, line protocol is down (notconnect)
  Hardware is Fast Ethernet, address is 001c.58ce.9209 (bia 001c.58ce.9209)
  MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 100Mb/s, media type is 10/100BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output never, output hang never
  Last clearing of "show interface" counters 22w6d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts (0 multicast)

  It means no one has connected since the switch was reloaded or the counters cleared  .

Can we know that how long the switch port has no one conencted to it?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: