getting rancid
Post on 19-Feb-2018
224 Views
Preview:
TRANSCRIPT
-
7/23/2019 Getting Rancid
1/16
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
2/16
sudo r pm - Uvh - - r epl acepkgs ht t p: / / dl . f edor aproj ect. or g/ pub/ epel / 6/ x86_64/ epel -
r el ease- 6- 8. noarch. r pm
sudo yum i nst al l r anci d cvs
sudo apt - get i nstal l r anci d
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/http://dl.fedoraproject.org/pub/epel/6/x86_64/epel- -
7/23/2019 Getting Rancid
3/16
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
4/16
# l i st of r anci d gr oups
LI ST_OF_GROUPS="r out ers swi t ches access- poi nts"
r anci d- r out er s: r outer - admi ns@yourcompany. com
r anci d- admi n- r out er s: r outer - admi ns@yourcompany. com
r anci d- swi t ches: swi t ches- admi ns@your company. com
r anci d- admi n- swi t ches: swi t ches- admi ns@your company. com
r anci d- access- poi nt s: ap- admi ns@yourcompany. com
r anci d- admi n- access- poi nt s: ap- admi ns@yourcompany. com
sudo - i - u r anci d
/ var / l i b/ r anci d/ bi n/ r anci d- cvs (on Debi an and Ubunt u)
/ usr / bi n/ ranci d- cvs ( on Cent OS)
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
mailto:router-admins@yourcompany.commailto:router-admins@yourcompany.commailto:switches-admins@yourcompany.commailto:switches-admins@yourcompany.commailto:ap-admins@yourcompany.commailto:ap-admins@yourcompany.comhttps://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/mailto:ap-admins@yourcompany.commailto:ap-admins@yourcompany.commailto:switches-admins@yourcompany.commailto:switches-admins@yourcompany.commailto:router-admins@yourcompany.commailto:router-admins@yourcompany.com -
7/23/2019 Getting Rancid
5/16
sth- rt r- 1: ci sco: up
bos- r t r - 1: ci sco: up
ams- r t r - 1: ci sco: up
par - rt r- 1: ci sco: up
l on- rt r- 1: ci sco: up
st h- dsw- 1: ci sco: up
st h- asw- 1: ci sco: up
st h- asw- 2: ci sco: up
st h- asw- 3: ci sco: upbos- asw- 1: ci sco: up
ams- asw- 1: ci sco: up
par - asw- 1: ci sco: up
l on- asw- 1: ci sco: up
st h- ap- 1: ci sco: up
st h- ap- 2: ci sco: up
st h- ap- 3: ci sco: up
st h- ap- 4: ci sco: up
st h- ap- 5: ci sco: up
st h- ap- 6: ci sco: up
bos- ap- 1: ci sco: up
bos- ap- 2: ci sco: up
ams- ap- 1: ci sco: up
ams- ap- 2: ci sco: up
par - ap- 1: ci sco: up
par - ap- 2: ci sco: upl on- ap- 1: ci sco: up
l on- ap- 2: ci sco: up
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
6/16
add password * s3ct et p@ssw0rd
add user *- asw- * ranci d- swi t ch- user
add password *- asw- * $wi t chpassw0rd
chmod 600 . cl ogi nrc
cl ogi n st h- asw- 2
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
7/16
cront ab - e
0 * * * * * / usr/ bi n/ ranci d- r un
[ r anci d@t srv- r anci d- cen conf i gs] $ cvs l og st h- asw- 2
RCS f i l e: / var / r anci d/ CVS/ swi t ches/ conf i gs/ st h- asw- 2, v
Wor ki ng f i l e: st h- asw- 2
head: 1. 3
branch:
l ocks: str i ct
access l i st:
symbol i c names:
keywor d subst i t ut i on: o
t ot al r evi si ons: 3; sel ected revi si ons: 3
descri pt i on:
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
r evi si on 1. 3
dat e: 2014/ 04/ 04 20: 01: 11; aut hor : r anci d; st at e: Exp; l i nes: +5 - 4
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
8/16
.
dat e: 2014/ 04/ 04 19: 01: 06; aut hor : r anci d; st at e: Exp; l i nes: +446 - 0
updat es
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
r evi si on 1. 1
dat e: 2014/ 04/ 04 19: 00: 09; aut hor: r anci d; st at e: Exp;
new r outer
=============================================================================
[ r anci d@t srv- r anci d- cen conf i gs] $
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
9/16
cl ogi n - c "show pr ocesses cpu" bos- r t r - 1
r anci d@t sr v- r anci d- ubu: ~/ r out er s/ conf i gs$ pwd
/ var/ l i b/ ranci d/ rout ers/ conf i gs
r anci d@t srv- r anci d- ubu: ~/ r out er s/ conf i gs$ cl ogi n - c "show pr ocesses cpu" `l s
*r t r*`
cl ogi n - c "show pr ocesses cpu; show memory f r ee" ams- r t r - 1
cl ogi n - x commands. t xt l on- ap- 2
ng started with RANCID https://networklore.com/rancid-gettin
6 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
10/16
permi t udp any any eq domai n
permi t i cmp any any
end
wr i t e mem
cl ogi n - x access- l i st. t xt `cat swi t ches. t xt `
Tweet0 Share0 Share1 Share0
ng started with RANCID https://networklore.com/rancid-gettin
16 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
11/16
ng started with RANCID https://networklore.com/rancid-gettin
16 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
12/16
ng started with RANCID https://networklore.com/rancid-gettin
16 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
13/16
ng started with RANCID https://networklore.com/rancid-gettin
16 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
14/16
ng started with RANCID https://networklore.com/rancid-gettin
16 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
15/16
ng started with RANCID https://networklore.com/rancid-gettin
16 04-06-20
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/ -
7/23/2019 Getting Rancid
16/16
ng started with RANCID https://networklore.com/rancid-gettin
https://networklore.com/rancid-getting-started/https://networklore.com/rancid-getting-started/
top related