viernes, 24 de mayo de 2013

BGP Local Preference



R2#sh run | sec bgp
router bgp 65000
 bgp log-neighbor-changes
 network 2.2.2.0 mask 255.255.255.0
 neighbor 1.1.1.1 remote-as 65000
 neighbor 1.1.1.1 update-source Loopback0
 neighbor 1.1.1.1 next-hop-self
 neighbor 3.3.3.3 remote-as 65000
 neighbor 3.3.3.3 update-source Loopback0
 neighbor 3.3.3.3 next-hop-self
 neighbor 6.6.6.6 remote-as 65001
 neighbor 6.6.6.6 ebgp-multihop 2
 neighbor 6.6.6.6 update-source Loopback0
 neighbor 6.6.6.6 route-map local3 in


R3#sh ip bgp
BGP table version is 61, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
              x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
     Network          Next Hop                Metric LocPrf Weight Path
 *>i 1.1.1.0/24       1.1.1.1                      0          100      0 i
 *>i 2.2.2.0/24       2.2.2.2                      0          100      0 i
 *>  3.3.3.0/24       0.0.0.0                      0         32768 i
 *>i 4.4.4.0/24       2.2.2.2            2809856        201      0 65001 i
 * i 5.5.5.0/24        2.2.2.2             2297856       100      0 65001 i
 *>i                        1.1.1.1             2297856       100      0 65001 i
 *>i 6.6.6.0/24       2.2.2.2                  0              100      0 65001 i
 *>  10.10.10.0/30    0.0.0.0                  0         32768 i
 *>  10.10.10.4/30    0.0.0.0                  0         32768 i
 *>  10.10.10.8/30    10.10.10.1             128         32768 i
 *>i 40.40.40.0/30    1.1.1.1                  0    100      0 65001 i
 *>i 40.40.40.4/30    2.2.2.2                  0    100      0 65001 i
R3#

No hay comentarios:

Publicar un comentario