PG1X WIKI

My Knowledge Base

User Tools

Site Tools


tech:network:cisco:routing:route-map:route-map

This is an old revision of the document!


Cisco: route-map

My Learning topics result may not be accurate because of my misunderstanding!!!!

I STRONGLY RECOMMENDED to read the Official Documents(cisco.com a.k.a. CCO) and RFCs, any other books, sites.

And learn foundation, create lab yourself, configure, and verify any topics.

TODO

  1. lab 1 route-map redistribute: essential
  2. lab 1 filter by ACL redistribute:
  3. lab 2 complex route-map redistribute lab 2
  4. lab 3 route-map distribute-list: OSPF inbound filtering with route tag
  5. lab 4 route-map distribute-list: EIGRP with route tag
  6. lab 5 route-map distribute-list: EIGRP with route tag

Topology route-map redistribute lab 638a2c73-65de-42bd-a227-45db1ac87e53

Lab Specification

  1. Environment: CML-P 2.0
  2. Route Redistribution
  3. IGP: EIGRP, OSPF

Base Configuration

Common Configuration Snippet

R1

R2

R3

Lab1 Configuring route-map redistribute 4883eb2e-6155-41d2-a97d-c52ef3c47516

  • R2
configure terminal
!
access-list 1 deny 10.0.4.0 0.0.3.255
access-list 1 permit any
!
route-map R-EIGRP->OSPF permit 10
 match ip address 1
!
router eigrp 1
 ! redistribute from ospf to eigrp
 redistribute ospf 1
router ospf 1
 redistribute eigrp 1 subnets route-map R-EIGRP->OSPF
!
end

following distribute-list gets same route filtering result.

  • R2
configure terminal
!
access-list 1 deny 10.0.4.0 0.0.3.255
access-list 1 permit any
!
router eigrp 1
 ! redistribute from ospf to eigrp
 redistribute ospf 1
router ospf 1
 redistribute eigrp 1 subnets
 distribute-list 1 out eigrp 1
!
end

R1 Console Log

R2 Console Log

R3 Console Log

Lab2 Configuring route-map redistribute 2 3e4760cb-d198-456f-9387-42587c12ca95

Requirements

  1. 10.0.3.0/24 OSPF Metric Type 1 (E1)
  2. 10.0.5.0/24 OSPF Metric 100
  3. Rest of routes default redistribution.

Configuration

  • R2
configure terminal
!
ip prefix-list PRE_METRIC_TYPE permit 10.0.3.0/24
ip prefix-list PRE_METRIC permit 10.0.5.0/24
!
route-map RMAP_EIGRP_TO_OSPF permit 10
 match ip address prefix-list PRE_METRIC_TYPE
 set metric-type type-1
route-map RMAP_EIGRP_TO_OSPF permit 20
 match ip address prefix-list PRE_METRIC
 set metric 100
route-map RMAP_EIGRP_TO_OSPF permit 30
!
router eigrp 1
 ! redistribute from ospf to eigrp
 redistribute ospf 1
router ospf 1
 redistribute eigrp 1 subnets route-map RMAP_EIGRP_TO_OSPF
!
end

Verification

Topology route-map distribute-list route tag lab 4667c313-09ff-4150-a705-e283d90d93f0

Lab Specification

  1. Environment: CML-P 2.0
  2. route-map, Route Redistribution, distribute-list
  3. Routing Protocol
    1. EIGRP
    2. OSPF
  4. 5 routers

Base Configuration

Common Configuration Snippet

R1

R2

R3

R4

R5

References

tech/network/cisco/routing/route-map/route-map.1595471072.txt.gz · Last modified: 2020/07/23 11:24 by wnoguchi