# How do I add a label to the #\> command prompt?

**URL:** <https://forums.digi.com/t/how-do-i-add-a-label-to-the-command-prompt/16112>\
**Category:** Portserver TS\
**Tags:** portserver-ts, command-line\
**Created:** [January 19, 2016, 3:13pm UTC](https://forums.digi.com/t/how-do-i-add-a-label-to-the-command-prompt/16112 "2016-01-19T15:13:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pdukich](https://avatars.discourse-cdn.com/v4/letter/p/ba8739/32.png) [@pdukich](https://forums.digi.com/u/pdukich)\
**Post date:** [January 19, 2016, 3:13pm UTC](https://forums.digi.com/t/how-do-i-add-a-label-to-the-command-prompt/16112/1 "2016-01-19T15:13:42Z")

</div>

I have a number of PortServer TS3 M units and I’d like to add a label to the #\> prompt for each location they’re in such as:  
#LOCATION1\>  
#LOCATOIN2\>  
and so on.  
So anyone logging in will know which site they’re connected to.  
I’ve gone through the docs and things I’ve tried have not worked…

---

<div class="post-metadata">

**Author:** ![userid0](https://avatars.discourse-cdn.com/v4/letter/u/f6c823/32.png) [@userid0](https://forums.digi.com/u/userid0)\
**Post date:** [January 20, 2016, 12:31pm UTC](https://forums.digi.com/t/how-do-i-add-a-label-to-the-command-prompt/16112/2 "2016-01-20T12:31:13Z")

</div>

Try set netlogins:

#\> set netlogins cmdprompt=(new\_prompt)

If you are setting this on a port rather than a network login:

#\> set login cmdprompt=(new\_prompt) range=(port\_number)

---

<div class="post-metadata">

**Author:** ![pdukich](https://avatars.discourse-cdn.com/v4/letter/p/ba8739/32.png) [@pdukich](https://forums.digi.com/u/pdukich)\
**Post date:** [January 20, 2016, 2:49pm UTC](https://forums.digi.com/t/how-do-i-add-a-label-to-the-command-prompt/16112/3 "2016-01-20T14:49:19Z")

</div>

I’ve tried a number of commands and the command prompt doesn’t change… see below:

#\> set netlogins rootprompt=“1632 Central”  
#\> set netlogins cmdprompt=“1632 Central”  
#\> set netlogins premessage=“1632 Central”  
#\>  
Prompt didn’t change

#\> set netlogins cmdprompt=“1632 Central”  
#\>  
Prompt didn’t change
