Configuring Policy-Based Routing - Cisco ME 3400G-2CS - Ethernet Access Switch Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400G-2CS - Ethernet Access Switch:
Table of Contents

Advertisement

Configuring Protocol-Independent Features
Beginning in privileged EXEC mode, follow these steps to control route redistribution. Note that the
keywords are the same as defined in the previous procedure.
Command
Step 1
configure terminal
Step 2
router {bgp | rip | ospf | eigrp}
Step 3
redistribute protocol [process-id] {level-1 | level-1-2 |
level-2} [metric metric-value] [metric-type type-value]
[match internal | external type-value] [tag tag-value]
[route-map map-tag] [weight weight] [subnets]
Step 4
default-metric number
Step 5
default-metric bandwidth delay reliability loading mtu
Step 6
end
Step 7
show route-map
Step 8
copy running-config startup-config
To disable redistribution, use the no form of the commands.
The metrics of one routing protocol do not necessarily translate into the metrics of another. In these
situations, an artificial metric is assigned to the redistributed route. Uncontrolled exchanging of routing
information between different routing protocols can create routing loops and seriously degrade network
operation.
If you have not defined a default redistribution metric that replaces metric conversion, some automatic
metric translations occur between routing protocols:

Configuring Policy-Based Routing

You can use policy-based routing (PBR) to configure a defined policy for traffic flows. By using PBR,
you can have more control over routing by reducing the reliance on routes derived from routing
protocols. PBR can specify and implement routing policies that allow or deny paths based on:
You can use PBR to provide equal-access and source-sensitive routing, routing based on interactive
versus batch traffic, or routing based on dedicated links. For example, you could transfer stock records
to a corporate office on a high-bandwidth, high-cost link for a short time while transmitting routine
application data such as e-mail over a low-bandwidth, low-cost link.
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
32-76
RIP can automatically redistribute static routes. It assigns static routes a metric of 1 (directly
connected).
Any protocol can redistribute other routing protocols if a default mode is in effect.
Identity of a particular end system
Application
Protocol
Chapter 32
Purpose
Enter global configuration mode.
Enter router configuration mode.
Redistribute routes from one routing protocol to
another routing protocol. If no route-maps are
specified, all routes are redistributed. If the keyword
route-map is specified with no map-tag, no routes are
distributed.
Cause the current routing protocol to use the same
metric value for all redistributed routes (BGP, RIP and
OSPF).
Cause the EIGRP routing protocol to use the same
metric value for all non-EIGRP redistributed routes.
Return to privileged EXEC mode.
Display all route maps configured or only the one
specified to verify configuration.
(Optional) Save your entries in the configuration file.
Configuring IP Unicast Routing
78-17058-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents