In Cisco switches, you can utilize terminal monitor to alert when a goes up or down. How can you enable this on Extreme switches?

  • 1
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Our organization has recently converted from Cisco to Extreme Networks Switches. In Cisco switches, you can utilize terminal monitor to view messages over telnet that alert when a link on a port goes up or down. How can you enable the same type of service on Extreme switches?
Photo of Timothy Clifton

Timothy Clifton

  • 90 Points 75 badge 2x thumb

Posted 3 years ago

  • 1
  • 1
Photo of Bill Stritzinger

Bill Stritzinger, Alum

  • 6,036 Points 5k badge 2x thumb
Tim,

To enable live log to terminal.... Assume you are using XOS?    "enable log display"

Bill
Photo of OscarK

OscarK, ESE

  • 7,912 Points 5k badge 2x thumb
Or in a telnet session, to do this only for this session, use the command:
 enable log target session.
Photo of Timothy Clifton

Timothy Clifton

  • 90 Points 75 badge 2x thumb

Neither of these commands seem to be working. My test device is a B5G124-48P2 switch.

We are utilizing SSH instead of telnet, so maybe this is the issue?

(Edited)
Photo of Brandon Clay

Brandon Clay, Escalation Support Engineer

  • 13,304 Points 10k badge 2x thumb
Hi Timothy,

These commands are both for EXOS. In EOS, I believe you can do this with the command:
set logging local console enable
I believe this will only apply to the console port though, not the SSH session.

-Brandon
(Edited)
Photo of Timothy Clifton

Timothy Clifton

  • 90 Points 75 badge 2x thumb
Yes, I was looking for logging that would report via SSH.
Photo of Paul Poyant

Paul Poyant, Employee

  • 3,536 Points 3k badge 2x thumb
You are seeking to "view messages over telnet that alert when a link on a port goes up or down", on the B5-Series.

set logging default severity 7
set logging application System level 7
set logging local console enable file enable
      ...should in the output of a 'show logging buffer' yield messaging like this, visible via a Serial, Telnet, or SSH management session:

<166>Aug 22 05:24:00 10.1.1.1-1 TRAPMGR[145562672]: traputil.c(475) 527 % Link Up: Unit: 1 Slot: 0 Port: 1
<166>Aug 22 05:24:04 10.1.1.1-1 TRAPMGR[145562672]: traputil.c(475) 528 % Link Down: Unit: 1 Slot: 0 Port: 1

This feature was broken for a time in the 6.61 firmware line, but fixed again with f/w 6.61.08.0013+:
"17479    Resolved an issue with link up/down messages not displaying on the local console."

But I suspect that you are looking for something that dynamically pops any logged messages into the management session when they occur. That feature is not currently supported on the SecureStacks for Telnet or SSH sessions.  On the S/N/K/7100 Series, the command to toggle this feature on or off is 'set logging here enable|disable' (disabled by default).

It's also worth noting that bumping the logging severity up to debug=7 on a permanent basis on the SecureStacks is not recommended, because over time it can be destabilizing to the stack.  So, use as needed and then revert back to default logging levels when done.
Photo of Paul Poyant

Paul Poyant, Employee

  • 3,536 Points 3k badge 2x thumb