Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

How to configure Radius or TACACS authentication for switch management on N-series switches

Summary: This article explains how to configure TACACS or Radius authentication on N-series switches.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

Configuring the switch

In the examples, we configure the switch to authenticate using radius or TACACS for telnet login sessions only. This is a basic configuration - see the User Guide for your switch and firmware version for more details and options on the Dell Support Site.

Note: Command syntax is different between firmware versions for the definition of the radius server only (noted in the example).

Note: Both RADIUS and the local user database cannot be used simultaneously. If the radius server does not respond, radius login failover occurs to the next configured option. If the RADIUS server sends a response of "Auth Fail," the login process stops and the next configured login method is ignored.


The below command creates a login authentication list called "RadLogin" that contains the method radius. If this method fails, then the user fails to perform the enable command.

switch(config)#aaa authentication login "RadLogin" radius


Next, we create an enable authentication list called "RadEnable" that contains the method radius. If this method fails, then the user fails to perform the enable command.

switch(config)#aaa authentication enable "RadEnable" radius


Now we can configure the Radius server's IP address, and shared key. The below example uses 10.0.0.254 as the radius server's IP address, and RadiusKey as the shared key configured on the radius server.
  • For firmware 6.3.x.x or earlier
    • switch(config)#radius-server host 10.0.0.254
  • For firmware 6.4.x.x or later
    • switch(config)#radius server auth 10.0.0.254
switch(config-auth-radius)#key RadiusKey
switch(config-auth-radius)#exit


We then enable the Radius authentication list, and enable authentication list for Telnet below.

switch(config)#line telnet
switch(config-telnet)#login authentication RadLogin
switch(config-telnet)#enable authentication RadEnable


The below configuration is a similar example using TACACS instead of Radius. The process is almost identical.
 
aaa authentication login "TacLogin" tacacs 
aaa authentication enable "TacEnable" tacacs
tacacs-server host 10.0.0.254
key "TacacsKey"
exit
line telnet
login authentication TacLogin
enable authentication TacEnable
exit

Here are some commands that show information about TACACS and Radius.
 
Show authentication methods Displays authentication configuration
Show radius statistics Displays radius authentication attempts, failures, and basic statistics
Show aaa servers Shows all configured aaa servers and statistics
Show tacacs Shows configured TACACS servers
Show log Shows system logs and messages. Informs if Radius authentication attempts are rejected by a server, and other useful information.

Article Properties


Affected Product

PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N3000 Series, PowerSwitch N4000 Series

Product
N Series, PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N2200-ON Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, Dell EMC PowerSwitch N3100 Series , Dell EMC Networking N3200-ON ...
Last Published Date

04 Feb 2022

Version

7

Article Type

How To