How can I check edge ports to see if they are using edge-safeguard mode?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
I am troubleshooting high CPU utilization on a x460 stack of 5 switches.  One of the things that I came across is the hal process running sometimes fairly high, 16-20+%.  So I saw a GTAC document on making sure that edge ports are running edge-safeguard mode, but I don't know how to check my edge ports to see possibly which ones are NOT running it.  We always use edge-safeguard mode, but it is possible that there is a mistake somewhere and I need some help finding it.
Photo of Stanley Riley Jr.

Stanley Riley Jr.

  • 950 Points 500 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Evan Kuckelheim

Evan Kuckelheim

  • 678 Points 500 badge 2x thumb
 show config | i edge-safeguard
Photo of Erik Auerswald

Erik Auerswald, Embassador

  • 13,792 Points 10k badge 2x thumb

to check the STP port status, you can use:
show stpd STPD_NAME ports [detail]
The port status includes a flag (or a field in detail mode) showing edge and edge-safeguard status.

To find edge ports without edge safe-guard you can use:
show stpd STPD_NAME ports | include " e..e...-"
The above command shows only STP enabled (first flag) edge ports (fourth flag) without edge-safeguard configured (eighth flag). I have checked this on EXOS 15.3, other EXOS version may have different flags or flag ordering. The flag description is at the bottom of the "show stpd STPD_NAME ports output."