SQL schemes can be validated with ConnexOne database application control
AAA is the abbreviation of Authentication Authorization and Accounting, which provides for authentication, authorization and accounting function into the configuration of the consistency framework. AAA provides the following services in a modular fashion:
Using AAA has the following advantages:
AAA has the following relevant standards: RFC2865 Remote Authentication Dial In User Service (RADIUS). C. Rigney, S. Willens, A. Rubens, W. Simpson. June 2000. (Format: TXT, HTML). RFC2866 RADIUS Accounting. C. Rigney. June 2000. (Format: TXT, HTML). RFC8907 The Terminal Access Controller Access-Control System Plus (TACACS+) Protocol. T. Dahm, A. Ota, DC Medway Gash, D. Carrel, L. Grant. September 2020.
SWITCH( config)# aaa new-model
SWITCH( config)# no aaa new-model
Globally enable or disable the AAA function.
SWITCH( config)# aaa group server (radius) ( default| NAME )
SWITCH( config ) # aaa group server ( tacacs + ) ( default| NAME )
SWITCH( config)# no aaa group server ( radius|tacacs +) ( default| NAME )
Server group configuration. Optional. By default there is no server group configuration and no server method is used.
SWITCH(config-gs-rad )# server A.B.C.D (auth-port <1-65535> |) (acct-port <1-65535> |) (key STRING )
SWITCH(config-gs-tac)# server A.B.C.D (port <1-65535> |) (key STRING )
SWITCH(config-gs-rad)# no server A.B.C.D
SWITCH(config-gs-tac)# no server A.B.C.D
server group mode . Configure RADIUS, TACACS + server information, including basic IP address, port information, shared key Optional. Note: Due to implementation restrictions, the current radius accounting port number is always the authentication port number + 1, and the configuration is invalid.
SWITCH(config-gs-rad)# timeout <1-120>
SWITCH(config-gs-tac)# timeout <1-120>
SWITCH(config-gs-rad)# no timeout
SWITCH(config-gs-tac)# no timeout
server group mode . Configure the timeout period for servers in the group. Optional.
SWITCH(config-gs-tac)# service NAME
SWITCH(config-gs-tac)# no service
TACACS+ server group mode . Configure the service information in the group. Optional.
SWITCH(config)# aaa (authentication|authorization|accounting) (login|ssh|web|dot1x|command) default {group (radius|tacacs+|NAME)|local|none}
SWITCH(config)#no aaa (authentication|authorization|accounting) (login|ssh|web|dot1x|command) default
Global configuration mode. Configure AAA method information. Optional.Local authentication is used by default. Note1: The username (such as admin) that exists on the machine also needs to be provided during the none authentication, otherwise an error may occur. Note2: Web do not support accounting/authorization now.
SSH Login Authentication Using Tacacs+ Method • Requirements
• Network diagram Figure 8 Typical networking diagram for SSH through tacacs+ server authentication and accounting Description: none • Typical configuration example Switch:
SWITCH(config)# aaa new-model
SWITCH(config)# aaa group server tacacs+ default
SWITCH(config-gs-tac) # server 2.2.2.106 key testkey123
SWITCH(config-gs-tac)# exit
SWITCH(config)# aaa authentication ssh default group tacacs+
SWITCH(config)# aaa accounting ssh default group tacacs+
SWITCH(config)# username test remote
Device IP configuration and ssh configuration refer to the corresponding chapters in the configuration documentation, which are omitted here.
• Requirements
• Network diagram Figure9 Typical network diagram of serial port using none authentication and accounting • Typical configuration example Refer to the network diagram