TACACS+
TACACS+ lets you authenticate and authorize network device administrators with Ironchip, and record their sessions and commands. Ironchip acts as the TACACS+ server.
Requirements
Section titled “Requirements”- Access to the Ironchip admin console with the administrator role.
- A network device that supports TACACS+ (switches, routers, firewalls).
- Connectivity from the device to Ironchip on TCP port 49.
Create the application in Ironchip
Section titled “Create the application in Ironchip”- Go to Applications and click New Application.
- In the first box, titled Custom application, click Create application.
- Give it an identifying name, select the TACACS+ type and click Add service.
- Fill in these fields:
- Shared secret: the secret shared between the network device and Ironchip. Choose any you like, but it must be the same on the device and in the console. A minimum of 24 characters is recommended.
- Devices: IP addresses or CIDR ranges of the devices allowed to query the TACACS+ server. Requests from other sources are rejected.
- Authentication method: method used to validate the administrator. You can choose Ironchip (passwordless model), LDAP, RADIUS or certificate, depending on what is configured in centralized validation.
- Second factor: Ironchip OTP or MFA, optional or required.
- Click Save. Ironchip starts listening for TACACS+ requests on TCP port 49.
Configure authorization profiles
Section titled “Configure authorization profiles”Profiles define what each administrator can do once authenticated.
- Go to the application you created, open the Authorization tab and click New profile.
- Fill in these fields:
- Name: name of the profile, for example
network-adminorread-only. - Privilege level: privilege level, from 0 to 15, delivered to the device.
- Allowed commands: list of allowed commands, with regular expression support.
- Denied commands: list of denied commands. It takes priority over the allowed list.
- Name: name of the profile, for example
- Assign each profile to an Ironchip user or group.
A user who belongs to several groups receives the highest-privilege profile, unless you define another order of precedence in Priority.
All sessions and executed commands are recorded (accounting). You can review them in the Events section of the console or export them through event export.
Configure the network device
Section titled “Configure the network device”Configure the device to use Ironchip as the TACACS+ server. This is an example for a device running Cisco IOS:
aaa new-modeltacacs server ironchip address ipv4 <Ironchip IP> port 49 key <shared secret>aaa group server tacacs+ ironchip-group server name ironchipaaa authentication login default group ironchip-group localaaa authorization exec default group ironchip-group localaaa authorization commands 15 default group ironchip-group localaaa accounting exec default start-stop group ironchip-groupaaa accounting commands 15 default start-stop group ironchip-groupVerify the integration
Section titled “Verify the integration”To check connectivity, run this on the device:
test aaa group ironchip-group <user> <OTP code> legacyAuthentication example
Section titled “Authentication example”When connecting to the device over SSH, the administrator enters their username and, in the password field, the second factor (for example, the code from an OTP). If the authentication method is Ironchip, the device sends the request to the Ironchip TACACS+ server, which validates the administrator, checks the location and the configured factors, and returns the matching authorization profile.
Some devices do not allow an empty password field. When the authentication method is Ironchip, the text in that field can be random.
Was this page helpful?
Thank you. We will use it to improve the documentation. If you want to tell us what is missing or unclear, write to support@ironchip.com.