cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2593
Views
0
Helpful
4
Replies

TACACS+ with cisco 3560 switch configuration question

ffadhilpi
Level 1
Level 1

Hi Forum,

 

Below are my TACACS+ configuration on my cisco 3560 switch and my question is, how can I configure the switch so I would not have to type enable after I put the username and password? with the configs below, users have to type enable every time they log in to the switch in order to get into the user exec mode#. Please let me know if there is anything missing from my configs to help me bypass typing "enable"

 

thanks in advance,

 

 

MacBookAir:~ MacBook$ ssh username@10.10.193.170

Password: 

 

Switch>en

Switch#show run | include aaa

aaa new-model

aaa group server tacacs+ cppm

aaa authentication login default group tacacs+ local

aaa authentication enable default none

aaa authorization exec default group tacacs+ if-authenticated 

aaa authorization commands 1 default group tacacs+ if-authenticated 

aaa authorization commands 15 default group tacacs+ if-authenticated 

aaa accounting dot1x default start-stop group radius

aaa accounting exec default start-stop group tacacs+

aaa accounting commands 1 default start-stop group tacacs+

aaa accounting commands 15 default start-stop group tacacs+

aaa accounting system default start-stop group tacacs+

aaa server radius dynamic-author

aaa session-id common

Switch#

 

1 Accepted Solution

Accepted Solutions

Steve Fuller
Level 9
Level 9

Hi,

Add the command privilege level 15 in the line VTY configuration.

line vty 0 4
 [..]
 privilege level 15
!

 

Regards

View solution in original post

4 Replies 4

Steve Fuller
Level 9
Level 9

Hi,

Add the command privilege level 15 in the line VTY configuration.

line vty 0 4
 [..]
 privilege level 15
!

 

Regards

Bingo, that did it. Thanks Steve.

Hardcoding level 15 into line vty could be a serious security risk. Anyone who logs on via telnet/ssh will have priv 1. You're meant to provide an AAA list would according to the authentication method will authenticate you. The shell level will be supplied as an attribute according to the TACACS or RADIUS server policy.

Take a look at:  http://www.cisco.com/c/en/us/support/docs/security-vpn/terminal-access-controller-access-control-system-tacacs-/10384-security.html

 

Specifically under "Configuring authentication"

Put into your configiguration file:

!
!
username XXXX privilege 15 password YYYY
!
!

Since then everyone who logs in with credentials  XXXX and password YYYY will get level 15 prompt.
You do not want everyone who logs in to vty lines to get level 15 straight away, right? :) 

Of course put your real username and password there instead of "XXXX" and "YYYY"

regards


Review Cisco Networking for a $25 gift card