Configure A Route Map For Route Tagging; Continue Clause - Dell Force10 S4810P Configuration Manual

High-density, 1ru 48-port 10gbe switch
Hide thumbs Also See for Force10 S4810P:
Table of Contents

Advertisement

Route maps add to that redistribution capability by allowing you to match specific routes and set or change
more attributes when redistributing those routes.
In the following example, the
only certain static routes into OSPF. According to the route map static ospf, only routes that have a
next hop of Gigabitethernet interface 0/0 and that have a metric of 255 will be redistributed into the OSPF
backbone area.
Note: When re-distributing routes using route-maps, the user must take care to create the
route-map defined in the redistribute command under the routing protocol. If no route-map is
created, then NO routes are redistributed.
router ospf 34
default-information originate metric-type 1
redistribute static metric 20 metric-type 2 tag 0 route-map staticospf
!
route-map staticospf permit 10
match interface
match metric
set level

Configure a route map for route tagging

One method for identifying routes from different routing protocols is to assign a tag to routes from that
protocol. As the route enters a different routing domain, it is tagged and that tag is passed along with the
route as it passes through different routing protocols. This tag can then be used when the route leaves a
routing domain to redistribute those routes again.
In the following example, the
mode to apply a tag of 34 to all internal OSPF routes that are redistributed into RIP.
!
router rip
redistribute ospf 34 metric 1 route-map torip
!
route-map torip permit 10
match route-type
set tag
!

Continue clause

Normally, when a match is found, set clauses are executed, and the packet is then forwarded; no more
route-map modules are processed. If the
module (or a specified module) is processed even after a match is found. The following example shows a
continue clause at the end of a route-map module. In this example, if a match is found in the route-map
"test" module 10, module 30 will be processed.
136
|
Access Control Lists (ACLs)
redistribute
GigabitEthernet 0/0
255
backbone
redistribute ospf
internal
34
command calls the route map static ospf to redistribute
command with a route map is used in the ROUTER RIP
command is configured at the end of a module, the next
continue

Advertisement

Table of Contents
loading

Table of Contents