cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1026
Views
10
Helpful
3
Replies

About no exec

elias.gonzalez
Level 1
Level 1

Hey there. I've seen this configuration in another site, and I want to know the non exec command applies only for line aux 0. Do I have to write every type of connection? Thanks in advance.

line con 0

logging sychronous

line aux 0

line 2

no activation-character

no exec

transport preferred none

transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

3 Replies 3

Philip D'Ath
VIP Alumni
VIP Alumni

Yes, that config only applies to the line it is configured on.

I would also probably add (unless you know you need those other protocols):

transport input telnet ssh
transport output telnet ssh

Thanks! Can you please explain to me why will you add those lines? 

Because those extra protocols can cause security issues.  So if you don't want unexpected compromises you should turn them off.