I know both the below command does the same AAA server reference. But i would like to know the order of Preference.
That is which one takes the priority? Radius-server command or Tacacs-Server command ?
radius-server host 192.168.1.1
tacacs-server host 192.168.1.2
Thanks in advance
there is no default order of preference. The first authentication(authorization) method configured (first written in the command) takes precedence and if fails, the next one is validated.
example configuration of authentication/authorization ( 1st Radius is evaluated. If fails then Tacacs+ takes place ):
Router(config)#aaa authentication login RADTAC group radius group tacacs+
Router(config)#aaa authorization exec RADTAC group radius group tacacs+
Rolf is right I just wanted to rephrase it so it would become clearer, hopefully.