Saturday, April 18, 2015

Step 10 - path are external ( 13 step selection route BGP)

10- The paths are external ( chỉ xét đối với eBGP)
        => Prefer with a path was received first.
Note:
- DON'T Modify => Paths learn by eBGP, will always break at Step 10 ( cannot go to step 10,11,12)
- Modify => go to step 11 (command : " bgp bestpath compare-router-id" => when using ? )
Note:
- Using command : " clear ip bgp * soft" when you configure " bgp bestpath... "
- If RouterID is same => go to step 12 or 13


R2#show run | se router bgp
router bgp 2
 neighbor 10.1.12.1 remote-as 1
 neighbor 10.1.23.3 remote-as 3
 no auto-summary

R2#show ip bgp
BGP table version is 6, local router ID is 2.2.2.2
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
*> 8.8.8.0/24       10.1.12.1                0             0 1 i
*                             10.1.23.3                0             0 3 i
Nhận xét: R2 học mạng 8.8.8.0/24 qua R1 vì nhận được update từ R1 sớm hơn R3.
Xét từng bước:
  1. Weight: bằng nhau 0
  1. Local prefer: bằng nhau 100
  1. Perfer the path was locally..: bằng nhau
  2. AS-path: bằng nhau
  3. Origin type : bằng nhau
  4. Med: bằng nhau
  5. Prefer eBGP over iBGP: cùng eBGP
  6. Prefer with lowes IGP metric to BGP next-hop : bằng nhau
  1. Không xét ở đây.

  1. The path are external: BREAK

No comments:

Post a Comment