Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

purpose "no exec" in line vty configuration

Hi,

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

Regards

Sivakondala Rao

2 REPLIES

Re: purpose "no exec" in line vty configuration

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.

Re: purpose "no exec" in line vty configuration

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

13131
Views
11
Helpful
2
Replies