cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
25753
Views
31
Helpful
4
Replies

purpose "no exec" in line vty configuration

sivakondalarao
Level 1
Level 1

Hi,

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

Regards

Sivakondala Rao

4 Replies 4

mohammedmahmoud
Level 11
Level 11

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

http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_command_reference_chapter09186a00800ca65f.html#1017750

HTH, please rate if it does help,

Mohammed Mahmoud.

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

How do you remove no exec from line vty 0?

just conf t.....line vty......  exec

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: