04-23-2007 01:59 AM - edited 03-05-2019 03:36 PM
Hi,
I wanted to know the purpose of "no exec" command in line vty configuration mode.
Regards
Sivakondala Rao
04-23-2007 02:04 AM
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.
Examples
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.
04-23-2007 02:15 AM
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
Narayan
04-06-2018 03:25 PM
How do you remove no exec from line vty 0?
06-25-2018 04:45 AM
just conf t.....line vty...... exec
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide