# Cisco IOS questions

**URL:** <https://boards.straightdope.com/t/cisco-ios-questions/635250>\
**Category:** Factual Questions\
**Created:** [September 20, 2012, 12:24pm UTC](https://boards.straightdope.com/t/cisco-ios-questions/635250 "2012-09-20T12:24:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dog80](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@Dog80](https://boards.straightdope.com/u/Dog80)\
**Post date:** [September 20, 2012, 12:24pm UTC](https://boards.straightdope.com/t/cisco-ios-questions/635250/1 "2012-09-20T12:24:31Z")

</div>

Is there any way to add commands that are executed in priviledged exec mode into the startup-config file?

For example I want to have the router start with the command terminal length 0

---

<div class="post-metadata">

**Author:** ![The\_Librarian](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/the_librarian/32/402_2.png) [@The\_Librarian](https://boards.straightdope.com/u/The_Librarian)\
**Post date:** [September 20, 2012, 10:02pm UTC](https://boards.straightdope.com/t/cisco-ios-questions/635250/2 "2012-09-20T22:02:35Z")

</div>

Why would you want to?

Commands in the config file are ‘privileged’.

Changing the config file takes a privileged user.

---

<div class="post-metadata">

**Author:** ![Learjeff](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Learjeff](https://boards.straightdope.com/u/Learjeff)\
**Post date:** [September 20, 2012, 11:34pm UTC](https://boards.straightdope.com/t/cisco-ios-questions/635250/3 "2012-09-20T23:34:13Z")

</div>

Short answer: no.

Specific answer: In this case, there’s a config command to do what you want:

conf t  
line console  
length 0

On some platforms you may need to enter a number after “console” above, IIRC.

This probably isn’t the best site for Cisco support – it would get inundated.
