Notepad discovery haha
Sunday, January 4, 2009
CODE
en
conf t
line con 0
logg sync
no exec-timeout
no ip domain-lookup
alias exec siib show ip int brief | i up
alias exec sir show ip route
hostname
r1
int s0/0
ip addr 10.1.12.1 255.255.255.0
no shut
int l0
ip addr 1.1.1.1 255.0.0.0
r2
int s0/0
ip addr 10.1.12.2 255.255.255.0
no shut
int l0
ip addr 2.2.2.2 255.0.0.0
int fa0/0
ip addr 10.1.23.2 255.255.255.0
no shut
r3
int s0/0
ip addr 10.1.34.3 255.255.255.0
no shut
int fa0/0
ip addr 10.1.23.3 255.255.255.0
no shut
int l0
ip addr 3.3.3.3 255.0.0.0
r4
int s0/0
ip addr 10.1.34.4 255.255.255.0
no shut
int l0
ip addr 4.4.4.4 255.0.0.0
frame-relay
r1
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.12.2 102 broad
frame map ip 10.1.12.1 102
r2
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.12.1 201 broad
frame map ip 10.1.12.2 201
r3
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.34.4 304 broad
frame map ip 10.1.34.3 304
r4
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.34.3 403 broad
frame map ip 10.1.34.4 403
frs
frame-switch
frame switch
int s0/0
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 102 interface serial 0/1 201
no shut
int s0/1
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 201 interface serial 0/0 102
no shut
frs1
frame switch
int s0/0
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 304 interface serial 0/1 403
no shut
int s0/1
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 403 interface serial 0/0 304
no shut
conf t
line con 0
logg sync
no exec-timeout
no ip domain-lookup
alias exec siib show ip int brief | i up
alias exec sir show ip route
hostname
r1
int s0/0
ip addr 10.1.12.1 255.255.255.0
no shut
int l0
ip addr 1.1.1.1 255.0.0.0
r2
int s0/0
ip addr 10.1.12.2 255.255.255.0
no shut
int l0
ip addr 2.2.2.2 255.0.0.0
int fa0/0
ip addr 10.1.23.2 255.255.255.0
no shut
r3
int s0/0
ip addr 10.1.34.3 255.255.255.0
no shut
int fa0/0
ip addr 10.1.23.3 255.255.255.0
no shut
int l0
ip addr 3.3.3.3 255.0.0.0
r4
int s0/0
ip addr 10.1.34.4 255.255.255.0
no shut
int l0
ip addr 4.4.4.4 255.0.0.0
frame-relay
r1
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.12.2 102 broad
frame map ip 10.1.12.1 102
r2
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.12.1 201 broad
frame map ip 10.1.12.2 201
r3
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.34.4 304 broad
frame map ip 10.1.34.3 304
r4
int s0/0
encap frame
frame lmi-type cisco
frame map ip 10.1.34.3 403 broad
frame map ip 10.1.34.4 403
frs
frame-switch
frame switch
int s0/0
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 102 interface serial 0/1 201
no shut
int s0/1
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 201 interface serial 0/0 102
no shut
frs1
frame switch
int s0/0
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 304 interface serial 0/1 403
no shut
int s0/1
encap frame
frame lmi-type cisco
frame intf-type dce
frame route 403 interface serial 0/0 304
no shut
surprised with the above config posted .. well sort of .. as i have already stated i was going on with narbiks wb and by mistake erased the config thinking that they would be of no use .. when i happened to visit the lab 2 i found that that lab was a continuation .. lesson learnt ... so left that lab thinking of writing down again the configs which nearly took 30 minutes for lab 1
this was the case with morning .. gave gap went an slept and on it again .. thinking of configs
and then i got the idea of note pad ... i know that after writing a config in router we can go for show run and copy paste blah blah and blah ..
that is a sort of time taking process ... 30 min config took me only 5 min to make ... this is what i followed ...
for cisco routers as we know we can copy and paste configs irrespective of prompts position ..
so i quickly created a config and wrote it in note pad ..(you need familiarity of course)
then went to interface mode
int s0/0
ip addr 255.255.255.0
no shut
copy this as many interfaces you have and just insert of change to your convinience
let us say i took that
r1
int s0/0
ip addr 255.255.255.0
no shut
int s0/1
ip addr 255.255.255.0
no shut
int s0/2
ip addr 255.255.255.0
no shut
after copy pasting three time change it to your will and frame - relay was hell lot easier in doing now .. i know many experts out there will have better tricks than this but who knows people who come and visit this may discover or find it helpful as i have done it now ..
i can 100% tell you this method is 10 times faster and 50% typos (ip address stuff) free
try it
regards
Rakesh