About no exec

Unanswered Question
May 18th, 2017
User Badges:

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


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Philip D'Ath Thu, 05/18/2017 - 15:44
User Badges:
  • Purple, 4500 points or more
  • Cisco Designated VIP,

    2017 WAN, LAN, VPN

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
Philip D'Ath Thu, 05/18/2017 - 15:58
User Badges:
  • Purple, 4500 points or more
  • Cisco Designated VIP,

    2017 WAN, LAN, VPN

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

Actions

This Discussion