09-07-2011 12:01 AM - edited 03-07-2019 02:04 AM
Just using IOS commands is it possible the above?
Need something like sh ver
Thanks
Solved! Go to Solution.
09-07-2011 02:05 AM
Sure you can. Enter the most basic command "sh int
GigabitEthernet1/0/8 is down, line protocol is down (notconnect)
Hardware is Gigabit Ethernet, address is 0023.ad07.5408
Description:
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, 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 8w2d, output 8w2d, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 20
09-07-2011 12:49 AM
I guess not, in cli your options are
SW1#sh int gig 0/6 ?
accounting Show interface accounting
capabilities Show interface capabilities information
controller Show interface status, configuration and controller status
counters Show interface counters
crb Show interface routing/bridging info
dampening Show interface dampening info
debounce Show interface debounce time info
description Show interface description
etherchannel Show interface etherchannel information
fair-queue Show interface Weighted Fair Queueing (WFQ) info
flowcontrol Show interface flowcontrol information
irb Show interface routing/bridging info
mac-accounting Show interface MAC accounting info
mpls-exp Show interface MPLS experimental accounting info
mtu Show interface mtu
precedence Show interface precedence accounting info
private-vlan Show interface private vlan information
pruning Show interface trunk VTP pruning information
random-detect Show interface Weighted Random Early Detection (WRED) info
rate-limit Show interface rate-limit info
stats Show interface packets & octets, in & out, by switching path
status Show interface line status
summary Show interface summary
switchport Show interface switchport information
transceiver Show interface transceiver
trunk Show interface trunk information
vlan Show interface vlan information
| Output modifiers
Regards,
Sunil
Pls rate the post, if you find the content useful.
09-07-2011 01:20 AM
Someone said me that it's possible
09-07-2011 01:53 AM
Not through ios i believe, one can check the log timestamp.
SW1(config)#int gig 0/12
SW1(config-if)#sh
SW1(config-if)#
*Mar 2 15:29:02.626: %LINK-5-CHANGED: Interface GigabitEthernet0/12, changed state to administratively down
SW1(config-if)#no sh
SW1(config-if)#
*Mar 2 15:30:11.916: %LINK-3-UPDOWN: Interface GigabitEthernet0/12, changed state to down
Regards,
Sunil
Pls rate the post, if you find the content useful.
09-07-2011 02:05 AM
Sure you can. Enter the most basic command "sh int
GigabitEthernet1/0/8 is down, line protocol is down (notconnect)
Hardware is Gigabit Ethernet, address is 0023.ad07.5408
Description:
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, 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 8w2d, output 8w2d, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 20
09-07-2011 03:22 AM
Thank you all, but I wanted to know how long WAS interface down and not IS down
09-07-2011 03:26 AM
Ahhhh ... You want the downtime of the interface? Then "sh logs" will do (hoping you have enough buffer to capture the time the interface went down).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide