I have recently discovered a practice tips. As on UNIX you can easily modify you prompt on Cisco equipment. You have to use the prompt command with the following variables:
%h - hostname
%n - tty command counter number
%p - prompt character (> or #)
%s - Space
In the following example, I have modified the prompt in order to see on which line I'm connected.
With this variable, I can diretly see if another person is connected on the router:
Before:
RouterLAB #
Command:
#prompt %h%s-%s%n%p
After:
RouterLAB - 2#
No comments:
Post a Comment