Skip to main content

Posts

Showing posts with the label TACACS

Building RANCID Server from Scratch

This document outlines how to build RANCID from Scratch, using the name of switch1 and ip of 192.168.3.10 , and rostring of community1 1. Install Ubuntu 16.04 2. sudo apt-get install rancid cvs 3. sudo su 4. nano /etc/rancid/rancid.conf Append: LIST_OF_GROUPS="switches" 5. sudo su -c /var/lib/rancid/bin/rancid-cvs -s /bin/bash -l rancid 6. nano /var/lib/rancid/switches/router.db Append : switch1;cisco;up 7. Modify /etc/hosts Append: 192.168.3.10 switch1 8. Create .cloginrc file @ /var/lib/rancid/switches add method {ssh} add cypertype {3des} add user {useracc} add password {enable-password} {enable-password} add autoenable 9. Modify permissions on the following files: /var/lib/rancid# chmod a-r .cloginrc /var/lib/rancid# chmod u+r .cloginrc /var/lib/rancid# chown rancid .cloginrc /var/lib/rancid# chgrp rancid .cloginrc 10. This will run the actual rancid command sudo su -c /var/lib/rancid/bin/rancid-run -s /bin/bash -l ranci...

Cisco 4500 Series Configuration for TACACS

This will be the first post of a bunch outlining a bunch of configurations and setups that I have performed in the past few years since updating this blog. TACACS Configuration: aaa authentication login default group tacacs+ local aaa authentication enable default group tacacs+ enable aaa authorization config-commands aaa authorization commands 0 default group tacacs+ local aaa authorization commands 1 default group tacacs+ local aaa authorization commands 7 default group tacacs+ local aaa authorization commands 15 default group tacacs+ local aaa accounting commands 0 default start-stop group tacacs+ aaa accounting commands 1 default start-stop group tacacs+ aaa accounting commands 7 default start-stop group tacacs+ aaa accounting commands 15 default start-stop group tacacs+ aaa accounting network 0 start-stop group tacacs+ aaa accounting network 15 start-stop group tacacs+ aaa accounting connection 0 start-stop group tacacs+ aaa accounting connection 15 start-stop group tacacs+ t...