I'm using this cisco IOS command "show users" to check if there's more than one session active and the session's IP address, however I've noticed that on certain devices, this command hangs before displaying the IP address of the user for like 1 minute.

Does anyone know what could be causing this delay?.

I've checked for cpu and memory usage, and that doesn't seem to be the cause, also checked on different ios versions.

  • 3
    Try disabling domain lookup--- no ip domain-lookup – Ron Trunk Jun 7 '17 at 17:41
  • @RonTrunk maybe add this as an answer so this question doesn't remain "unanswered" ? – hertitu Jun 14 '17 at 14:44

The apparent "hanging" is caused by the delay in doing name resolution (DNS) lookups. If you don't have name resolution available, you can disable the lookup with the command

no ip domain-lookup
  • the wide option (as in show users wide) after the commend solved it for me. – user39543 Aug 31 '17 at 16:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.