1

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.

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

1 Answer 1

1

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
1
  • the wide option (as in show users wide) after the commend solved it for me.
    – user39543
    Commented Aug 31, 2017 at 16:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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