comandos de route map - redistribucion (como se hace).pdf

3
Comandos de Route map: Si quisiera que la red 100.40.40.0/24 del R1 vaya por arriba 200.40.40.0/24 del R9 Pasos: 1. R2(config)# access-list 110 permit ip 100.40.40.0 0.0.0.255 200.40.40.0 0.0.0.255 2. R2(config)#route-map arriba permit 3. R2(config-route-map)#match ip address 110 4. R2(config-route-map)#set ip next-hop 50.40.40.2 5. R2(config)#interface serial 1/0 6. R2(config-if)#ip policy route-map arriba Resultado: Se va por arriba Tracing the route to 210.40.40.10 1 10.40.40.2 64 msec 28 msec 20 msec 2 50.40.40.2 80 msec 16 msec 68 msec 3 60.40.40.2 76 msec 48 msec 68 msec 4 70.40.40.2 96 msec 76 msec 96 msec 5 80.40.40.2 96 msec 88 msec 102 msec REDISTRIBUCION RIP Router(config)#router rip .Redistribuir rutas de OSPF: Router(config-router)#redistribute ospf [ID] metric 2 (2) .Redistribuir rutas de EIGRP: Router(config-router)#redistribute eigrp [AS] metric 2 (2)

Upload: diego-jauregui-salvatierra

Post on 26-Sep-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

  • Comandos de Route map: Si quisiera que la red 100.40.40.0/24 del R1 vaya por arriba

    200.40.40.0/24 del R9

    Pasos:

    1. R2(config)# access-list 110 permit ip 100.40.40.0 0.0.0.255 200.40.40.0 0.0.0.255

    2. R2(config)#route-map arriba permit

    3. R2(config-route-map)#match ip address 110

    4. R2(config-route-map)#set ip next-hop 50.40.40.2

    5. R2(config)#interface serial 1/0

    6. R2(config-if)#ip policy route-map arriba

    Resultado: Se va por arriba

    Tracing the route to 210.40.40.10

    1 10.40.40.2 64 msec 28 msec 20 msec

    2 50.40.40.2 80 msec 16 msec 68 msec

    3 60.40.40.2 76 msec 48 msec 68 msec

    4 70.40.40.2 96 msec 76 msec 96 msec

    5 80.40.40.2 96 msec 88 msec 102 msec

    REDISTRIBUCION

    RIP

    Router(config)#router rip

    .Redistribuir rutas de OSPF:

    Router(config-router)#redistribute ospf [ID] metric 2 (2)

    .Redistribuir rutas de EIGRP:

    Router(config-router)#redistribute eigrp [AS] metric 2 (2)

  • EIGRP

    Router(config)#router EIGRP [AS]

    .Redistrubuir rutas de RIP:

    Router(config-router)#redistribute rip metric 10000 10 255 1 1500

    .Redistribuir rutas de OSPF:

    Router(config-router)#redistribute ospf [ID] metric 10000 100 255 1 1500 (

    1)

    OSPF

    Router(config)#router OSPF [ID]

    .Redistrubuir rutas de EIGRP:

    Router(config-router)#redistribute eigrp [AS] subnets

    .Redistribuir rutas de RIP:

    Router(config-router)#redistribute rip subnets

    Redistribucin: (RIP-OSPF)

    Configuraciones de los extremos:

    R1(config)#router rip

    R1(config-router)#version 2

    R1(config-router)#network 192.168.10.0

    R1(config-router)#network 10.1.1.0

    R7(config)#router ospf 20

    R7(config-router)#network 20.1.1.0 0.0.0.255 area 0

    R7(config-router)#network 192.168.20.0 0.0.0.255 area 0

    Ahora el medio (LO MAS IMPORTANTE) para que vea los 2 protocolos

    R2(config)#router ospf 20

  • R2(config-router)#redistribute rip subnets

    R2(config-router)#network 20.1.1.0 0.0.0.255 area 0

    R2(config)#router rip

    R2(config-router)#version 2

    R2(config-router)#redistribute ospf 20 metric 15

    R2(config-router)#network 10.1.1.0

    R2(config-router)#no auto-summary

    Redistribucin: (OSPF-EIGRP)

    Configuraciones de los extremos:

    R8(config)#router ospf 10

    R8(config-router)#network 192.168.10.0 0.0.0.255 area 0

    R8(config-router)#network 10.1.1.0 0.0.0.255 area 0

    R4(config)#router eigrp 20

    R4(config-router)#network 20.1.1.0 0.0.0.255

    R4(config-router)#network 192.168.20.0 0.0.0.255

    Ahora el medio (LO MAS IMPORTANTE) para que vea los 2 protocolos

    R3(config)#router ospf 10

    R3(config-router)#redistribute eigrp 20 subnets metric-type 1

    R3(config-router)#network 10.1.1.0 0.0.0.255 area 0

    R3(config)#router eigrp 20

    R3(config-router)#redistribute ospf 10 metric 10000 100 255 1 500

    R3(config-router)#network 20.1.1.0 0.0.0.255