Suryantofang

January 23, 2012

TSHOOT Exam Schedule

Filed under: Cisco — suryantofang @ 8:14 am

My TSHOOT already schedule next monday next week, already prepare such thing to prepare this exam, hopefully will got my CCNP. If I got this CCNP means that I already got this Cert with form my OWN. without promote from company or anyone else.

January 17, 2012

Telnet Bash Script for dynamips

Filed under: Cisco, Linux — suryantofang @ 3:37 pm

I was lazy to telnet my Lab one by one so I search from google some solution for my lazy butt..

This was script I was found :

#!/bin/bash
# — start multi-tabbed telnet session
web="telnet localhost 2002"
web2="telnet localhost 2004"
r1="telnet localhost 2005"
r2="telnet localhost 2006"
r3="telnet localhost 2007"
r4="telnet localhost 2008"
dsw1="telnet localhost 2011"
dsw2="telnet localhost 2009"
asw1="telnet localhost 2017"
asw2="telnet localhost 2001"
pc1="telnet localhost 2003"
ftp="telnet localhost 2000"
gnome-terminal \
--window --maximize -e "$web" -t WEB \
--tab -e "$web2" -t WEB2 \
--tab -e "$r1" -t R1 \
--tab -e "$r2" -t R2 \
--tab -e "$r3" -t R3 \
--tab -e "$r4" -t R4 \
--tab -e "$dsw1" -t DSW1 \
--tab -e "$dsw2" -t DSW2 \
--tab -e "$asw1" -t ASW1 \
--tab -e "$asw2" -t ASW2 \
--tab -e "$pc1" -t PC1 \
--tab -e "$ftp" -t FTP
## ended here

January 9, 2012

HSRP with IP route Track

Filed under: Cisco — suryantofang @ 2:52 pm

This is my note when my learning HSRP :

DSW1#sh run int vlan 10
Building configuration...

Current configuration : 189 bytes
!
interface Vlan10
 ip address 10.2.1.1 255.255.255.0
 standby 10 ip 10.2.1.254
 standby 10 priority 200
 standby 10 preempt
 standby 10 name VLAN10
 standby 10 track 10 decrement 110
end

DSW1#sh run | s track
track 10 ip route 10.1.21.128 255.255.255.255 metric threshold
 threshold metric up 61 down 62
 standby 10 track 10 decrement 110

DSW1#sh track
Track 10
  IP route 10.1.21.128 255.255.255.255 metric threshold
  Metric threshold is Down (EIGRP/158720/62)
    7 changes, last change 00:08:51
  Metric threshold down 62 up 61
  First-hop interface is Vlan10
  Tracked by:
    HSRP Vlan10 10

 

Why its 61 ?

158720 devide by 2560 so we got 61.

HSRP Failover standby are monitored its route table.

If the threshold less greather than 61 then HSRP assume its route fail so router needs to failover its standby.

 

 

 

 

November 30, 2011

TSHOOT LABS – Dynamips

Filed under: Uncategorized — suryantofang @ 8:31 am

Herewith my LAB for TSHOOT Studying :

——–Start here ——-

autostart = False
[localhost]
    workingdir = /tmp
    udp = 10200
    [[3640]]
        image = /home/suryanto/CLABS/IOS/C3640-JK.BIN
        ghostios = True
        chassis = 3640
    [[ROUTER FTP]]
        model = 3640
        slot0 = NM-1E
        e0/0 = ASW2 f0/0

    [[ROUTER ASW2]]
        model = 3640
        cnfg = /home/suryanto/config/ASW2.cfg
        slot0 = NM-16ESW
        f0/0 = FTP e0/0
        f0/9 = DSW2 f0/9
        f0/10 = DSW2 f0/10
        f0/11 = DSW1 f0/11
        f0/12 = DSW1 f0/12

    [[ROUTER WEB]]
        model = 3640
        cnfg = /home/suryanto/config/WEB.cfg
        slot0 = NM-4T
        s0/1 = R1 s0/1
        idlepc = 0x604c898c

    [[ROUTER PC1]]
        model = 3640
        slot0 = NM-1E
        e0/0 = ASW1 f0/0

    [[ROUTER WEB2]]
        model = 3640
        slot0 = NM-4T
        s0/2 = WEB s0/2
        idlepc = 0x603dd794

    [[ROUTER R1]]
        model = 3640
        cnfg = /home/suryanto/config/R1.cfg
        slot0 = NM-4T
        s0/0 = FR1 1
        s0/1 = WEB s0/1
        idlepc = 0x604c9368

    [[ROUTER R2]]
        model = 3640
        cnfg = /home/suryanto/config/R2.cfg
        slot0 = NM-4T
        s0/0 = FR1 2

    [[ROUTER R3]]
        model = 3640
        cnfg = /home/suryanto/config/R3.cfg
        slot0 = NM-4T
        s0/0 = FR1 3

    [[FRSW FR1]]
        1:16 = 2:16
        2:16 = 1:16
        2:23 = 3:23
        3:23 = 2:23
        3:34 = 4:34
        4:34 = 3:34

    [[ROUTER R4]]
        model = 3640
        cnfg = /home/suryanto/config/R4.cfg
        slot0 = NM-4T
        s0/0 = FR1 4
        slot1 = NM-4E
        e1/0 = DSW1 f0/1
        e1/1 = DSW2 f0/14

    [[ROUTER DSW2]]
        model = 3640
        cnfg = /home/suryanto/config/DSW2.cfg
        slot0 = NM-16ESW
        f0/3 = DSW1 f0/3
        f0/4 = DSW1 f0/4
        f0/9 = ASW2 f0/9
        f0/10 = ASW2 f0/10
        f0/11 = ASW1 f0/11
        f0/12 = ASW1 f0/12
        f0/14 = R4 e1/1

    [[ROUTER ASW1]]
        model = 3640
        console = 2017
        cnfg = /home/suryanto/config/ASW1.cfg
        slot0 = NM-16ESW
        f0/0 = PC1 e0/0
        f0/9 = DSW1 f0/9
        f0/10 = DSW1 f0/10
        f0/11 = DSW2 f0/11
        f0/12 = DSW2 f0/12

    [[ROUTER DSW1]]
        model = 3640
        cnfg = /home/suryanto/config/DSW1.cfg
        slot0 = NM-16ESW
        f0/1 = R4 e1/0
        f0/3 = DSW2 f0/3
        f0/4 = DSW2 f0/4
        f0/9 = ASW1 f0/9
        f0/10 = ASW1 f0/10
        f0/11 = ASW2 f0/11
        f0/12 = ASW2 f0/12
-------- end Here -------------------------------

November 21, 2011

BGP Origin E-BGP

Filed under: Cisco — suryantofang @ 1:01 pm

I configure BGP in my router and I seen like this :

 R1#sh ip bgp
 BGP table version is 6, local router ID is 209.65.200.225
 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
 r RIB-failure, S Stale
 Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
 *> 10.1.1.0/30 0.0.0.0 0 32768 ?
 *> 202.167.111.0 209.65.200.226 0 65002 65003 i
 * 209.65.200.0 209.65.200.226 0 0 65002 ?
 *> 0.0.0.0 0 32768 ?
 *> 209.65.201.1/32 209.65.200.226 0 0 65002 ?
 *> 209.65.203.0 209.65.200.226 0 0 65002 ?

confusing why my EGP got “i” sign as iBGP on my BGP table.
the origin must tune to support “e” sign

From Neighbor call Router Host “WEB”.

Config Route-map :

WEB#sh route-map
 route-map BGP-E, permit, sequence 10
 Match clauses:
 Set clauses:
 origin egp 65003
 Policy routing matches: 0 packets, 0 bytes

Insert route-map to manipulate Origin for it’s neighbor

WEB#sh run | s router bgp
 router bgp 65002
 no synchronization
 bgp log-neighbor-changes
 network 209.65.200.0
 network 209.65.201.1 mask 255.255.255.255
 network 209.65.203.0
 neighbor 209.65.200.225 remote-as 65001
 neighbor 209.65.200.225 route-map BGP-E out
 neighbor 209.65.203.226 remote-as 65003
 no auto-summary

Back to R1

R1#sh ip bgp
 BGP table version is 18, local router ID is 209.65.200.225
 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
 r RIB-failure, S Stale
 Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
 *> 10.1.1.0/30 0.0.0.0 0 32768 ?
 *> 202.167.111.0 209.65.200.226 0 65002 65003 e
 * 209.65.200.0 209.65.200.226 0 0 65002 e
 *> 0.0.0.0 0 32768 ?
 *> 209.65.201.1/32 209.65.200.226 0 0 65002 e
 *> 209.65.203.0 209.65.200.226 0 0 65002 e

I got ” e “ as my EBGP it’s what I want, I learned that BGP are Cool Protocols but nothing without tunning.

Older Posts »

Theme: Shocking Blue Green. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.