What's the Extremeware and XOS command equivalent of cisco's show int | i proto|Last in

  • 0
  • 2
  • Question
  • Updated 12 months ago
  • Answered
I need to know how many days has a port been unused via console/telnet,  in extremeware (and XOS) with epicenter SW you are able to track but I want to know is there is a CLI equivalent to CISCO show int | i proto|Last in

Thanks
Photo of Karina Del Moral

Karina Del Moral

  • 804 Points 500 badge 2x thumb

Posted 12 months ago

  • 0
  • 2
Photo of Brandon Clay

Brandon Clay, Escalation Support Engineer

  • 13,594 Points 10k badge 2x thumb
I think this will get what you want:

X440G2-12t-10G4.18 # show port info detail | include Port:|Link\sState:|Link\sUps:|Link\sDowns:

Port:   1
    Link State: Active, 1Gbps, full-duplex
    Link Ups:       1        Last: Thu Aug 03 16:59:29 2017
    Link Downs:     0        Last: --
Port:   2
    Link State: Ready
    Link Ups:       0        Last: --
    Link Downs:     0        Last: --
(Edited)
Photo of David Coglianese

David Coglianese, Embassador

  • 7,388 Points 5k badge 2x thumb
Show port info detail will show you the last link up but resets when the stack reboots.
Photo of Drew C.

Drew C., Community Manager

  • 40,690 Points 20k badge 2x thumb
In EXOS, you can see the last up/down dates at the top of the show port X info detail command:
# show port 12 info det
Port: 12
Virtual-router: VR-Default
Type: UTP
Random Early drop: Unsupported
Admin state: Enabled with auto-speed sensing auto-duplex
Link State: Ready
Link Ups: 2 Last: Mon Oct 30 05:32:11 2017
Link Downs: 2 Last: Tue Nov 14 10:26:57 2017
....

EDIT:  Brandon's answer above is better than mine.
(Edited)
Photo of Karina Del Moral

Karina Del Moral

  • 804 Points 500 badge 2x thumb
Thanks for your replies... and do you know if there's a way to know on Extremeware 7.8e.4.1 (one of our legacy switches.. )?

Gracias
Photo of Drew C.

Drew C., Community Manager

  • 40,556 Points 20k badge 2x thumb
It looks like the same command on eware gives a counter, but not timestamps. There may be another, but there aren't any powered on in the labs to test. Here's the example from the command reference guide:
# show ports 2:6 info detail

Port 2:6:
Type: UTP
Diagnostic: passed
Random Early Drop: Disabled
Admin state: Enabled, with auto-duplex auto-speed sensing
Link state: Ready
Link counter: Up 0 time(s), Down 0 times(s)
VLAN cfg:
Default [Internal Tag=0001,Mac-Limit:Cfg=No-limit,LRN=0,BlkHole=0]
....