Selasa, 06 Desember 2011

Hari ke - 4: BGP Mindah Jalur - AS path


R3(config-router)#
R3(config-router)#nei 13.13.13.1 route
R3(config-router)#nei 13.13.13.1 route-map MED Out
R3(config-router)#route-ma
R3(config-router)#route-ma AS
R3(config-route-map)#set as-ap
R3(config-route-map)#set as-pa
R3(config-route-map)#set as-path prepend 23 23 23 23
R3(config-route-map)#do clear ip bgp *
R3(config-route-map)#

R1#ping 3.3.3.3 sou 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/48/76 ms
R1#trace 3.3.3.3 sou 1.1.1.1

Type escape sequence to abort.
Tracing the route to 3.3.3.3

  1 12.12.12.2 20 msec 56 msec 12 msec
  2 23.23.23.3 48 msec *  40 msec
R1#show ip bgp
BGP table version is 12, local router ID is 1.1.1.1
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
*> 1.1.1.1/32       0.0.0.0                  0         32768 i
*> 3.3.3.3/32       12.12.12.2                             0 23 i
*                   13.13.13.3             200             0 23 i
R1#

Tidak ada komentar:

Posting Komentar