purpose "no exec" in line vty configuration

Unanswered Question
Apr 23rd, 2007


I wanted to know the purpose of "no exec" command in line vty configuration mode.


Sivakondala Rao

I have this problem too.
1 vote
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3.3 (3 ratings)
mohammedmahmoud Mon, 04/23/2007 - 02:04

Hi there,

When you want to allow an outgoing connection only for a line (no incoming) use the no exec command. When a user tries to Telnet to a line with the no exec command configured, the user will get no response when pressing the Return key at the login screen.


The following example turns off the EXEC on line 7. You might want to do this on the auxiliary port if the attached device (for example, the control port of a rack of modems) sends unsolicited data. If this happens, an EXEC process starts, which makes the line unavailable.

line 7

no exec


HTH, please rate if it does help,

Mohammed Mahmoud.

royalblues Mon, 04/23/2007 - 02:15

Its bascially deployed as a security feature which disables the access to the device over the telnet for the lines specified

HTH, rate if it does



This Discussion